From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joakim Hove Newsgroups: gmane.emacs.help Subject: Adding color to macro in C mode Date: Tue, 31 Jan 2006 10:08:43 +0100 Organization: University of Bergen Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138698751 15671 80.91.229.2 (31 Jan 2006 09:12:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 09:12:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 31 10:12:29 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F3rYk-0006TE-3P for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jan 2006 10:12:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F3rbj-000337-GT for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jan 2006 04:15:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!uio.no!nntp.uib.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: metropolis.fi.uib.no Original-X-Trace: toralf.uib.no 1138698523 67487 129.177.40.57 (31 Jan 2006 09:08:43 GMT) Original-X-Complaints-To: abuse@uib.no Original-NNTP-Posting-Date: 31 Jan 2006 09:08:43 GMT User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:K0X0xiyQZdnfjNVaSgej20U26hw= Original-Xref: shelby.stanford.edu gnu.emacs.help:137304 Original-To: help-gnu-emacs@gnu.org 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:32927 Archived-At: Hello, I am using emacs to program C. I have a (C) macro F_DIFF(a,b,c) which I use quite a lot in my code. I would like emacs to color instances of this macro so it stands out more clearly in the code - any tips on how to achieve that? Joakim -- Joakim Hove hove AT ntnu.no / Tlf: +47 (55 5)8 27 13 / Stabburveien 18 Fax: +47 (55 5)8 94 40 / N-5231 Paradis http://www.ift.uib.no/~hove/ / 55 91 28 18 / 92 68 57 04