revision tracking patches round 4

2015-08-15 Thread David Bremner
Tomi Ollila writes: > > Looked a bit to xapian documentation... it seems in case of compacting > one should do the following: > > 1) see that current database uuid is the one expected (which is stored > somewhere) > 2) compact database > 3) read new uuid and store it to "somewhere" right, I

[PATCH] lib: add support for date:..! to mean date:..

2015-08-15 Thread Jani Nikula
It doesn't seem likely we can support simple date: expanding to date:.. any time soon. (This can be done with a future version of Xapian, or with a custom query query parser.) In the mean time, provide shorthand date:..! to mean the same. This is useful, as the expansion takes place before

[PATCH 3/5] cli/count: add --lastmod

2015-08-15 Thread David Bremner
Daniel Schoepe writes: > Sorry to keep harping on this, but I'm not entirely happy with the way > we handle notmuch-compact here (and in the other commit that mentions > compacting explicitly). Given that lastmod values (and pretty much > everything else) aren't affected by compacting, would it

[PATCH v4 5/5] notmuch-emacs-mua: do not create a frame by default with --client

2015-08-15 Thread Jani Nikula
Make the default behaviour for --client the same as emacsclient default: do not create a new frame. Add a new option --create-frame, passing the same option to emacsclient to create a frame. --- v2: fix killing frame with --create-frame v3: fix --create-frame w/o --client parameter check v4:

[PATCH v4 4/5] notmuch-emacs-mua: add --auto-daemon option to start Emacs daemon as needed

2015-08-15 Thread Jani Nikula
Automatically starting Emacs in daemon mode if the Emacs server is not running is a matter of preference better not hard coded in notmuch-emacs-mua. Add an option to control the behaviour. --- doc/man1/notmuch-emacs-mua.rst | 9 +++-- notmuch-emacs-mua | 8 ++-- 2 files

[PATCH v4 3/5] notmuch-emacs-mua: move --client option handling around

2015-08-15 Thread Jani Nikula
Move --client handling to a more suitable location. No functional changes. --- notmuch-emacs-mua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notmuch-emacs-mua b/notmuch-emacs-mua index e33aa955d6b5..1f088c42feb9 100755 --- a/notmuch-emacs-mua +++ b/notmuch-emacs-mua

[PATCH v4 2/5] notmuch-emacs-mua: support --no-window-system also for non-client

2015-08-15 Thread Jani Nikula
Clearly --no-window-system should be applicable without --client as well. Prepare for future changes with the naming of the variables. --- notmuch-emacs-mua | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/notmuch-emacs-mua b/notmuch-emacs-mua index

[PATCH v4 1/5] man: clean up notmuch-emacs-mua man page

2015-08-15 Thread Jani Nikula
Move --client description to a more suitable location, stylistic changes. --- doc/man1/notmuch-emacs-mua.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/man1/notmuch-emacs-mua.rst b/doc/man1/notmuch-emacs-mua.rst index 36b51cdc3b18..7c2f5c24f1c0 100644 ---

[PATCH v4 0/5] notmuch-emacs-mua updates

2015-08-15 Thread Jani Nikula
The main goal is to not force --create-frame on users who dislike it. Split to some hopefully less controversial prep patches. BR, Jani. Jani Nikula (5): man: clean up notmuch-emacs-mua man page notmuch-emacs-mua: support --no-window-system also for non-client notmuch-emacs-mua: move

revision tracking patches round 4

2015-08-15 Thread Tomi Ollila
On Fri, Aug 14 2015, David Bremner wrote: > This obsoletes > > id:1439112285-6681-1-git-send-email-david at tethera.net > > The main differences since that series are in the command line syntax > for notmuch-count. > > We also now consider passing --uuid to notmuch-compact an error, since >

[PATCH 3/5] cli/count: add --lastmod

2015-08-15 Thread Daniel Schoepe
On Fri, 14 Aug 2015 18:47 +0200, David Bremner wrote: > +``--lastmod`` > + Append lastmod (counter for number of database updates) and UUID > + to the output. lastmod values are only comparable between databases > + with the same UUID. Sorry to keep harping on this, but I'm not

Announcing Astroid v0.4

