From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30393: 24.4; cperl-mode: indentation failure Date: Thu, 15 Feb 2018 19:39:06 +0200 Message-ID: <834lmiw3t1.fsf@gnu.org> References: <20180208152552.GL13340@hodi> <20180209175040.63536.qmail@mail.muc.de> <3331f80a-c5aa-5cb9-8088-0a88888bdaca@yandex.ru> <20180210112654.GA4537@ACM> <8360752gj8.fsf@gnu.org> <20180211124930.GB4515@ACM> <83d11b1ozj.fsf@gnu.org> <20180214210022.GA10559@ACM> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1518716332 25111 195.159.176.226 (15 Feb 2018 17:38:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Feb 2018 17:38:52 +0000 (UTC) Cc: 30393@debbugs.gnu.org, dgutov@yandex.ru, monnier@IRO.UMontreal.CA, npostavs@users.sourceforge.net To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 15 18:38:48 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 1emNUC-0004ce-C5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Feb 2018 18:38:20 +0100 Original-Received: from localhost ([::1]:42907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emNWE-0003qn-Bz for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Feb 2018 12:40:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emNVu-0003cJ-T9 for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 12:40:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emNVq-0002nD-UB for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 12:40:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37158) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emNVq-0002n9-Pr for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 12:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emNVq-0002hX-Ir for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 12:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Feb 2018 17:40:02 +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.151871636210330 (code B ref 30393); Thu, 15 Feb 2018 17:40:02 +0000 Original-Received: (at 30393) by debbugs.gnu.org; 15 Feb 2018 17:39:22 +0000 Original-Received: from localhost ([127.0.0.1]:45055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emNVB-0002gY-L6 for submit@debbugs.gnu.org; Thu, 15 Feb 2018 12:39:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emNV9-0002gL-89 for 30393@debbugs.gnu.org; Thu, 15 Feb 2018 12:39:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emNUz-0002YP-Jl for 30393@debbugs.gnu.org; Thu, 15 Feb 2018 12:39:14 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emNUz-0002YI-G2; Thu, 15 Feb 2018 12:39:09 -0500 Original-Received: from [176.228.60.248] (port=2459 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1emNUy-0003hv-Rw; Thu, 15 Feb 2018 12:39:09 -0500 In-reply-to: <20180214210022.GA10559@ACM> (message from Alan Mackenzie on Wed, 14 Feb 2018 21:00:22 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:143319 Archived-At: > Date: Wed, 14 Feb 2018 21:00:22 +0000 > Cc: dgutov@yandex.ru, npostavs@users.sourceforge.net, > monnier@IRO.UMontreal.CA, 30393@debbugs.gnu.org > From: Alan Mackenzie > > 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.