Many color per line in notuch emacs mode

kedals0 at gmail.com kedals0 at gmail.com
Wed Nov 28 00:41:55 PST 2012


Hi,

Thx for your respond.

To precise my saying, I would like to color a field in terms of tags
associated to its message, as it's done for notmuch-search-color-line.

I'm not sure to really understand configuration of these options, but I
think it's not possible.

Could you confirm me it ?

Thx
Dal.

Jameson Graef Rollins <jrollins at finestructure.net> writes:

> On Sun, Nov 25 2012, kedals0 at gmail.com wrote:
>> I can set color per line using notmuch-search-line-faces. But I would
>> like to specify color per line field, i.e a color for date, another for
>> authors for exemple.
>>
>> To do this, I would like to use a 3-tuple list for
>> notmuch-search-line-faces:
>> :type '(alist :key-type (string) :field (string) :value-type
>> (custom-face-edit))
>>
>> The problem is function notmuch-search-color-line take a non structured
>> line in args. Then it is needed to parse it to find out field.
>>
>> Do you think it would be possible to add a mecanism which permit to
>> color a field during line building ?
>
> Hi, Dal.  There are already configuration variables to color all the
> individual fields in the search result.  See the following face
> configuration variables:
>
> notmuch-search-date
> notmuch-search-count
> notmuch-search-subject
> notmuch-search-matching-authors
> notmuch-search-non-matching-authors
>
> The best way to configure this stuff is with the emacs configuration
> interface: M-x customize-group notmuch-search
>
> jamie.


More information about the notmuch mailing list