GNU bug report logs - #8077
cperl mode - indenting after long attribute list

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ronald J Kimball <rjk@HIDDEN>; Keywords: confirmed; dated Fri, 18 Feb 2011 17:42:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug Marked as found in versions 28.0.50. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) confirmed. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 8077 <at> debbugs.gnu.org:


Received: (at 8077) by debbugs.gnu.org; 29 Feb 2020 03:19:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 22:19:19 2020
Received: from localhost ([127.0.0.1]:34049 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j7set-0005Sv-1Q
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2020 22:19:19 -0500
Received: from ted.gofardesign.uk ([67.225.143.91]:56350)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefan@HIDDEN>)
 id 1j7ser-0005SV-Kd; Fri, 28 Feb 2020 22:19:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=P0F/22eiajYdxMA9KBV48il80Pvk8Uf06ZcFIZ51p3A=; b=NEw3rUG1Ukrmh25kv+rUymPpDX
 wGzoVDH7uppMe0FVysyS8FWdqzOLdywcJTJYC6d6yErVPPApfWIFYcnNczMm+hrMeGFKrs3QkCkxj
 CoDjhrM7m48R2+F7u7OEPmPCmkolJzen7S8uHBCpPWjT9Gnfbo+5xdySt5gpMe/YITdIws8iX6VTC
 1Qjo3rR1HBmrn79zVx4kW1RDH1UrnUXulCzu0xYJmMv6h+NInb7uYcko7aySJ8fgdHLugWhV+1mtr
 RrIJAXrUzgED1QEBHyA2dmADg2wVZ02JifiwjQtM76KuEu7NB5oRmeXISIRSH3UImtSl5ba0RgxS1
 cCK51GAw==;
Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:51206
 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93)
 (envelope-from <stefan@HIDDEN>)
 id 1j7sel-001TYM-Tx; Fri, 28 Feb 2020 22:19:12 -0500
From: Stefan Kangas <stefan@HIDDEN>
To: Ronald J Kimball <rjk@HIDDEN>
Subject: Re: bug#8077: cperl mode - indenting after long attribute list
In-Reply-To: <20110218162537.GA97441@HIDDEN> (Ronald J. Kimball's
 message of "Fri, 18 Feb 2011 11:25:37 -0500")
References: <20110218162537.GA97441@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Date: Sat, 29 Feb 2020 04:19:10 +0100
Message-ID: <871rqe84i9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - ted.gofardesign.uk
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - marxist.se
X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id:
 stefan@HIDDEN
X-Authenticated-Sender: ted.gofardesign.uk: stefan@HIDDEN
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 8077
Cc: 8077 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 8077 + confirmed
found 8077 28.0.50
thanks

Ronald J Kimball <rjk@HIDDEN> writes:

> Create a new file in cperl-mode.
> Enter the following line:
> sub foo : a('a') abcdefghi('foo') jklmnop('bar') qrstuv('baz')
> On the next line, press tab.
> Bug: It takes a long time for the indent to happen.
> Make any attribute name longer, and the time increases considerably.

I can reproduce this on current master.

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#8077; Package emacs. Full text available.
bug Marked as found in versions 23.2.94. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Feb 2011 17:41:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 18 12:41:56 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PqUL5-0001IG-1J
	for submit <at> debbugs.gnu.org; Fri, 18 Feb 2011 12:41:55 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rjk@HIDDEN>) id 1PqT9Q-00080I-Ab
	for submit <at> debbugs.gnu.org; Fri, 18 Feb 2011 11:25:49 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rjk@HIDDEN>) id 1PqT9K-0007yV-BG
	for submit <at> debbugs.gnu.org; Fri, 18 Feb 2011 11:25:43 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00
	autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:46902)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rjk@HIDDEN>) id 1PqT9K-0007yR-9G
	for submit <at> debbugs.gnu.org; Fri, 18 Feb 2011 11:25:42 -0500
Received: from [140.186.70.92] (port=39154 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PqT9I-00036o-Vq
	for bug-gnu-emacs@HIDDEN; Fri, 18 Feb 2011 11:25:42 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rjk@HIDDEN>) id 1PqT9H-0007xr-Q7
	for bug-gnu-emacs@HIDDEN; Fri, 18 Feb 2011 11:25:40 -0500
Received: from penkwe.pair.com ([209.68.2.65]:53081)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <rjk@HIDDEN>) id 1PqT9H-0007xk-MY
	for bug-gnu-emacs@HIDDEN; Fri, 18 Feb 2011 11:25:39 -0500
Received: (qmail 4187 invoked by uid 3309); 18 Feb 2011 16:25:38 -0000
Date: Fri, 18 Feb 2011 11:25:37 -0500
From: Ronald J Kimball <rjk@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: cperl mode - indenting after long attribute list
Message-ID: <20110218162537.GA97441@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.3i
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 199.232.76.165
X-Spam-Score: -6.6 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 18 Feb 2011 12:41:53 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.6 (------)

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Create a new file in cperl-mode.
Enter the following line:
sub foo : a('a') abcdefghi('foo') jklmnop('bar') qrstuv('baz')
On the next line, press tab.
Bug: It takes a long time for the indent to happen.
Make any attribute name longer, and the time increases considerably.


In GNU Emacs 22.2.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2010-03-31 on crested, modified by Ubuntu
configured using `configure  '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: CPerl

Minor modes in effect:
  menu-bar-mode: t
  file-name-shadow-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
ESC O B TAB ESC x m o d TAB TAB TAB C-g ESC x e m a 
c s - v TAB RET ESC x r e p o TAB r TAB RET

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading cperl-mode...done
Making completion list...
Loading help-mode...done
Quit
GNU Emacs 22.2.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2010-03-31 on crested, modified by Ubuntu
Making completion list...
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done




Acknowledgement sent to Ronald J Kimball <rjk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#8077; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 29 Feb 2020 03:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.