[Top][All Lists]

[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: 9 Feb 2018 17:50:40 -0000
User-agent: tin/2.4.1-20161224 ("Daill") (UNIX) (FreeBSD/11.1-RELEASE-p4 (amd64))

In article <address@hidden> you wrote:
> retitle 30393 cperl-mode: open-paren-in-column-0 of string literal affects 
> later statement indentation
> quit

> paulusm <address@hidden> writes:

>> # It's worth noting at this point that the /contents/ of the string
>> # seem to trigger the issue.

> Specifically, it's the open paren in the column 0 that triggers it.  You
> can set `open-paren-in-column-0-is-defun-start' to nil to fix it.  Same
> idea as Bug#25480 (that one is cc-mode).

Just to remind people, I fixed all this nonsense about parens in column
0 and `open-paren-in-column-0-is-defun-start' over a year ago.  Key
search term: "comment-cache".

My fix was rejected without any deep, soul-searching consideration, for
reasons which appeared obscure then and haven't become any clearer

This bug, the failure to deal reasonably with open parens in column
zero, is a malignancy on the face of Emacs, breeding bug after bug after
bug, as we see here, as we have seen many times over the years.

If my fix isn't going to be accepted, I think it's high time that
somebody else stepped up to the plate and fixed this monstrosity once
and for all.

Alan Mackenzie (Nuremberg, Germany).

reply via email to

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