[PATCH] test: Add a test script for "notmuch tag"

2011-11-07 Thread Austin Clements
--- This is, in principle, unrelated to the notmuch tag optimization I just sent out, though it does test some things that would be weird (though valid) to test if it weren't for that optimization. test/notmuch-test |1 + test/tagging | 41 + 2 f

[PATCH] tag: Automatically limit to messages whose tags will actually change.

2011-11-07 Thread Austin Clements
This optimizes the user's tagging query to exclude messages that won't be affected by the tagging operation, saving computation and IO for redundant tagging operations. For example, notmuch tag +notmuch to:notmuch at notmuchmail.org will now use the query ( to:notmuch at notmuchmail.org ) and

[PATCH v2 4/7] test: `notmuch-show-advance-and-archive' with invisible signature

2011-11-07 Thread David Bremner
On Sun, 06 Nov 2011 13:02:36 +0400, Dmitry Kurochkin wrote: > > I pushed the first 4 patches in the series. The 5th gave me conflicts > > (because it lingered so long no doubt) which I have not had a chance to > > track down. > Thanks. Following is a rebased series of the remaining 4 patches. I

Re: [PATCH] tag: Automatically limit to messages whose tags will actually change.

2011-11-07 Thread Dmitry Kurochkin
Hi Austin. On Mon, 7 Nov 2011 22:55:23 -0500, Austin Clements wrote: > This optimizes the user's tagging query to exclude messages that won't > be affected by the tagging operation, saving computation and IO for > redundant tagging operations. > > For example, > notmuch tag +notmuch to:notmuc

[PATCH] test: Add a test script for "notmuch tag"

2011-11-07 Thread Austin Clements
--- This is, in principle, unrelated to the notmuch tag optimization I just sent out, though it does test some things that would be weird (though valid) to test if it weren't for that optimization. test/notmuch-test |1 + test/tagging | 41 + 2 f

[PATCH] tag: Automatically limit to messages whose tags will actually change.

2011-11-07 Thread Austin Clements
This optimizes the user's tagging query to exclude messages that won't be affected by the tagging operation, saving computation and IO for redundant tagging operations. For example, notmuch tag +notmuch to:notmuch@notmuchmail.org will now use the query ( to:notmuch@notmuchmail.org ) and (not t

Re: [PATCH v2 4/7] test: `notmuch-show-advance-and-archive' with invisible signature

2011-11-07 Thread David Bremner
On Sun, 06 Nov 2011 13:02:36 +0400, Dmitry Kurochkin wrote: > > I pushed the first 4 patches in the series. The 5th gave me conflicts > > (because it lingered so long no doubt) which I have not had a chance to > > track down. > Thanks. Following is a rebased series of the remaining 4 patches.

[PATCH] contrib/nmbug: new script for sharing tags with a given prefix.

2011-11-07 Thread Tomi Ollila
On Sun, 6 Nov 2011 20:59:46 -0400, David Bremner wrote: > From: David Bremner > > The main idea is consider the notmuch database as analogous to the > work-tree. A bare git repo is maintained in the users home directory, > with a tree of the form tags/$message-id/$tag > > Like notmuch and git,

Re: [PATCH] contrib/nmbug: new script for sharing tags with a given prefix.

2011-11-07 Thread Tomi Ollila
On Sun, 6 Nov 2011 20:59:46 -0400, David Bremner wrote: > From: David Bremner > > The main idea is consider the notmuch database as analogous to the > work-tree. A bare git repo is maintained in the users home directory, > with a tree of the form tags/$message-id/$tag > > Like notmuch and git,

[PATCH 0/3] notmuch-deliver: wait for database to become unlocked and test

2011-11-07 Thread Ali Polatel
ilman/listinfo/notmuch -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/2007/4a0fc988/attachment.pgp>

[PATCH] Store "from" and "subject" headers in the database.

2011-11-07 Thread Jani Nikula
On Sun, 6 Nov 2011 17:01:14 -0500, Austin Clements wrote: > On Sun, Nov 6, 2011 at 4:07 PM, Jani Nikula wrote: > > On Sun, ?6 Nov 2011 12:17:36 -0500, Austin Clements > > wrote: > >> Taking full advantage of this requires a database rebuild, but it will > >> fall back to the old behavior for me