emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mysterious fontification/C++ context issue - Patch for beginning-of-


From: martin rudalics
Subject: Re: Mysterious fontification/C++ context issue - Patch for beginning-of-defun-raw.
Date: Sun, 17 Dec 2006 00:40:02 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

>>This idea seems to work fairly well.  The patch to syntax.c is
>>attached; it adds an optional DEFUN_START argument to scan_lists which
>>is a position known to be outside any code structure.  The code in
>>beginning-of-defun-raw can be altered to use this as follows:
>
>
> I still haven't seen any explanation for why this code needs to be in
> beginning-of-defun-raw.

Well, it doesn't harm either. Looking at cc-fonts.el we'd rather have to
investigate all call sequences à la

c-backward-syntactic-ws -> c-backward-sws -> c-backward-comments

which hardly seems feasible.  Does anyone know whether and how XEmacs
handles this?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]