On Fri 02 Sep 2011 15:28, Jani Nikula <[email protected]> writes: > Display saved searches sorted, like tags are displayed. > > This only affects the display of the saved searches, not the order in which > they are stored in .emacs. > > Signed-off-by: Jani Nikula <[email protected]> > ---
Fun! I reveresed the sorting order so I got 'unread' first ;). Well, I prefer to sort the value of the (customizable) variable 'notmuch-saved-searches' myself (unless there is another variable which also provides 'saved searches' into notmuch-hello buffer)... Tomi > emacs/notmuch-hello.el | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el > index 65fde75..13758e5 100644 > --- a/emacs/notmuch-hello.el > +++ b/emacs/notmuch-hello.el > @@ -440,6 +440,9 @@ Complete list of currently available key bindings: > (widest (max saved-widest alltags-widest))) > > (when saved-alist > + ;; Sort saved searches. > + (setq saved-alist > + (sort saved-alist (lambda (a b) (string< (car a) (car b))))) > (widget-insert "\nSaved searches: ") > (widget-create 'push-button > :notify (lambda (&rest ignore) > -- > 1.7.1 _______________________________________________ notmuch mailing list [email protected] http://notmuchmail.org/mailman/listinfo/notmuch
