type=<threads|messages>
- Reads all matching messages or whole-threads. The defauls is 'messages'
+ Reads all matching messages or whole-threads. The default is 'messages'
or nm_query_type.
macro index I "<modify-labels-then-hide>-inbox\n<sync-mailbox>"
quasi-delete:
- - delete message from mutt (usualy after <sync-mailbox> function), but
+ - delete message from mutt (usually after <sync-mailbox> function), but
don't touch message on disk
* Pattern modifiers:
* (it's implemented in get_ctxdata() and init_context() functions).
*
* - exception are nm_nonctx_* functions -- these functions use nm_default_uri
- * (or parse URI from another resourse)
+ * (or parse URI from another resource)
*/
#if HAVE_CONFIG_H
# include "config.h"
#include "mutt_notmuch.h"
#include "mutt_curses.h"
-/* read whole-thread or maching messages only? */
+/* read whole-thread or matching messages only? */
enum {
NM_QUERY_TYPE_MESGS = 0, /* default */
NM_QUERY_TYPE_THREADS
if (data && get_db(data, writable)) {
data->longrun = TRUE;
- dprint(2, (debugfile, "nm: long run initialied\n"));
+ dprint(2, (debugfile, "nm: long run initialized\n"));
}
}
struct nm_ctxdata *data = get_ctxdata(ctx);
if (data && release_db(data) == 0)
- dprint(2, (debugfile, "nm: long run deinitialied\n"));
+ dprint(2, (debugfile, "nm: long run deinitialized\n"));
}
static int is_longrun(struct nm_ctxdata *data)
goto err;
notmuch_query_set_sort(q, NOTMUCH_SORT_NEWEST_FIRST);
- dprint(2, (debugfile, "nm: query succesfully initialized\n"));
+ dprint(2, (debugfile, "nm: query successfully initialized\n"));
return q;
err:
if (!is_longrun(data))
}
/*
- * set/update HEADE->path and HEADER->data->path
+ * set/update HEADER->path and HEADER->data->path
*/
static int update_message_path(HEADER *h, const char *path)
{
return -1;
/*
- * note that unlink() is probably unecessary here, it's already removed
+ * note that unlink() is probably unnecessary here, it's already removed
* by mh_sync_mailbox_message(), but for sure...
*/
st = notmuch_database_remove_message(db, path);