emacs-wiki-discuss
[Top][All Lists]
Advanced

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

Re: [emacs-wiki-discuss] Re: modify emacs-wiki.el to handle more tags/fa


From: fouvry+emacs-wiki
Subject: Re: [emacs-wiki-discuss] Re: modify emacs-wiki.el to handle more tags/faces ?
Date: Sun, 2 May 2004 13:07:00 +0200 (CEST)

,-- On Sat, 01 May, Sacha Chua wrote:
| 
| Joe Corneli <address@hidden> writes:
| 
| > However, I don't see how this changes the face (maybe I'm missing
| > something).  Wouldn't you want to use something like
| >     (add-text-properties beg end '(face default 
| >                                    rear-nonsticky (read-only)
| >                                    read-only t))
| 
| I tend to avoid read-onlying text while highlighting, as read-only
| regions can be a pain to edit. You can't cut them, you can't erase the
| buffer, you can't do lots of other things. =) I usually just change
| the face property.
| 
| Incidentally, is there a good way of merging face attributes? The
| current way I do it with planner-tasks is _very_ hack-ish. I re-build
| the list of attributes and create a face based on that. I'd really
| just rather specify one or two new attributes. 'face seems to
| override... <sigh>

Hmm, in the customization of faces, there is the possibility of
specifying inheritance.  Wouldn't that help you further?

Frederik




reply via email to

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