emacs-devel
[Top][All Lists]
Advanced

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

Re: definition lines in Info - 1) link, 2) highlight


From: David Kastrup
Subject: Re: definition lines in Info - 1) link, 2) highlight
Date: Tue, 15 Aug 2006 23:01:48 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Drew Adams" <address@hidden> writes:

>         > I think it could be a lot simpler.  Just add a loop to
>         > Info-fontify-node which would search for that regexp and
>         > apply some faces to the parts that match.
>
>         Introducing new faces is never simple.
>
>     It doesn't need to use new faces.  Surely there is some existing
>     font lock face that would be usable.
>
> Faces are like global variables - user options. You wouldn't think
> of "reusing" some user option that happened to have a default value
> of t or nil or 100 that you were after, instead of defining a new
> user option that had the same default value - because customizing
> one might not be appropriate for the uses of the other. The same is
> true of faces.

[Rest of lecture deleted]

Uhm, Drew?  There is a slight probability that Richard has some
passing acquaintance with faces.  Instead of lecturing him, it might
be smarter to ask for an explanation if you don't get his point.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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