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

2011-07-09 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

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 sojk...@fel.cvut.cz 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

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 sojk...@fel.cvut.cz 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

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

2011-07-07 Thread Daniel Schoepe
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 useful to have a section saying: "Hey, you have unread > messages only for these

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

2011-07-07 Thread Michal Sojka
On Wed, 06 Jul 2011, Daniel Schoepe wrote: Non-text part: multipart/signed > On Wed, 06 Jul 2011 13:34:13 +0200, Michal Sojka > wrote: > > So my proposal is to forget about different queries for filters and > > counts and having here only the following options: filter, hide-tags and > >

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

2011-07-07 Thread Michal Sojka
On Wed, 06 Jul 2011, Daniel Schoepe wrote: Non-text part: multipart/signed On Wed, 06 Jul 2011 13:34:13 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: So my proposal is to forget about different queries for filters and counts and having here only the following options: filter, hide-tags and

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

2011-07-06 Thread Michal Sojka
Hi, this is definitely better than the first version I was using! Thanks. See other comments below. On Tue, 05 Jul 2011, Daniel Schoepe wrote: This patch makes the notmuch-hello screen fully customizable by allowing the user to add and remove arbitrary sections. It also provides some

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

2011-07-06 Thread Daniel Schoepe
On Wed, 06 Jul 2011 13:34:13 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: -(defcustom notmuch-hello-tag-list-make-query nil - Function or string to generate queries for the all tags list. I'm not sure it is a good thing to remove customizations that are included in a released version.

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

2011-07-05 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

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

2011-07-05 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