]>
granicus.if.org Git - neomutt/log
Josh Poimboeuf [Tue, 29 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix nm_query_type=messages + query type=threads
If the default query type is 'messages', and the specific query type is
'threads', make sure the query type is actually 'threads'.
Philippe Le Brouster [Sun, 13 Oct 2013 18:34:57 +0000 (11:34 -0700)]
update the header colors after modifying tags
The header color depends on tags. The message header color must be
updated after modifying message tags.
Karel Zak [Sun, 6 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix DB transaction balancing
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Oct 2013 18:34:57 +0000 (11:34 -0700)]
call notmuch_query_count_messages() more carefully
- it seems that notmuch is sensitive when notmuch_query_count_messages()
is called, let's call it when we really need the number for progress bar
- initialize mutt progress bar when we really want to use it
References: https://github.com/karelzak/mutt-kz/issues/57
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Oct 2013 18:34:57 +0000 (11:34 -0700)]
use exclude tags for entrie-thread too
Signed-off-by: Karel Zak <kzak@redhat.com>
Kirill A. Shutemov [Sat, 12 Oct 2013 18:34:57 +0000 (11:34 -0700)]
get <entire-thread> work from pager context
I found annoying that we cant unfold whole thread from pager.
Implementation is pretty straight-forward.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Kirill A. Shutemov [Fri, 11 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix getting count of new messages for non-trivial query
Currtly, we ask for count of new messages by appending tag:unread (or
whatever NotmuchUnreadTag has) to db query. It works if your query is
very simple: no 'OR', 'NOT', etc.
If you will ask new messages for query like
"to:foo@example.com or to:bar@example.net"
mutt will query db for count of
"to:foo@example.com or to:bar@example.net tag:unread"
and notmuch will understand it as
"to:foo@example.com or (to:bar@example.net tag:unread)"
which, obviously, is not what you wanted.
Optimizations like
if (strstr(db_query, NotmuchUnreadTag))
*new = all ? *all : count_query(db, db_query);
doesn't work for the same reason.
Let's fix all this by construct query with proper parenthesis:
"(to:foo@example.com or to:bar@example.net) tag:unread"
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Kirill A. Shutemov [Fri, 11 Oct 2013 18:34:57 +0000 (11:34 -0700)]
apply NotmuchExcludeTags to count queries
We have support of tag excluding, but it doesn't cover count queries.
Let's fix this.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Kirill A. Shutemov [Thu, 10 Oct 2013 18:34:57 +0000 (11:34 -0700)]
make %N optional for notmuch browser format
It will allow to have vfolder_format option like this:
set vfolder_format="%?N?*& ?%20f %6N %10n"
This format will mark all vfolders with new messages with '*':
inbox 0 0
* linux/mm 2 183
linux/mm/commits 0 39
...
Without the patch all vforlders will be marked.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Richard Russon [Thu, 25 Feb 2016 15:25:32 +0000 (15:25 +0000)]
docs: add UPDATING.kz
Karel Zak [Sun, 6 Oct 2013 18:34:57 +0000 (11:34 -0700)]
docs: update README.notmuch
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 5 Oct 2013 18:34:57 +0000 (11:34 -0700)]
search by vfolder name in browser
Reported-by: Vladimir Marek <Vladimir.Marek@oracle.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 4 Oct 2013 18:34:57 +0000 (11:34 -0700)]
don't close opened message after <modify-label>
Addresses: https://github.com/karelzak/mutt-kz/issues/48
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 4 Oct 2013 18:34:57 +0000 (11:34 -0700)]
<change-vfolder> default to the next unread folder
It means that for example:
macro index R <change-vfolder><enter>
will for as expected.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 4 Oct 2013 18:34:57 +0000 (11:34 -0700)]
extend <change-vfolder> to accept folder name/uri
Suvayu Ali <fatkasuvayu+linux@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Oct 2013 18:34:57 +0000 (11:34 -0700)]
update DB on save-command
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Oct 2013 18:34:57 +0000 (11:34 -0700)]
add CH_VIRTUAL to allow to specify when use virtual headers
For example don't add "Tags:" header to the message when copy the
message to another folder. The virtual headers make sense only when
we display the message to user.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 13 Oct 2013 18:34:57 +0000 (11:34 -0700)]
improve entire-thread
- don't support mutt tags, always work with the current message only
- support collapsed threads
- add "No more messages in the thread" message
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 13 Oct 2013 18:34:57 +0000 (11:34 -0700)]
add entire-thread command, cleanup progress bar code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Oct 2013 18:34:57 +0000 (11:34 -0700)]
always use notmuch message ID
It's better to use notmuch message Id than rely on Id from parsed
message, because notmuch ensures that Id exists and it generates
a fake Id for broken messages without the Id.
Reported-by: Michael Zeltner <m@niij.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Oct 2013 18:34:57 +0000 (11:34 -0700)]
fix buffer overflow, improve tag_list usage
Karel Zak [Tue, 22 Oct 2013 18:34:57 +0000 (11:34 -0700)]
add nm_exclude_tags
Based on patch from: Raghavendra D Prabhu <rprabhu@wnohang.net>
This makes use of notmuch_query_add_tag_exclude in notmuch API, to
exclude messages tagged with tags from nm_exclude_tags from query
results by default unless specified explicitly.
Signed-off-by: Raghavendra D Prabhu <rprabhu@wnohang.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 5 Oct 2013 18:34:57 +0000 (11:34 -0700)]
clean up tags related code, improve %G
- clean up code
- allows to use %G (and transform-tags) for unhidden tags too
Signed-off-by: Karel Zak <kzak@redhat.com>
Eric Davis [Wed, 23 Oct 2013 18:34:57 +0000 (11:34 -0700)]
added some documentation
Eric Davis [Thu, 17 Oct 2013 20:18:43 +0000 (13:18 -0700)]
port the old index-color mutt patch to mutt-kz
added support for individual tag coloring added "Tags:" header output in
pager showing all tags added documentation for index object highlighting
Karel Zak [Mon, 17 Sep 2012 07:31:54 +0000 (09:31 +0200)]
fix corrupt viewing of messages
The mutt records offset of email body when parse email header.
Unfortunately when we check notmuch DB changes when we don't ask for
email path in the same way. So it's possible that for emails that are
stored in multiple folders (you sent the same email with the same ID
to multiple mailing lists) we get a different path, then notmuch mutt
code updates the path, but no the offset... result is corrupted body.
Signed-off-by: Karel Zak <kzak@redhat.com>
Eric Davis [Sat, 1 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add support for text transforms of tag names
tag names visible with '%g' in the index and pager formats
Karel Zak [Mon, 17 Sep 2012 07:31:54 +0000 (09:31 +0200)]
sidebar: extend sidebar sort methods, add sort_sidebar=
sort_sidebar=(desc|path|count|new|unsorted)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 23 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add $record support
Signed-off-by: Karel Zak <kzak@redhat.com>
David Sterba [Sat, 8 Sep 2012 07:31:54 +0000 (09:31 +0200)]
hide signed and encrypted tags by default
Mutt shows signed/encrypted status in another way and occupies only 1
char in index line. Hide the tags by default and leave more space for
other tags.
Signed-off-by: David Sterba <dsterba@suse.cz>
Karel Zak [Sun, 23 Sep 2012 07:31:54 +0000 (09:31 +0200)]
reuse connection in complete_all_nm_tags()
Signed-off-by: Karel Zak <kzak@redhat.com>
Tim Stoakes [Sat, 22 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Fix trivial documentation typoes
Various trivial typographical errors in notmuch-specific code, are now fixed.
Tim Stoakes [Sat, 22 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Add TAB completion of tag names in <modify-labels>*
<modify-labels> and <modify-labels-then-hide> can now use TAB completion of tag
names supplied after + and -.
Tim Stoakes [Sat, 22 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Add TAB completion of tag: names in <vfolder-from-query>
<vfolder-from-query>'s 'Query' prompt can now use TAB completion of tag names
supplied to the 'tag:' parameter.
Tim Stoakes [Sat, 22 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Add nm_get_all_tags()
Add nm_get_all_tags(), a mechanism to return a list of all notmuch tags in the
database.
Tim Stoakes [Sat, 22 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Plug a leaked notmuch DB handle in get_count()
nm_nonctx_get_count() was leaking its notmuch database handle if NOTMUCH_API_3
was in use. Looks like it missed the same treatment that the other call sites
got to do this.
Tim Stoakes [Sat, 15 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Add 'label' pattern modifier '~Y'
Add the new '~Y' pattern modifier. Use it in e.g. 'limit' and 'color' commands
to match a regexp against notmuch message labels.
Tim Stoakes [Sun, 16 Sep 2012 07:31:54 +0000 (09:31 +0200)]
Fix auto_tag=yes for modify-labels* and quasi-delete
When 'auto_tag' was 'yes', <modify-labels>* and <quasi-delete> still only
applied to the currently-selected message. Now they apply to all tagged
messages, as they should.
Karel Zak [Sat, 15 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add %g examples
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 Sep 2012 07:31:54 +0000 (09:31 +0200)]
count messages for mutt progress bar
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 2 Sep 2012 07:31:54 +0000 (09:31 +0200)]
docs: add link to notmuch mutttips
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add notmuch_{query,message}_destroy to DB checker
Reported-by: Chris Mason <chris.mason@fusionio.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 7 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add nm_query_type config file option
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 21 Sep 2012 07:31:54 +0000 (09:31 +0200)]
add note about nm_db_limit to README
Signed-off-by: Karel Zak <kzak@redhat.com>
Christoph Rissner [Sun, 16 Sep 2012 07:31:54 +0000 (09:31 +0200)]
mutt_nm_db_limit option defines a default limit
David Sterba [Sat, 1 Sep 2012 07:31:54 +0000 (09:31 +0200)]
print read progress of a query
Signed-off-by: David Sterba <dsterba@suse.cz>
David Sterba [Sat, 1 Sep 2012 07:31:54 +0000 (09:31 +0200)]
format: support optional modifier for g (notmuch labels)
Used in index_format like this %?g?(%g)? will show nothing if there are
no notmuch labels, eg. in mixed mail setups.
Signed-off-by: David Sterba <dsterba@suse.cz>
Karel Zak [Mon, 17 Sep 2012 07:31:54 +0000 (09:31 +0200)]
sync flags for all duplicate messages
Signed-off-by: Karel Zak <kzak@redhat.com>
patrick brisbin [Wed, 5 Sep 2012 11:27:23 +0000 (13:27 +0200)]
use the Maildir if NotmuchDefaultUri is unset
[kzak@redhat.com: - cleanup code, add note to README.notmuch]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 27 Jun 2012 11:14:37 +0000 (13:14 +0200)]
use notmuch_status_t for DB open
Signed-off-by: Karel Zak <kzak@redhat.com>
David Riebenbauer [Tue, 26 Jun 2012 18:48:48 +0000 (20:48 +0200)]
use the new notmuch api if available
As of notmuch 0.13 libnotmuch's api has changed. This makes use of it if the
new api was detected.
Karel Zak [Mon, 25 Jun 2012 14:18:51 +0000 (16:18 +0200)]
fix nm_check_database to count new messages correctly
.. otherwise mx_update_context() might ends with SIGSEGV
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 15 Jun 2012 13:11:45 +0000 (15:11 +0200)]
allow to read whole-threads
This patch allows to specify type of query for notmuch DB, supported
are "threads" and "messages", the default is "messages". For example:
notmuch://?type=threads&query=tag:inbox"
will read all matching threads.
Based on prototype from Chris Mason <chris.mason@fusionio.com>.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 9 May 2012 07:44:13 +0000 (09:44 +0200)]
don't rename in DB before mx commit
Signed-off-by: Karel Zak <kzak@redhat.com>
Víctor Manuel Jáquez Leal [Mon, 23 Apr 2012 00:15:56 +0000 (02:15 +0200)]
add NOTMUCH in show_version()
Karel Zak [Thu, 19 Apr 2012 09:35:33 +0000 (11:35 +0200)]
make filename changes more robust
* use code from 'notmuch new' for add/remove messages
* use the last added filename for duplicate emails
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 19 Apr 2012 08:22:53 +0000 (10:22 +0200)]
fix new->cur maildir move
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 16 Apr 2012 10:34:14 +0000 (12:34 +0200)]
fix prefixes in README
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 16 Apr 2012 10:33:11 +0000 (12:33 +0200)]
add nm_open_timeout
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 16 Apr 2012 07:30:43 +0000 (09:30 +0200)]
don't use uninitialized HEADER in nm_check_database()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 12 Apr 2012 16:36:45 +0000 (18:36 +0200)]
fix msg remove code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 12 Apr 2012 16:13:19 +0000 (18:13 +0200)]
fix sync
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 12 Apr 2012 15:58:44 +0000 (17:58 +0200)]
remove extra slashes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 12 Apr 2012 12:44:34 +0000 (14:44 +0200)]
search in new/cur subfolders if DB is not up-to-date
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 12 Apr 2012 10:54:59 +0000 (12:54 +0200)]
use context data if possible rather than directly context
This allows to use many functions outside the notmuch CONTEXT
with a dummy "struct nm_ctxdata".
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 12 Apr 2012 10:18:06 +0000 (12:18 +0200)]
explicitly require notmuch context
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 12 Apr 2012 09:02:28 +0000 (11:02 +0200)]
cleanup private notmuch structs initialization
Signed-off-by: Karel Zak <kzak@redhat.com>
Luke Macken [Tue, 10 Apr 2012 15:25:31 +0000 (11:25 -0400)]
fix a bug with processing mailboxes when they are all virtual.
This bug occurs when there are only virtual mailboxes defined. Prior to this
change, the sidebar descriptions of the virtual mailboxes would be displayed as
the notmuch query itself, as opposed to the user-defined description.
Karel Zak [Tue, 10 Apr 2012 09:07:08 +0000 (11:07 +0200)]
add note about notmuch version requirement
Signed-off-by: Karel Zak <kzak@redhat.com>
Jeremiah C. Foster [Sat, 7 Apr 2012 09:24:54 +0000 (12:24 +0300)]
Grammar and typo fixes.
David Sterba [Mon, 2 Apr 2012 21:28:18 +0000 (23:28 +0200)]
build-sys: fix compilation without --enable-notmuch
We can still leave mutt-kz compilable entirely without notmuch, just for the
case there are users out there not interested in notmuch enhancements, but I
seriously doubt that :)
Here's the patch which compiles fine without --enable-notmuch
[kzak@redhat.com: - fix s/Incomming/Incoming/ typo]
Signed-off-by: Karel Zak <kzak@redhat.com>
Jan Synacek [Thu, 29 Mar 2012 08:59:23 +0000 (10:59 +0200)]
fix segfault when exiting with 'x' key
Karel Zak [Wed, 14 Mar 2012 14:31:30 +0000 (15:31 +0100)]
docs: add note about sidebar to notmuch docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Mar 2012 14:19:43 +0000 (15:19 +0100)]
add support for virtual folders, add sidebar-toggle command
* add support for virtual folders
* add sidebar-toggle function to toggle between virtual and normal
folders in sudebar
* virtual folders are used by default if 'virtual_spoolfile' is 'yes'
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Feb 2012 14:41:29 +0000 (15:41 +0100)]
add ML to README
Signed-off-by: Karel Zak <kzak@redhat.com>
Víctor Manuel Jáquez Leal [Sun, 26 Feb 2012 14:41:29 +0000 (15:41 +0100)]
fix compilation error at get_nm_message()
The shown error is:
mutt_notmuch.c: In function ‘get_nm_message’:
mutt_notmuch.c:643:2: error: too few arguments to function ‘notmuch_database_find_message’
/usr/include/notmuch.h:371:1: note: declared here
make[2]: *** [mutt_notmuch.o] Error 1
The mutt-ks is made for notmuch version 0.8, but in version 0.9 the API
changed, in particular with this commit:
http://git.notmuchmail.org/git/notmuch/commitdiff/
02a30767116ad8abcbd0a3351f2e4d43bbbd655f
This patch updates the function notmuch_database_find_message() usage.
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Karel Zak [Tue, 3 Jan 2012 11:36:44 +0000 (12:36 +0100)]
improve nm_unread_tag setting
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Jan 2012 11:31:42 +0000 (12:31 +0100)]
improve virtual_mailboxes command, update docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Jan 2012 10:51:15 +0000 (11:51 +0100)]
update README
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Jan 2012 10:29:21 +0000 (11:29 +0100)]
add debug messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 2 Jan 2012 11:34:32 +0000 (12:34 +0100)]
support default db uri
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 23 Dec 2011 15:39:11 +0000 (16:39 +0100)]
implement nm_check_database()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sat, 17 Dec 2011 00:10:12 +0000 (01:10 +0100)]
small refactoring
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 22:51:53 +0000 (23:51 +0100)]
add virtual spoolfile
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 22:21:55 +0000 (23:21 +0100)]
properly update context numbers
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 21:58:35 +0000 (22:58 +0100)]
print vfolder description on status bar
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 20:59:54 +0000 (21:59 +0100)]
add <modify-labels-then-hide>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 16:58:18 +0000 (17:58 +0100)]
header: add HEADER->free_cb() to free driver specific data
The mutt_free_header() need to care about driver specific data.
BTW, it seems that there is a leak in imap code -- it does not free
HEADER->data->keywords list.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 16:57:37 +0000 (17:57 +0100)]
update README
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 16:02:06 +0000 (17:02 +0100)]
fix CONTEXT->data->db usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 00:20:26 +0000 (01:20 +0100)]
update README.notmuch
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Dec 2011 00:14:03 +0000 (01:14 +0100)]
add modify-label
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 15:48:40 +0000 (16:48 +0100)]
change-vfolder, print folder info, etc.
- allow to open email in virtual folder
- allow to open virtual folder
- print vfolder specific stuff in index and pager
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 15:43:07 +0000 (16:43 +0100)]
add support to browser
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 15:37:19 +0000 (16:37 +0100)]
add notmuch calls to mx_* API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 15:34:26 +0000 (16:34 +0100)]
don't modify virtual folders' paths
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 15:30:43 +0000 (16:30 +0100)]
add basic functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 13:46:42 +0000 (14:46 +0100)]
add basic .muttrc variables
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 13:26:45 +0000 (14:26 +0100)]
add context magic
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Dec 2011 13:07:58 +0000 (14:07 +0100)]
consolidate msg sync code
- add mh_sync_mailbox_message() to sync just one message
- add msg->commited_path to save info about the final message path
(will be used keep notmuch DB up to date)
Signed-off-by: Karel Zak <kzak@redhat.com>