[PATCH v3 1/2] emacs: User-defined sections in notmuch-hello

2011-07-08 Thread Michal Sojka
On Thu, 07 Jul 2011, Daniel Schoepe wrote: Non-text part: multipart/signed > On Thu, 07 Jul 2011 17:23:13 +0200, Michal Sojka > wrote: > > This wouldn't work for me. My all-tags section covers almost entire > > screen and finding non-zero entries there is not very convenient. I find > > much more

[python] missing notmuch_database_needs_upgrade

2011-07-08 Thread Sebastian Spaeth
er 3545a29] Sebastian -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110708/b9813d1f/attachment.pgp>

Re: [PATCH v4 1/2] emacs: User-defined sections in notmuch-hello

2011-07-08 Thread Michal Sojka
On Fri, 08 Jul 2011, Daniel Schoepe wrote: Non-text part: multipart/signed > On Sat, 09 Jul 2011 01:00:03 +0200, Michal Sojka wrote: > > Yes, this is definitely a good idea. My last comment to the patch is > > that I do not like the use of plists in customization interface. It is > > especially we

[PATCH v2 3/3] emacs: Test for thread-outlining

2011-07-08 Thread Daniel Schoepe
--- test/emacs |7 +++ .../notmuch-show-thread-outline|7 +++ 2 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 test/emacs.expected-output/notmuch-show-thread-outline diff --git a/test/emacs b/test/ema

[PATCH v2 2/3] emacs: Add thread-outline functionality

2011-07-08 Thread Daniel Schoepe
This patch adds some functionality to display the outline for threads displayed by notmuch-show. The entries in the outline buffer are links to the corresponding message in the notmuch-show buffer. --- emacs/notmuch-lib.el | 12 +++ emacs/notmuch-show.el | 195

[PATCH v2 1/3] emacs: Document notmuch-show-get-message-properties

2011-07-08 Thread Daniel Schoepe
--- emacs/notmuch-show.el |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index f96743b..262addb 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -999,6 +999,12 @@ All currently available key bindings:

[PATCH v2 0/3] emacs: Document notmuch-show-get-message-properties

2011-07-08 Thread Daniel Schoepe
This version fixes the issues mentioned by Austin and highlights the currently displayed message in the outline buffer. My previous issues with 'point-entered and 'point-left were caused by linum-mode, so don't enable it for notmuch-show buffers. I haven't had time yet to implement a more sophist

Re: [PATCH v4 1/2] emacs: User-defined sections in notmuch-hello

2011-07-08 Thread Daniel Schoepe
On Sat, 09 Jul 2011 01:00:03 +0200, Michal Sojka wrote: > Yes, this is definitely a good idea. My last comment to the patch is > that I do not like the use of plists in customization interface. It is > especially weird in the case of boolean options like hide-if-empty, > because they actually have

Re: [PATCH v4 1/2] emacs: User-defined sections in notmuch-hello

2011-07-08 Thread Michal Sojka
On Fri, 08 Jul 2011, Daniel Schoepe wrote: > This has been done in v4 of the patch, for which I screwed up the > In-Reply-To header and hence is listed as a separate thread: > > id:"1310079227-19120-1-git-send-email-daniel.scho...@googlemail.com" Oh, you always send new versions faster than I can

Re: [PATCH v3 1/2] emacs: User-defined sections in notmuch-hello

2011-07-08 Thread Daniel Schoepe
On Fri, 08 Jul 2011 23:23:40 +0200, Michal Sojka wrote: > OK. I changed my mind. I thought that the approach with 'notmuch > search-tags QEURY' followed by 'notmuch count tag:XXX and QUERY' for > returned tags would be faster then 'notmuch search-tags' followed by > 'notmuch count tag:XXX and QUER

Re: [PATCH v3 1/2] emacs: User-defined sections in notmuch-hello

2011-07-08 Thread Michal Sojka
On Thu, 07 Jul 2011, Daniel Schoepe wrote: Non-text part: multipart/signed > On Thu, 07 Jul 2011 17:23:13 +0200, Michal Sojka wrote: > > This wouldn't work for me. My all-tags section covers almost entire > > screen and finding non-zero entries there is not very convenient. I find > > much more us

