[Top][All Lists]

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

Re: specific coloring of diary calendar entries

From: Ami Fischman
Subject: Re: specific coloring of diary calendar entries
Date: Mon, 16 Dec 2002 22:18:50 -0800
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.50 (i686-pc-linux-gnu)

I misread your previous post on this subject.  Specifically, I thought you
were asking for the tags to allow different attributes from color (so
there'd be [bgcolor:blah], [underline:blah], [bold:blah], etc tags).  Doing
that much work would just be silly, as someone who knows enough to define
the attributes of an emacs face can just create the face and use an sexp.

Upon re-reading your suggestion, I think what you are saying is you want the
ability to say [work] or [home] and have `work' and `home' be "categories"
-- presumably a conglomerate of face attributes that apply to the entry.
But how is this simpler than defining a "work" or "home" face and having an
sexp entry invoke it?

I guess I'm looking at two situations: the emacs expert and the emacs
novice.  The former knows how to create a face and attach it to an entry
even without my patches (using sexp's); the latter will now be able to
define f/g colors for his/her diary entries.  Is the difference between
defining/using "semantic categories" and defining/using emacs faces+sexp
entries really as large as the gap between expert and novice?  I think the
answer is no.  If you disagree, please let me know.

I'm not morally opposed to adding features to these patches.  I just don't
think there is an elegant way to add them to the code (the color patches are
already somewhat "glued on") and so would rather not do so unless there's a
demonstrated need or demand for them.  If others would like to see some form
of semantic categorization (going beyond f/g color, which can be achieved
with file-glob-color), please speak up :)

  Ami Fischman

reply via email to

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