bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#30393: 24.4; cperl-mode: indentation failure


From: Eli Zaretskii
Subject: bug#30393: 24.4; cperl-mode: indentation failure
Date: Thu, 15 Feb 2018 19:39:06 +0200

> Date: Wed, 14 Feb 2018 21:00:22 +0000
> Cc: address@hidden, address@hidden,
>   address@hidden, address@hidden
> From: Alan Mackenzie <address@hidden>
> 
>     26.2.1 Left Margin Convention
>     -----------------------------
> 
>     Many programming-language modes have traditionally assumed that any
>     opening delimiter found at the left margin is the start of a top-level
>     definition, or defun.  So, by default, commands which seek the beginning
>     of a defun accept such a delimiter as signifying that position.
> 
>        If you want to override this convention, you can do so by setting the
>     user option `open-paren-in-column-0-is-defun-start' to `nil'.  If this
>     option is set to `t' (the default), commands seeking the start of a
>     defun will stop at opening parentheses or braces at column zero.  When
>     it is `nil', defuns are found by searching for parens or braces at the
>     outermost level.  Since low-level Emacs routines no longer depend on
>     this convention, you usually won't need to change
>     `open-paren-in-column-0-is-defun-start' from its default.

This is fine by me, but please replace "delimiters" in the beginning
of the text with "opening parenthesis or brace", for clarity.

Thanks.





reply via email to

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