From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#30393: 24.4; cperl-mode: indentation failure Date: 9 Feb 2018 17:50:40 -0000 Organization: muc.de e.V. Message-ID: <20180209175040.63536.qmail@mail.muc.de> References: <20180208152552.GL13340@hodi> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1518198991 22762 195.159.176.226 (9 Feb 2018 17:56:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Feb 2018 17:56:31 +0000 (UTC) User-Agent: tin/2.4.1-20161224 ("Daill") (UNIX) (FreeBSD/11.1-RELEASE-p4 (amd64)) Cc: 30393@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 09 18:56:27 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekCuB-0004tt-NB for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Feb 2018 18:56:11 +0100 Original-Received: from localhost ([::1]:50358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekCwD-00028C-AB for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Feb 2018 12:58:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekCpF-0004Sl-1v for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 12:51:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekCpB-0005ft-W9 for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 12:51:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekCpB-0005fn-Sq for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 12:51:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekCpB-0001lb-L2 for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 12:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Feb 2018 17:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30393 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30393-submit@debbugs.gnu.org id=B30393.15181986446766 (code B ref 30393); Fri, 09 Feb 2018 17:51:01 +0000 Original-Received: (at 30393) by debbugs.gnu.org; 9 Feb 2018 17:50:44 +0000 Original-Received: from localhost ([127.0.0.1]:35666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekCou-0001l4-0a for submit@debbugs.gnu.org; Fri, 09 Feb 2018 12:50:44 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:23154 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1ekCor-0001ku-JD for 30393@debbugs.gnu.org; Fri, 09 Feb 2018 12:50:42 -0500 Original-Received: (qmail 63537 invoked by uid 3782); 9 Feb 2018 17:50:40 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143056 Archived-At: In article you wrote: > retitle 30393 cperl-mode: open-paren-in-column-0 of string literal affects later statement indentation > quit > paulusm 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 since. 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).