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 11:26:45 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

>>>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.
>
>
> Huh?  Have you looked at the beginning-of-defun-raw code before the change
> and compared to the monster it has become?

If you look at the various threads you will notice that I was the first
to fight the monster.

> All this (apparently) because
> cc-mode wants to use syntax-ppss-toplevel-pos via this function rather than
> calling it directly?

Alan had a point because the old definition of `beginning-of-defun-raw'
was not entirely correct for `open-paren-in-column-0-is-defun-start' nil.

> I want to remove that code and go back to what it was before, unless I can
> find a *good* explanation for why it needs to be in beginning-of-defun-raw.

This won't resolve the problem that a `backward-sexp' may take two
seconds to execute.  _Before_ Alan's change.





reply via email to

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