unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#62601: perl-mode bracket indentation distorted by label
@ 2023-04-02  0:29 Dan Jacobson
  0 siblings, 0 replies; only message in thread
From: Dan Jacobson @ 2023-04-02  0:29 UTC (permalink / raw)
  To: 62601

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"





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-02  0:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-02  0:29 bug#62601: perl-mode bracket indentation distorted by label Dan Jacobson

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).