[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] specify different agenda item colors for different custom agenda
Re: [O] specify different agenda item colors for different custom agenda views
Wed, 03 Jan 2018 01:30:18 -0600
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Nicolas Goaziou <address@hidden> writes:
> Rainer Stengele <address@hidden> writes:
>> These posts which stay unanswered - either they are too stupid or too
> AFAIC, questions about the Agenda tend to belong to the second
>> Anybody an idea, a hint?
> It may help to know what you have tried so far. For example, how is your
> block configuration, including the settings part (see
> `org-agenda-custom-commands' docstring)?
> Note that it might not be possible to achieve what you want.
Probably the way to do it would be to wrap the agenda code which
operates on certain files, and let-bind the org-agenda-done face around
that code depending on which file it is. That would probably require
copying the function in question and overriding it with advice.
Certainly doable (on first glance, anyway), but not easy for someone
unfamiliar with elisp or the agenda code.
I would guess that a more general solution, which could bind certain
variables to certain values depending on which file the agenda is being
constructed from, could be useful in other ways as well. It might be
possible to integrate this with org-agenda-custom-commands, or in a
customizeable variable mapping files to lists of variables, to make it
fairly straightforward to use.