unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* precedence in `notmuch-search-line-faces'
@ 2014-05-02 11:14 David Edmondson
  2014-05-04  7:31 ` Mark Walters
  0 siblings, 1 reply; 9+ messages in thread
From: David Edmondson @ 2014-05-02 11:14 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

The documentation for `notmuch-search-line-faces' says:

> The attributes defined for matching tags are merged, with later
> attributes overriding earlier.

A comment in `notmuch-search-color-line', which implements this, says:

> ;; Reverse the list so earlier entries take precedence

Clearly these two are at odds. The implementation of
`notmuch-search-color-line' follows the comment. That is, earlier
entries in the list take precedence.

The original implementation of `notmuch-search-color-line' followed the
documentation of the user-visible variable, but this was changed by
commit 60ebc849 in July 2012.

I'm inclined to go with the documentation and change the implementation,
but this could obviously ruin things for some users until they reorder
their settings.

Thoughts?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 310 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-05-17 21:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-02 11:14 precedence in `notmuch-search-line-faces' David Edmondson
2014-05-04  7:31 ` Mark Walters
2014-05-06  9:40   ` David Edmondson
2014-05-06  9:42     ` [PATCH] emacs: Correct the documentation for `notmuch-search-line-faces' David Edmondson
2014-05-06 10:03     ` David Edmondson
2014-05-06 10:09       ` David Edmondson
2014-05-06 18:33       ` Tomi Ollila
2014-05-06 18:52         ` Mark Walters
2014-05-17 21:47       ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).