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: Alan Mackenzie
Subject: bug#30393: 24.4; cperl-mode: indentation failure
Date: Fri, 16 Feb 2018 17:43:31 +0000
User-agent: Mutt/1.7.2 (2016-11-26)

Hello, Dmitry.

On Fri, Feb 16, 2018 at 13:52:03 +0200, Dmitry Gutov wrote:
> On 2/14/18 11:00 PM, Alan Mackenzie wrote:

> >      ...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.

> Is this still true actually? On master, in emacs-lisp-mode, with point after

> (defun asdasd ()
>    "
> (")


> C-M-a moves to before the defun, and not inside the docstring.

Yes, you're right.  How about .....

    ...., commands seeking the start of a defun will stop at opening
    parentheses or braces at column zero which aren't in a comment or
    string.

?  It's more accurate, if less elegant, than what has been committed.

-- 
Alan Mackenzie (Nuremberg, Germany).





reply via email to

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