[PATCH 5/6] cli: add global option "--db-revision"

2015-08-07 Thread David Bremner
Daniel Schoepe writes: > On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: >> +``--db-revision=UUID`` >> + Enforce that the database revision is UUID. This is useful to >> + detect rollover in modification counts on messages. You can >> + find this UUID in the first

[PATCH 2/6] lib: Add per-message last modification tracking

2015-08-07 Thread David Bremner
Daniel Schoepe writes: > On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: >> +/* Prior to NOTMUCH_FEATURE_LAST_MOD, messages did not >> + * track modification revisions. Give all messages a >> + * revision of 1. >> + */ >> +if (new_features &

[PATCH 6/6] lib: Add "lastmod:" queries for filtering by last modification

2015-08-07 Thread David Bremner
Daniel Schoepe writes: > > It might be helpful to describe why --db-revision is needed here. At > first glance, just using `notmuch search lastmod:UUID..' looks good > enough to get all changed messages since UUID. Indeed, it's not entirely > clear to me under what conditions just using this

[PATCH] NEWS: emacs: notmuch-{cli,emacs}-version usage

2015-08-07 Thread David Bremner
Tomi Ollila writes: > News for notmuch-emacs-version usage in User-Agent header and > rename of function notmuch-version to notmuch-cli-version. > > While at it, made some minor (consistency) punctuation changes > to make news to wiki conversion work as expected. pushed. d

[PATCH] test: make script exit (1) if it "fails" to source (.) a file

2015-08-07 Thread David Bremner
Tomi Ollila writes: > At the end of all source (.) lines construct ' || exit 1' was added; pushed, d

[Bug] Force creating of Mail/sent on sending?

2015-08-07 Thread David Bremner
Bastien writes: > Hi all, > > I installed notmuch yesterday, when I heard David's talk at the GNU > hackers meeting -- great tool! Thanks for the work. > > My configuration is here: http://bzg.fr/emacs.html (browse down to the > notmuch section, click on it.) > > If I require 'notmuch, then

[PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local

2015-08-07 Thread David Bremner
David Bremner writes: > > Oops, missed that part. Pushed both with edited commit messages. And a whitespace cleanup patch. d

[PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local

2015-08-07 Thread David Bremner
Tomi Ollila writes: > capitalization could be consistent in the commit message. > > One thing come to my mind: would it be possible to use buffer-local > variable message-fcc-handler-function in notmuch-message-mode buffers so > that such wrapper functions defined below would not be needed. i.e.

[PATCH 6/6] lib: Add "lastmod:" queries for filtering by last modification

2015-08-07 Thread Daniel Schoepe
On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: > +The **lastmod:** prefix can be used to restrict the result by the > +database revision number of when messages were last modified (tags > +were added/removed or filenames changed). This is usually used in > +conjunction with the

[PATCH 5/6] cli: add global option "--db-revision"

2015-08-07 Thread Daniel Schoepe
On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: > +``--db-revision=UUID`` > + Enforce that the database revision is UUID. This is useful to > + detect rollover in modification counts on messages. You can > + find this UUID in the first column of output from > +

[PATCH 2/6] lib: Add per-message last modification tracking

2015-08-07 Thread Daniel Schoepe
Hi, On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: > + /* Prior to NOTMUCH_FEATURE_LAST_MOD, messages did not > + * track modification revisions. Give all messages a > + * revision of 1. > + */ > + if (new_features & NOTMUCH_FEATURE_LAST_MOD) > +

[PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local

2015-08-07 Thread Tomi Ollila
On Thu, Aug 06 2015, David Bremner wrote: > Tomi Ollila writes: > >> >> One thing come to my mind: would it be possible to use buffer-local >> variable message-fcc-handler-function in notmuch-message-mode buffers so >> that such wrapper functions defined below would not be needed. i.e. >> >>

Re: [PATCH 2/6] lib: Add per-message last modification tracking

2015-08-07 Thread David Bremner
Daniel Schoepe dan...@schoepe.org writes: On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: +/* Prior to NOTMUCH_FEATURE_LAST_MOD, messages did not + * track modification revisions. Give all messages a + * revision of 1. + */ +if (new_features

Re: [PATCH 5/6] cli: add global option --db-revision

2015-08-07 Thread David Bremner
Daniel Schoepe dan...@schoepe.org writes: On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: +``--db-revision=UUID`` + Enforce that the database revision is UUID. This is useful to + detect rollover in modification counts on messages. You can + find this UUID in the

Re: [PATCH 5/6] cli: add global option --db-revision

2015-08-07 Thread Daniel Schoepe
On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: +``--db-revision=UUID`` + Enforce that the database revision is UUID. This is useful to + detect rollover in modification counts on messages. You can + find this UUID in the first column of output from +

Re: [PATCH 6/6] lib: Add lastmod: queries for filtering by last modification

2015-08-07 Thread Daniel Schoepe
On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: +The **lastmod:** prefix can be used to restrict the result by the +database revision number of when messages were last modified (tags +were added/removed or filenames changed). This is usually used in +conjunction with the

Re: [PATCH 2/6] lib: Add per-message last modification tracking

2015-08-07 Thread Daniel Schoepe
Hi, On Fri, 05 Jun 2015 19:28 +0200, David Bremner wrote: + /* Prior to NOTMUCH_FEATURE_LAST_MOD, messages did not + * track modification revisions. Give all messages a + * revision of 1. + */ + if (new_features NOTMUCH_FEATURE_LAST_MOD) +

Re: [PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local

2015-08-07 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: capitalization could be consistent in the commit message. One thing come to my mind: would it be possible to use buffer-local variable message-fcc-handler-function in notmuch-message-mode buffers so that such wrapper functions defined below would not be

Re: [PATCH] NEWS: emacs: notmuch-{cli,emacs}-version usage

2015-08-07 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: News for notmuch-emacs-version usage in User-Agent header and rename of function notmuch-version to notmuch-cli-version. While at it, made some minor (consistency) punctuation changes to make news to wiki conversion work as expected. pushed. d

Re: [PATCH 6/6] lib: Add lastmod: queries for filtering by last modification

2015-08-07 Thread David Bremner
Daniel Schoepe dan...@schoepe.org writes: It might be helpful to describe why --db-revision is needed here. At first glance, just using `notmuch search lastmod:UUID..' looks good enough to get all changed messages since UUID. Indeed, it's not entirely clear to me under what conditions just

Re: [PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local

2015-08-07 Thread David Bremner
David Bremner da...@tethera.net writes: Oops, missed that part. Pushed both with edited commit messages. And a whitespace cleanup patch. d ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [Bug] Force creating of Mail/sent on sending?

2015-08-07 Thread David Bremner
Bastien b...@altern.org writes: Hi all, I installed notmuch yesterday, when I heard David's talk at the GNU hackers meeting -- great tool! Thanks for the work. My configuration is here: http://bzg.fr/emacs.html (browse down to the notmuch section, click on it.) If I require 'notmuch,

Re: [PATCH] test: make script exit (1) if it fails to source (.) a file

2015-08-07 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: At the end of all source (.) lines construct ' || exit 1' was added; pushed, d ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH] fixup! lib: Add per-message last modification tracking

2015-08-07 Thread David Bremner
--- Now that I take a second look at the code, I think Austin's original commit is correct, if a bit terse. Here is how I have expanded it in the revised series. lib/database.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/database.cc b/lib/database.cc index