* different faces for categories in agenda view?
@ 2025-01-14 12:32 Fraga, Eric
2025-01-17 18:56 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Fraga, Eric @ 2025-01-14 12:32 UTC (permalink / raw)
To: Emacs Org mode mailing list
Dear all,
is there any way to apply different faces to entries in the agenda view
depending on category? I do have the category displayed as well as a
different icon but it would be good to have the whole entry use a
specific face as a function of the category.
Sort of like hi-lock allows me to do in normal text files...
Thank you,
eric
--
: Eric S Fraga, with org 9.7.17-3ae179 in Emacs 31.0.50
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: different faces for categories in agenda view?
2025-01-14 12:32 different faces for categories in agenda view? Fraga, Eric
@ 2025-01-17 18:56 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2025-01-17 18:56 UTC (permalink / raw)
To: Fraga, Eric; +Cc: Emacs Org mode mailing list
"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:
> is there any way to apply different faces to entries in the agenda view
> depending on category? I do have the category displayed as well as a
> different icon but it would be good to have the whole entry use a
> specific face as a function of the category.
>
> Sort of like hi-lock allows me to do in normal text files...
You can directly apply text properties, including 'face in
`org-agenda-finalize-hook'. You can check category of any given agenda
text line by looking at 'org-category text property.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-17 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 12:32 different faces for categories in agenda view? Fraga, Eric
2025-01-17 18:56 ` Ihor Radchenko
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).