Re: [PATCH] emacs: Try to name search buffers using info in notmuch-folders

2010-04-21 Thread Carl Worth
On Sun, 18 Apr 2010 23:55:50 -0400, Servilio Afre Puentes servi...@gmail.com 
wrote:
 As the user has already defined aliases for certain searches in
 notmuch-folders, search buffer names that use these aliases will
 be easier to identify.

A lovely feature, thanks!

I've pushed this out now (along with a tiny follow-up to avoid a warning
From the emacs compiler).

It does occur to me that once we have saved searches supported at a
lower level within notmuch, then this functionality won't be needed in
the emacs interface at all, (since the nice name and the search strings
will then be equivalent).

And this patch even makes a proposal for what the saved-search syntax
could be. It uses [ inbox ] for a saved search named inbox. I
believe that sup is already using {inbox} for a similar
feature. Perhaps a bracketed style like that is what we want.

-Carl


pgp6zh4thxcd6.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH] emacs: Try to name search buffers using info in notmuch-folders

2010-04-21 Thread Servilio Afre Puentes
On 21 April 2010 20:10, Carl Worth cwo...@cworth.org wrote:
 On Sun, 18 Apr 2010 23:55:50 -0400, Servilio Afre Puentes 
 servi...@gmail.com wrote:
 As the user has already defined aliases for certain searches in
 notmuch-folders, search buffer names that use these aliases will
 be easier to identify.

 A lovely feature, thanks!

My pleasure! Thanks to you for notmuch!

 I've pushed this out now (along with a tiny follow-up to avoid a warning
 From the emacs compiler).

Great, I noticed that when building, but as everything worked fine
afterwards, I decided to wait to get some feedback on the list. But
you were faster!

 It does occur to me that once we have saved searches supported at a
 lower level within notmuch, then this functionality won't be needed in
 the emacs interface at all, (since the nice name and the search strings
 will then be equivalent).

Yep.

 And this patch even makes a proposal for what the saved-search syntax
 could be. It uses [ inbox ] for a saved search named inbox. I
 believe that sup is already using {inbox} for a similar
 feature. Perhaps a bracketed style like that is what we want.

For me it was the easier thing to read, I suppose that this can be
made to be customizable so the user can set it up to be whatever is
easier to read.

Servilio
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch