emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: specific coloring of diary calendar entries


From: Alex Schroeder
Subject: Re: specific coloring of diary calendar entries
Date: Mon, 16 Dec 2002 01:31:10 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.92 (i686-pc-linux-gnu)

Richard Stallman <address@hidden> writes:

> Even if people use only colors, it would still be cleaner to specify
> them with syntactic categories rather than putting the colors directly
> into the diary files.  The categories may someday be useful for other
> purposes.  And they allow the priority handling that I suggested
> when one date has two events.
>
> Would you give it a try?

As a start, we could do this as follows:

The word after the colon is checked for facep.  If so, this face is
used, if not, and it is a valid color name, then the color is used.
Later, if somebody feels like implementing categories, that can be
added easily.  I really like the simplicity of the original approach.
Having faces is one level of indirection, but having categories
mapping to faces or colors is even harder to use by a casual user.

Alex.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]