unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35925: perl-mode wrecks formats
@ 2019-05-27 13:11 積丹尼 Dan Jacobson
  2019-07-09  2:11 ` Lars Ingebrigtsen
  2023-09-16 23:03 ` Mauro Aranda
  0 siblings, 2 replies; 8+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-05-27 13:11 UTC (permalink / raw)
  To: 35925

In perl-mode,

format FH =
@<< @# @<< @### @<<<<< @# @<<<< @#
(split)[0..5, 7..8]
.
write FH;

becomes

format FH =
    @<< @# @<< @### @<<<<< @# @<<<< @#
    (split)[0..5, 7..8]
    .
    write FH;

wrecking output indentation and even introducing a syntax error on the "." line.

(See man perlform.)

Seen with C-x h TAB, emacs-version "26.1".





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

end of thread, other threads:[~2023-10-01  2:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-27 13:11 bug#35925: perl-mode wrecks formats 積丹尼 Dan Jacobson
2019-07-09  2:11 ` Lars Ingebrigtsen
2019-07-09  9:06   ` 積丹尼 Dan Jacobson
2019-07-09 12:08     ` Lars Ingebrigtsen
2019-07-09 12:18       ` 積丹尼 Dan Jacobson
2019-07-09 15:11       ` Eli Zaretskii
2023-09-16 23:03 ` Mauro Aranda
2023-10-01  2:17   ` Stefan Kangas

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