unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8077: cperl mode - indenting after long attribute list
@ 2011-02-18 16:25 Ronald J Kimball
  2020-02-29  3:19 ` Stefan Kangas
  2023-07-06 15:40 ` bug#8077: Eventually, this has been fixed Harald Jörg
  0 siblings, 2 replies; 3+ messages in thread
From: Ronald J Kimball @ 2011-02-18 16:25 UTC (permalink / raw)
  To: 8077

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#8077: cperl mode - indenting after long attribute list
  2011-02-18 16:25 bug#8077: cperl mode - indenting after long attribute list Ronald J Kimball
@ 2020-02-29  3:19 ` Stefan Kangas
  2023-07-06 15:40 ` bug#8077: Eventually, this has been fixed Harald Jörg
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2020-02-29  3:19 UTC (permalink / raw)
  To: Ronald J Kimball; +Cc: 8077

tags 8077 + confirmed
found 8077 28.0.50
thanks

Ronald J Kimball <rjk@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#8077: Eventually, this has been fixed.
  2011-02-18 16:25 bug#8077: cperl mode - indenting after long attribute list Ronald J Kimball
  2020-02-29  3:19 ` Stefan Kangas
@ 2023-07-06 15:40 ` Harald Jörg
  1 sibling, 0 replies; 3+ messages in thread
From: Harald Jörg @ 2023-07-06 15:40 UTC (permalink / raw)
  To: 8077-done

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-06 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 16:25 bug#8077: cperl mode - indenting after long attribute list Ronald J Kimball
2020-02-29  3:19 ` Stefan Kangas
2023-07-06 15:40 ` bug#8077: Eventually, this has been fixed Harald Jörg

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).