emacs-devel
[Top][All Lists]
Advanced

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

Re: `open-paren-in-column-0-is-defun-start` (was: cc-mode fontification


From: Yuri Khan
Subject: Re: `open-paren-in-column-0-is-defun-start` (was: cc-mode fontification feels random)
Date: Wed, 9 Jun 2021 22:15:37 +0700

On Wed, 9 Jun 2021 at 20:16, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> I see two problems with `open-paren-in-column-0-is-defun-start` (opic0ids):
[…]
> - this convention is imposed on top of the definition of the language,
>   so it's like editing "C with the opic0ids convention" rather than
>   editing "C".  This works fine if your file is indeed written in "C
>   with the opic0ids convention", but no so well otherwise.  And that
>   convention is specific to Emacs

The convention of not indenting lines that start a function, or, at
least, an important landmark in the code, is also supported by ‘diff
--show-c-function’ and ‘git show-function’.



reply via email to

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