[Top][All Lists]
[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
From: |
Bastien |
Subject: |
Re: [O] Trying to use a custom face for highlighting tags used in agenda filtering |
Date: |
Sat, 29 Oct 2011 13:25:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Hi Sébastien,
"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.
Applied thanks.
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
> text-properties...
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!
--
Bastien