From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: floyd@barrow.com (Floyd L. Davidson) Newsgroups: gmane.emacs.help Subject: Re: Newbie: Interactive goto-line ?! Date: Sun, 29 Feb 2004 21:12:54 -0900 Organization: __________ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87oerhjdsp.fld@barrow.com> References: <403b2dbe$0$38285$e4fe514c@dreader14.news.xs4all.nl> <874qtgqq9w.fld@barrow.com> <403BBB98.5030506@yahoo.com> <877jycoxo4.fld@barrow.com> <87y8qroejs.fld@barrow.com> <87ptc3nmvq.fld@barrow.com> <87ad35va8x.fld@barrow.com> <87fzct52fq.fsf@emptyhost.emptydomain.de> <87llmlky6k.fld@barrow.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1078121994 471 80.91.224.253 (1 Mar 2004 06:19:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Mar 2004 06:19:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 01 07:19:46 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AxgmI-0002sx-00 for ; Mon, 01 Mar 2004 07:19:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Axgld-0007nC-KF for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Mar 2004 01:19:05 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!HSNX.atgi.net!falcon.america.net!eagle.america.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: gnus 5.10.6/XEmacs 21.4.15/Linux 2.6.0 Cancel-Lock: sha1:SaI65NbLZiTOP74T4MpY5KFT3Xw= Original-Lines: 27 Original-NNTP-Posting-Host: 209.124.156.252 Original-X-Trace: eagle.america.net 1078121614 209.124.156.252 (Mon, 01 Mar 2004 01:13:34 EST) Original-NNTP-Posting-Date: Mon, 01 Mar 2004 01:13:34 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:121389 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17344 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17344 bojohan+news@dd.chalmers.se (Johan Bockgård) wrote: >floyd@barrow.com (Floyd L. Davidson) writes: > >> Kai Grossjohann 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 Ukpeagvik (Barrow, Alaska) floyd@barrow.com