[PATCH v6 00/17] Fix 'notmuch new' atomicity issues

2011-07-08 Thread Austin Clements
Rebased against current master and now atomic-new-v7 on http://awakening.csail.mit.edu/git/notmuch.git There were a handful of conflicts, but nothing substantive. On Wed, Jun 22, 2011 at 3:39 PM, Austin Clements wrote: > Ping. > > On Sat, Jun 11, 2011 at 4:04 PM, Austin Clements wrote: >> Here

Re: [python] missing notmuch_database_needs_upgrade

2011-07-08 Thread Sebastian Spaeth
On Mon, 4 Jul 2011 21:39:26 +0100, Patrick Totzke wrote: > Hiya, > As mentioned shortly on the irc channel, > notmuch python bindings seem to be missing 'notmuch_database_needs_upgrade' > as Database().needs_upgrade() confirms. Thanks, confirmed. Applied and fixed in [master 3545a29] Sebastian

[PATCH v2 3/3] emacs: Test for thread-outlining

2011-07-08 Thread Daniel Schoepe
--- test/emacs |7 +++ .../notmuch-show-thread-outline|7 +++ 2 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 test/emacs.expected-output/notmuch-show-thread-outline diff --git a/test/emacs b/test/ema

[PATCH v2 2/3] emacs: Add thread-outline functionality

2011-07-08 Thread Daniel Schoepe
This patch adds some functionality to display the outline for threads displayed by notmuch-show. The entries in the outline buffer are links to the corresponding message in the notmuch-show buffer. --- emacs/notmuch-lib.el | 12 +++ emacs/notmuch-show.el | 195

[PATCH v2 1/3] emacs: Document notmuch-show-get-message-properties

2011-07-08 Thread Daniel Schoepe
--- emacs/notmuch-show.el |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index f96743b..262addb 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -999,6 +999,12 @@ All currently available key bindings:

[PATCH v2 0/3] emacs: Document notmuch-show-get-message-properties

2011-07-08 Thread Daniel Schoepe
This version fixes the issues mentioned by Austin and highlights the currently displayed message in the outline buffer. My previous issues with 'point-entered and 'point-left were caused by linum-mode, so don't enable it for notmuch-show buffers. I haven't had time yet to implement a more sophist

Re: [PATCH v6 00/17] Fix 'notmuch new' atomicity issues

2011-07-08 Thread Austin Clements
Rebased against current master and now atomic-new-v7 on http://awakening.csail.mit.edu/git/notmuch.git There were a handful of conflicts, but nothing substantive. On Wed, Jun 22, 2011 at 3:39 PM, Austin Clements wrote: > Ping. > > On Sat, Jun 11, 2011 at 4:04 PM, Austin Clements wrote: >> Here

Proposed patches for notmuch-vim

2011-07-08 Thread David Bremner
Can someone who uses the vim interface (Felipe?) have a look at the patches in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633009 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633045 And let us know if you think they are OK? Thanks, David

Proposed patches for notmuch-vim

2011-07-08 Thread David Bremner
Can someone who uses the vim interface (Felipe?) have a look at the patches in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633009 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633045 And let us know if you think they are OK? Thanks, David ___

[PATCH v4 2/2] emacs: Tests for user-defined sections

2011-07-08 Thread Daniel Schoepe
--- test/emacs | 37 test/emacs.expected-output/notmuch-hello |5 ++- .../notmuch-hello-new-section |4 ++ .../notmuch-hello-no-saved-searches|4 ++- .../notmuch-hello-section-

[PATCH v4 1/2] emacs: User-defined sections in notmuch-hello

2011-07-08 Thread Daniel Schoepe
This patch makes the notmuch-hello screen fully customizable by allowing the user to add and remove arbitrary sections. It also provides some convenience functions for constructing sections, e.g. showing the unread message count for each tag. This is done by specifying a list of functions that wil

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

2011-07-08 Thread Daniel Schoepe
Fourth time's the charm. Some more improvements by Michal Sojka, thanks. A few more opinions about whether or not to leave in the different filters for queries and counts, would also be very much appreciated.