all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Possible old perl-mode hash indentation bug.
@ 2004-07-21  3:10 Rob Browning
  2004-07-22 10:29 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Browning @ 2004-07-21  3:10 UTC (permalink / raw)
  Cc: 47675-forwarded


This bug, presuming it is a bug, has been around since at least Emacs
version 20.3.  

Given a hash like this one when in perl-mode:

  %LCDkmaps = (
               'i386' => {
                   'qwerty' => {
                       'US' => { 
                           'Standard' => 'us',
                           'With latin1' => 'us-latin1',
                           },
                       'UK' => 'uk',
                   },
               },
               'sparc' => {
                   'T5' => {

Emacs will over-indent the 'UK' line if you leave out the comma after
'us-latin1'.  (Although Emacs won't over-indent if you leave out the
comma after the 'qwerty' block'.)  Presuming I didn't make any
mistakes, this appears to be repeatable in the current version of
Emacs 21, and in CVS as of Sunday.

(If you can, please maintain the cc to the bug tracker in any followup
messages.  Thanks)

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4

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

* Re: Possible old perl-mode hash indentation bug.
  2004-07-21  3:10 Possible old perl-mode hash indentation bug Rob Browning
@ 2004-07-22 10:29 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2004-07-22 10:29 UTC (permalink / raw)
  Cc: 47675-forwarded, bug-gnu-emacs

Nobody is trying to maintain the indentation code in Perl mode.
There is another mode, CPerl mode, which has smarter indentation code.
We originally hoped to use it to replace Perl mode, but it too has
some problems.  It would be nice if someone wanted to work on these.

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

end of thread, other threads:[~2004-07-22 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-21  3:10 Possible old perl-mode hash indentation bug Rob Browning
2004-07-22 10:29 ` Richard Stallman

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.