[PATCH] emacs: Mention race condition safety in user visible documentation

2012-02-18 Thread Michal Sojka
After recent rework of a/A/x/X key bindings, the important paragraph in documentation of `notmuch-show-archive-thread' stayed hidden from users, because no key is bound to this function. This patch copies the important paragraph to the documentation of functions currently bound to keys. --- emacs

Re: [PATCH] emacs: Mention race condition safety in user visible documentation

2012-02-18 Thread Michal Sojka
On Sun, 19 Feb 2012, Jani Nikula wrote: > On Feb 19, 2012 12:44 AM, "Michal Sojka" wrote: > > > > After recent rework of a/A/x/X key bindings, the important paragraph in > > documentation of `notmuch-show-archive-thread' stayed hidden from users, > > because no key is bound to this function. > > >

[PATCH] emacs-hello: Do not calculate the count of the messages in hidden sections

2012-02-18 Thread Michal Sojka
The result is that hello screen shows much faster when some sections are hidden. --- emacs/notmuch-hello.el | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index aad373d..e9caade 100644 --- a/emacs/notmuc

[PATCH v10 0/2] emacs: User-defined sections in notmuch-hello

2012-02-18 Thread Michal Sojka
On Fri, 17 Feb 2012, Dmitry Kurochkin wrote: > Found a small bug... > > Changes: > > v10: > > * explicitly return nil from `notmuch-hello-insert-recent-searches', > otherwise `indent-rigidly' returns a marker pointing to non-existing > buffer and breaks final-target-pos handling in `notmuch-

Re: [PATCH] emacs: Mention race condition safety in user visible documentation

2012-02-18 Thread Jani Nikula
On Feb 19, 2012 12:44 AM, "Michal Sojka" wrote: > > After recent rework of a/A/x/X key bindings, the important paragraph in > documentation of `notmuch-show-archive-thread' stayed hidden from users, > because no key is bound to this function. > > This patch copies the important paragraph to the do

[PATCH 3/3] News for retaining state when refreshing notmuch show

2012-02-18 Thread Austin Clements
--- NEWS |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index e9abb86..75fa2f4 100644 --- a/NEWS +++ b/NEWS @@ -63,6 +63,11 @@ More flexible and consistent tagging operations (notmuch-show-tag-message "-unread") +Refreshing the show view ('=' by d

[PATCH 2/3] emacs: Reverse the meaning of notmuch-show-refresh-view's argument

2012-02-18 Thread Austin Clements
Consensus seems to be that people prefer that refreshing show buffers retains state by default, rather than resetting it by default. This turns out to be the case in the code, as well. In fact, there's even a test for this that's been marked broken for several months, which this patch finally get

[PATCH 1/3] emacs: Fix out-of-date declare-function

2012-02-18 Thread Austin Clements
The names of the arguments to notmuch-show-refresh-view had gotten out of sync between the declare-function and the real thing. --- emacs/notmuch-crypto.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el index c7ef1eb..972

[PATCH 0/3] Make notmuch-show-refresh-view retain state by default

2012-02-18 Thread Austin Clements
Based on the thread at id:"20120213152858.go27...@mit.edu" it seems like people want show refresh to retain message state by default (I certainly do), rather than reset it by default. As a nice bonus, this fixes a broken test. ___ notmuch mailing list n

[PATCH] Prevent segmentation fault in notmuch_database_close

2012-02-18 Thread Austin Clements
Quoth Justus Winter on Feb 19 at 12:56 am: > Previously opening a notmuch database in read write mode that has been > locked resulted in the notmuch_database_open function executing > notmuch_database_close as a cleanup function. notmuch_database_close > failed to check whether the xapian database

search by date range

2012-02-18 Thread Austin Clements
Quoth Jameson Graef Rollins on Feb 18 at 4:40 pm: > On Thu, 16 Feb 2012 21:39:04 +0200, Jani Nikula wrote: > > Finally, I've been working on adding support for a decent date range > > search. It still needs some polish and tests, but seeing the demand, > > perhaps I should just post the patches a

Re: [PATCH] Prevent segmentation fault in notmuch_database_close

2012-02-18 Thread Austin Clements
Quoth Justus Winter on Feb 19 at 12:56 am: > Previously opening a notmuch database in read write mode that has been > locked resulted in the notmuch_database_open function executing > notmuch_database_close as a cleanup function. notmuch_database_close > failed to check whether the xapian database

Re: search by date range

2012-02-18 Thread Austin Clements
Quoth Jameson Graef Rollins on Feb 18 at 4:40 pm: > On Thu, 16 Feb 2012 21:39:04 +0200, Jani Nikula wrote: > > Finally, I've been working on adding support for a decent date range > > search. It still needs some polish and tests, but seeing the demand, > > perhaps I should just post the patches a

Re: search by date range

2012-02-18 Thread Jameson Graef Rollins
On Thu, 16 Feb 2012 21:39:04 +0200, Jani Nikula wrote: > Finally, I've been working on adding support for a decent date range > search. It still needs some polish and tests, but seeing the demand, > perhaps I should just post the patches and see what happens. A while back Austin also worked on a

search by date range

2012-02-18 Thread Jameson Graef Rollins
as scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120218/cd5cbdd8/attachment.pgp>

[PATCH] Prevent segmentation fault in notmuch_database_close

2012-02-18 Thread Justus Winter
Previously opening a notmuch database in read write mode that has been locked resulted in the notmuch_database_open function executing notmuch_database_close as a cleanup function. notmuch_database_close failed to check whether the xapian database has in fact been created. Add a check whether the

Prevent segmentation fault in notmuch_database_close

2012-02-18 Thread Justus Winter
I've seen some segmentation faults lately again and rechecked the python bindings and while I actually found and fixed some error handling issues I overlooked last time, I think I also found a bug in notmuch_database_close. The problem can easily be reproduced with the following program: ~~~ snip

[PATCH] emacs: Mention race condition safety in user visible documentation

2012-02-18 Thread Michal Sojka
After recent rework of a/A/x/X key bindings, the important paragraph in documentation of `notmuch-show-archive-thread' stayed hidden from users, because no key is bound to this function. This patch copies the important paragraph to the documentation of functions currently bound to keys. --- emacs

[PATCH] emacs-hello: Do not calculate the count of the messages in hidden sections

2012-02-18 Thread Michal Sojka
The result is that hello screen shows much faster when some sections are hidden. --- emacs/notmuch-hello.el | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index aad373d..e9caade 100644 --- a/emacs/notmuc

Re: [PATCH v10 0/2] emacs: User-defined sections in notmuch-hello

2012-02-18 Thread Michal Sojka
On Fri, 17 Feb 2012, Dmitry Kurochkin wrote: > Found a small bug... > > Changes: > > v10: > > * explicitly return nil from `notmuch-hello-insert-recent-searches', > otherwise `indent-rigidly' returns a marker pointing to non-existing > buffer and breaks final-target-pos handling in `notmuch-

nomuch_addresses.py

2012-02-18 Thread Tomi Ollila
On Fri, 17 Feb 2012 22:04:12 -0500, Philippe LeCavalier wrote: > On Fri, 17 Feb 2012 22:46:49 +0200, Tomi Ollila wrote: > > On Fri, 17 Feb 2012 21:33:41 +0100, Sebastian Spaeth > SSpaeth.de> wrote: > > > On Fri, 17 Feb 2012 20:58:50 +0200, Tomi Ollila > > > wrote: > > > > Thank you for promoti