[Top][All Lists]

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

Re: Mysterious fontification/C++ context issue

From: Richard Stallman
Subject: Re: Mysterious fontification/C++ context issue
Date: Sat, 09 Dec 2006 23:24:54 -0500

     >     2. That a user's idea of "defun" for her programming language does 
     >     necessarily coincide with that of `beginning-of-defun'.
     > The major mode is supposed to try to make them correspond.
     > It seems strange to assume that it doesn't succeed.

    If it really succeeded why should C mode ever bother to provide its own

Maybe C mode should arrange to use `c-beginning-of-defun'
as the beginning-of-definition-function.  Is there a reason why
this would give bad results?

     > Anyway, this is not the right place to discuss what happens in
     > specific modes.

    The current change affects the behavior of `beginning-of-defun' which
    may affect other modes as well.

Yes, if they set `open-paren-in-column-0-is-defun-start' to t.

reply via email to

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