From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: Newbie: Interactive goto-line ?! Date: Sun, 29 Feb 2004 16:29:45 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87fzct52fq.fsf@emptyhost.emptydomain.de> 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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1078068727 10337 80.91.224.253 (29 Feb 2004 15:32:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Feb 2004 15:32:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 29 16:32:00 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 1AxSvA-0007YR-00 for ; Sun, 29 Feb 2004 16:32:00 +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 1AxSuh-0000zJ-IX for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Feb 2004 10:31:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!213-203-244-156.kunde.vdserver.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de (213.203.244.156) Original-X-Trace: news.uni-berlin.de 1078068574 57588136 I 213.203.244.156 ([73968] 10430) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:MYUAYc+5hqChd4Z6OuZK4pDym2Y= Original-Xref: shelby.stanford.edu gnu.emacs.help:121369 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:17322 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17322 floyd@barrow.com (Floyd L. Davidson) writes: > This is indeed a significant problem. I've tried, with no > success, to find a way to change font-lock face colors when > switching between major modes. That is because what for me is > appropriate for C or Lisp programming is one set, which just > makes TeX too hard to look at, or the other way around. 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? Kai