Notmuch Auto-Completion. More...
#include "config.h"#include <stdbool.h>#include <stdio.h>#include <string.h>#include "mutt/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "lib.h"#include "complete/lib.h"#include "editor/lib.h"#include "index/lib.h"
Include dependency graph for complete.c:Go to the source code of this file.
Functions | |
| int | complete_all_nm_tags (struct CompletionData *cd, const char *pt) |
| Pass a list of Notmuch tags to the completion code. | |
| bool | mutt_nm_query_complete (struct CompletionData *cd, struct Buffer *buf, int numtabs) |
| Complete to the nearest notmuch tag. | |
| bool | mutt_nm_tag_complete (struct CompletionData *cd, struct Buffer *buf, int numtabs) |
| Complete to the nearest notmuch tag. | |
| enum FunctionRetval | complete_nm_query (struct EnterWindowData *wdata, int op) |
| Complete a Notmuch Query - Implements CompleteOps::complete() -. | |
| enum FunctionRetval | complete_nm_tag (struct EnterWindowData *wdata, int op) |
| Complete a Notmuch Tag - Implements CompleteOps::complete() -. | |
Variables | |
| const struct CompleteOps | CompleteNmQueryOps |
| Auto-Completion of NmQuerys. | |
| const struct CompleteOps | CompleteNmTagOps |
| Auto-Completion of NmTags. | |
Notmuch Auto-Completion.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file complete.c.
| int complete_all_nm_tags | ( | struct CompletionData * | cd, |
| const char * | pt ) |
Pass a list of Notmuch tags to the completion code.
| cd | Completion Data |
| pt | List of all Notmuch tags |
| 0 | Success |
| -1 | Error |
Definition at line 48 of file complete.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool mutt_nm_query_complete | ( | struct CompletionData * | cd, |
| struct Buffer * | buf, | ||
| int | numtabs ) |
Complete to the nearest notmuch tag.
| cd | Completion Data |
| buf | Buffer for the result |
| numtabs | Number of times the user has hit 'tab' |
| true | Success, a match |
| false | Error, no match |
Complete the last "tag:"-prefixed string.
Definition at line 101 of file complete.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool mutt_nm_tag_complete | ( | struct CompletionData * | cd, |
| struct Buffer * | buf, | ||
| int | numtabs ) |
Complete to the nearest notmuch tag.
| cd | Completion Data |
| buf | Buffer for the result |
| numtabs | Number of times the user has hit 'tab' |
| true | Success, a match |
| false | Error, no match |
Complete the nearest "+" or "-" -prefixed string previous to pos.
Definition at line 161 of file complete.c.
Here is the call graph for this function:
Here is the caller graph for this function:| const struct CompleteOps CompleteNmQueryOps |
Auto-Completion of NmQuerys.
Definition at line 247 of file complete.c.
| const struct CompleteOps CompleteNmTagOps |
Auto-Completion of NmTags.
Definition at line 254 of file complete.c.