From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Javier Oviedo" Newsgroups: gmane.emacs.help Subject: Re: fontlock and imenu problems Date: Thu, 13 Feb 2003 16:39:00 -0500 Organization: Texas Instruments Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1045172739 31192 80.91.224.249 (13 Feb 2003 21:45:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2003 21:45:39 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18jRAm-00086Z-00 for ; Thu, 13 Feb 2003 22:45:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18jRAy-0007Jz-00 for gnu-help-gnu-emacs@m.gmane.org; Thu, 13 Feb 2003 16:45:48 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!nntp1.hal-pc.org!attdl1!attdl2!ip.att.net!news.ti.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: gt64v7121.telogy.design.ti.com Original-X-Trace: tilde.itg.ti.com 1045172271 6792 158.218.105.183 (13 Feb 2003 21:37:51 GMT) Original-X-Complaints-To: usenet@news.ti.com Original-NNTP-Posting-Date: 13 Feb 2003 21:37:51 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-Xref: shelby.stanford.edu gnu.emacs.help:110150 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6653 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6653 Is there any way around this for me? I cannot change the code since I am not owner of it. Thanks. "David Kastrup" wrote in message news:x5of5fvrdk.fsf@lola.goethe.zz... > "Javier Oviedo" writes: > > > Hello all! > > > > 1. I am seeing that sometimes #define/#include and #ifdef/#else/etc. are not > > fontified in some c-code that I am looking at. The issue seems to occur only > > if the above do not begin in the column zero. There is some code that I must > > browse that indents these, especially the #ifdef/etc, and I'd like to see > > them fontified and usual. Any help? > > There is a reason: > > Preprocessing directives are recognized in traditional C only when > their leading # appears in the first column. There can be no > whitespace between the beginning of the line and the #. > > -- > David Kastrup, Kriemhildstr. 15, 44793 Bochum