2015-08-15 Thread Gaute Hope
Greetings, Astroid (https://github.com/gauteh/astroid) v0.4 is now ready! Astroid is a graphical threads-with-tags mail user agent for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be found at: https://github.com/gauteh/astroid : $ git clone

[PATCH] emacs: tree bugfix

2015-08-15 Thread Mark Walters
Formerly replying to an encrypted message in tree-view did not work. This is a first attempt to make it work. --- notmuch-mua-reply decides whether to process crypto based on the buffer-local variable notmuch-show-process-crypto. This sets to its default value (which is

[PATCH] emacs: tree bugfix

2015-08-15 Thread Mark Walters
Formerly replying to an encrypted message in tree-view did not work. This is a first attempt to make it work. --- notmuch-mua-reply decides whether to process crypto based on the buffer-local variable notmuch-show-process-crypto. This sets to its default value (which is

Re: [PATCH 3/5] cli/count: add --lastmod

2015-08-15 Thread Daniel Schoepe
On Fri, 14 Aug 2015 18:47 +0200, David Bremner wrote: +``--lastmod`` + Append lastmod (counter for number of database updates) and UUID + to the output. lastmod values are only comparable between databases + with the same UUID. Sorry to keep harping on this, but I'm not

[PATCH v4 4/5] notmuch-emacs-mua: add --auto-daemon option to start Emacs daemon as needed

2015-08-15 Thread Jani Nikula
Automatically starting Emacs in daemon mode if the Emacs server is not running is a matter of preference better not hard coded in notmuch-emacs-mua. Add an option to control the behaviour. --- doc/man1/notmuch-emacs-mua.rst | 9 +++-- notmuch-emacs-mua | 8 ++-- 2 files

[PATCH v4 5/5] notmuch-emacs-mua: do not create a frame by default with --client

2015-08-15 Thread Jani Nikula
Make the default behaviour for --client the same as emacsclient default: do not create a new frame. Add a new option --create-frame, passing the same option to emacsclient to create a frame. --- v2: fix killing frame with --create-frame v3: fix --create-frame w/o --client parameter check v4:

[PATCH v4 3/5] notmuch-emacs-mua: move --client option handling around

2015-08-15 Thread Jani Nikula
Move --client handling to a more suitable location. No functional changes. --- notmuch-emacs-mua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notmuch-emacs-mua b/notmuch-emacs-mua index e33aa955d6b5..1f088c42feb9 100755 --- a/notmuch-emacs-mua +++ b/notmuch-emacs-mua

[PATCH v4 1/5] man: clean up notmuch-emacs-mua man page

2015-08-15 Thread Jani Nikula
Move --client description to a more suitable location, stylistic changes. --- doc/man1/notmuch-emacs-mua.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/man1/notmuch-emacs-mua.rst b/doc/man1/notmuch-emacs-mua.rst index 36b51cdc3b18..7c2f5c24f1c0 100644 ---

[PATCH v4 2/5] notmuch-emacs-mua: support --no-window-system also for non-client

2015-08-15 Thread Jani Nikula
Clearly --no-window-system should be applicable without --client as well. Prepare for future changes with the naming of the variables. --- notmuch-emacs-mua | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/notmuch-emacs-mua b/notmuch-emacs-mua index

Announcing Astroid v0.4

2015-08-15 Thread Gaute Hope
Greetings, Astroid (https://github.com/gauteh/astroid) v0.4 is now ready! Astroid is a graphical threads-with-tags mail user agent for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be found at: https://github.com/gauteh/astroid : $ git clone

[PATCH v4 0/5] notmuch-emacs-mua updates

2015-08-15 Thread Jani Nikula
The main goal is to not force --create-frame on users who dislike it. Split to some hopefully less controversial prep patches. BR, Jani. Jani Nikula (5): man: clean up notmuch-emacs-mua man page notmuch-emacs-mua: support --no-window-system also for non-client notmuch-emacs-mua: move

Re: revision tracking patches round 4

2015-08-15 Thread Tomi Ollila
On Fri, Aug 14 2015, David Bremner da...@tethera.net wrote: This obsoletes id:1439112285-6681-1-git-send-email-da...@tethera.net The main differences since that series are in the command line syntax for notmuch-count. We also now consider passing --uuid to notmuch-compact an error,

Re: [PATCH 3/5] cli/count: add --lastmod

2015-08-15 Thread David Bremner
Daniel Schoepe dan...@schoepe.org writes: Sorry to keep harping on this, but I'm not entirely happy with the way we handle notmuch-compact here (and in the other commit that mentions compacting explicitly). Given that lastmod values (and pretty much everything else) aren't affected by

[PATCH] lib: add support for date:expr..! to mean date:expr..expr

2015-08-15 Thread Jani Nikula
It doesn't seem likely we can support simple date:expr expanding to date:expr..expr any time soon. (This can be done with a future version of Xapian, or with a custom query query parser.) In the mean time, provide shorthand date:expr..! to mean the same. This is useful, as the expansion takes

Re: revision tracking patches round 4

2015-08-15 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: Looked a bit to xapian documentation... it seems in case of compacting one should do the following: 1) see that current database uuid is the one expected (which is stored somewhere) 2) compact database 3) read new uuid and store it to somewhere