emacs-devel
[Top][All Lists]
Advanced

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

Re: Mysterious fontification/C++ context issue


From: Stefan Monnier
Subject: Re: Mysterious fontification/C++ context issue
Date: Sun, 10 Dec 2006 21:27:39 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

>>> Could we set open-paren-in-column-0-is-defun-start to t for c mode?
>>> If no one sees a better alternative, let's do that.  But let's wait
>>> a few days and see what else is suggested.

>> It seems that no better ideas are forthcoming, so I think we should go
>> ahead and do this.

>     Could we revert the change to beginning-of-defun instead?

> It seems clearly incorrect for beginning-of-defun to ignore
> open-paren-in-column-0-is-defun-start.

Not to me.

> For what other reason does C mode set open-paren-in-column-0-is-defun-start?

Don't know.
So that forward-comment (when going backward) doesn't get confused by
a stray open-paren in column 0?

Or because it misunderstood what open-paren-in-column-0-is-defun-start
is for?


        Stefan


PS: AFAIK open-paren-in-column-0-is-defun-start should be marked
    as obsolete.




reply via email to

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