From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Haines Brown Newsgroups: gmane.emacs.help Subject: colorization of mode contents Date: Fri, 24 Jan 2014 11:43:56 -0500 Message-ID: <87mwilgwj7.fsf@engels.HistoricalMaterialism.info> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1390581912 24237 80.91.229.3 (24 Jan 2014 16:45:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jan 2014 16:45:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 24 17:45:20 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W6jse-0005vA-EQ for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jan 2014 17:45:20 +0100 Original-Received: from localhost ([::1]:47617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6jse-0000Tu-2Q for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jan 2014 11:45:20 -0500 X-Received: by 10.236.18.196 with SMTP id l44mr4993230yhl.52.1390581837110; Fri, 24 Jan 2014 08:43:57 -0800 (PST) Original-Path: usenet.stanford.edu!f11no2709477qae.1!news-out.google.com!gg4ni2539qab.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 24 Jan 2014 10:43:56 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:L9IvaE8mq59GbjUl61BIij/7194= Original-Lines: 20 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-d0TQtFI7YsHeAMTVIOFOcNN3nGPOCa5bym6xAl+N7NyqgcHEo4rtFy/2IR/euB+NIRKoT2+MRihUxUY!GW+7RNvqGcrDdF3Ej5zHVkWNFhtzve1HUsI1zwpHY2xFSooHpVwNdyb1DKCHubNyjcwFbqPeHCSH!V3N5 Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1803 Original-Xref: usenet.stanford.edu gnu.emacs.help:203356 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95624 Archived-At: In LaTeX/PS mode, the \cite{key} command displays key values in green in the raw .tex file. This makes it easy to spot the command in a block of text. Unfortunately, I'm using a cite command peculiar to the achicago style, which is \citeNP{key}. Key values are no longer colored, but I would like them to be. I get the impression highlighting of command is done with emacs' M-x font-lock-mode RET. But AUCTeX apparently imposes its own scheme activated by tex-font-setup. I don't know whether I need somehow to configure AUCTeX or emacs. Since "citeNP" is unlikely to appear in other contexts, could I use a setq statement in .emacs to highight it as a verbatim? Do I use the LaTeX-verbatim-environments variable? I'm lost at this point. Haines Brown