help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Newbie: Interactive goto-line ?!


From: Floyd L. Davidson
Subject: Re: Newbie: Interactive goto-line ?!
Date: Sun, 29 Feb 2004 21:12:54 -0900
User-agent: gnus 5.10.6/XEmacs 21.4.15/Linux 2.6.0

bojohan+news@dd.chalmers.se (Johan Bockgård) wrote:
>floyd@barrow.com (Floyd L. Davidson) writes:
>
>> Kai Grossjohann <kai@emptydomain.de> wrote:
>
>>>You could create faces fld-lisp-font-lock-comment-face and
>>>fld-c-font-lock-comment-face, and then do
>>>
>>>(make-local-variable 'font-lock-comment-face)
>>>(setq font-lock-comment-face 'fld-lisp-font-lock-command-face)
>>>
>>>in lisp-mode-hook and the corresponding thing in c-mode-hook.  Does it
>>>work?
>>
>> Unfortunately, no it doesn't.  Whichever hook is run last, still
>> sets the colors for all other modes.
>
>Was that in XEmacs rather than Emacs?

I did the testing in XEmacs.  However, spot checks with GNU Emacs
showed the same results with a few more quirks thrown in for
good measure (some of the things that work in XEmacs cause font-lock
to be erratic in GNU Emacs).

--
Floyd L. Davidson           <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)                         floyd@barrow.com


reply via email to

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