emacs: Support for customizing search result display
authorDavid Edmondson <dme@dme.org>
Mon, 12 Apr 2010 07:51:30 +0000 (08:51 +0100)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Apr 2010 20:37:14 +0000 (13:37 -0700)
commit8cee113819ffa678bbc4b0fa7a0040779a067682
treed221cc71922d8d478518d9b20f0ff147223e9368
parent6157fe0bfdf822a15e9bfa8fa363eba70419a022
emacs: Support for customizing search result display

This patch helps in customizing search result display similar to
mutt's index_format. The customization is done by defining an alist as
below:

(setq notmuch-search-result-format '(("date" . "%s ")
     ("authors" . "%-40s ")
     ("subject" . "%s ")))

The supported keywords are date, count, authors, subject and tags.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Signed-off-by: David Edmondson <dme@dme.org>
emacs/notmuch.el