From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: use.address@my.homepage.invalid (Chris Gordon-Smith) Newsgroups: gmane.emacs.help Subject: Syntax Highlighting Problem Date: 3 May 2009 14:28:41 GMT Organization: SimSoup Message-ID: <765o0pF1baiftU1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1241369421 31477 80.91.229.12 (3 May 2009 16:50:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 May 2009 16:50:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 03 18:50:13 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M0etJ-0005Cx-5A for geh-help-gnu-emacs@m.gmane.org; Sun, 03 May 2009 18:50:13 +0200 Original-Received: from localhost ([127.0.0.1]:47162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0etI-0007hc-GI for geh-help-gnu-emacs@m.gmane.org; Sun, 03 May 2009 12:50:12 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: individual.net bnWce2XkMuFCE4f/UDdL6grzU9d/fxN+6gFGh5COy21pAET8XA X-Orig-Path: not-for-mail Cancel-Lock: sha1:byWNvRwbGxVxeURlkTMdJ6oJlxY= User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/2.6.25.5-1.1-default (i686)) Original-Xref: news.stanford.edu gnu.emacs.help:168882 X-Mailman-Approved-At: Sun, 03 May 2009 12:49:28 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64155 Archived-At: I am fairly new to emacs, and am having a problem with syntax highlighting with C++. Although the highlighting seems to be working overall, it behaves strangely with macros. I have a trace utility that can log entry and exit to each function. To enable the utility for a function, I invoke a macro at the start of the function like this: TRACE The odd thing is that the highlighting of the macro call is not consistent; sometimes it is in one colour, sometimes in another colour. Can anyone help? -- Chris Gordon-Smith London www.simsoup.info