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

Previous Next

Package: emacs;

Reported by: Ronald J Kimball <rjk <at> tamias.net>

Date: Fri, 18 Feb 2011 17:42:02 UTC

Severity: normal

Tags: confirmed

Found in versions 23.2.94, 28.0.50

Done: Harald Jörg <haj <at> posteo.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8077 in the body.
You can then email your comments to 8077 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8077; Package emacs. (Fri, 18 Feb 2011 17:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ronald J Kimball <rjk <at> tamias.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 18 Feb 2011 17:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ronald J Kimball <rjk <at> tamias.net>
To: bug-gnu-emacs <at> gnu.org
Subject: cperl mode - indenting after long attribute list
Date: Fri, 18 Feb 2011 11:25:37 -0500
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




bug Marked as found in versions 23.2.94. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 18 Feb 2011 22:36:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#8077; Package emacs. (Sat, 29 Feb 2020 03:20:02 GMT) Full text and rfc822 format available.

Message #10 received at 8077 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Ronald J Kimball <rjk <at> tamias.net>
Cc: 8077 <at> debbugs.gnu.org
Subject: Re: bug#8077: cperl mode - indenting after long attribute list
Date: Sat, 29 Feb 2020 04:19:10 +0100
tags 8077 + confirmed
found 8077 28.0.50
thanks

Ronald J Kimball <rjk <at> tamias.net> 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




Added tag(s) confirmed. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sat, 29 Feb 2020 03:20:02 GMT) Full text and rfc822 format available.

bug Marked as found in versions 28.0.50. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sat, 29 Feb 2020 03:20:02 GMT) Full text and rfc822 format available.

Reply sent to Harald Jörg <haj <at> posteo.de>:
You have taken responsibility. (Thu, 06 Jul 2023 15:41:02 GMT) Full text and rfc822 format available.

Notification sent to Ronald J Kimball <rjk <at> tamias.net>:
bug acknowledged by developer. (Thu, 06 Jul 2023 15:41:02 GMT) Full text and rfc822 format available.

Message #19 received at 8077-done <at> debbugs.gnu.org (full text, mbox):

From: Harald Jörg <haj <at> posteo.de>
To: 8077-done <at> debbugs.gnu.org
Subject: Eventually, this has been fixed.
Date: Thu, 06 Jul 2023 15:40:47 +0000
This bug is now fixed in the master branch of the Emacs repository.
The version from the repository
https://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/progmodes/cperl-mode.el
can be used with Emacs 27 or newer.

-- 
Cheers,
haj




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 Aug 2023 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 280 days ago.

Previous Next


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