GNU bug report logs - #62601
perl-mode bracket indentation distorted by label

Previous Next

Package: emacs;

Reported by: Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 2 Apr 2023 01:47:02 UTC

Severity: minor

Full log


View this message in rfc822 format

From: Dan Jacobson <jidanni <at> jidanni.org>
To: 62601 <at> debbugs.gnu.org
Subject: bug#62601: perl-mode bracket indentation distorted by label
Date: Sun, 02 Apr 2023 08:29:25 +0800
In perl mode, the indentation of the two closing brackets (solo item on
line) gets reduced by the LI:.

for my $l (@lines) {
  LI:
    for ( $l->{text} ) {
	next LI unless length;
	next LI if /^\S/;
  }
    for ( 0 .. $#zh ) {
	next unless $l->{ $zh[$_] };
	$l->{info} .= $l->{ $zh[$_] } . $en[$_];
  }
}
emacs-version "28.2"




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

Previous Next


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