[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Trying to use a custom face for highlighting tags used in agenda
Re: [O] Trying to use a custom face for highlighting tags used in agenda filtering
Sat, 29 Oct 2011 13:25:19 +0200
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)
"Sebastien Vauban" <address@hidden> writes:
> Please find a (very useful ;-)) patch for highlighting (in the mode-line) the
> tags which are used to filter the agenda.
I've updated the patch using org-propertize instead of propertize
and using a better default for the face :)
> I'd like even to be able to put in one color the "positive" tags and in
> another the "negative" ones, but that's above my current knowledge of
Maybe you can start by replacing the 'identity function in the
(mapconcat ...) by some (lambda (f) (if ...)) to check whether
each tag filter starts with a + or a -. Just an idea.
> Anyway, here is a usable first version -- where all tags are in the same
> color, much more easily to spot (before you wonder why you have so few lines
> in your agenda!).
Yes, it might be useful to some people -- thanks for this!