Your message dated Fri, 30 Sep 2022 20:08:19 +0200
with message-id <8735c8loq4....@hands.com>
and subject line fixed in 20220613-1 (if not before)
has caused the Debian Bug report #475930,
regarding attempted to not indent an non-long line
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
475930: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475930
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
X-Debbugs-Cc: perlt...@users.sourceforge.net
Package: perltidy
Version: 20071205-2
Severity: minor
The long line below ends up not being indented.
Shorten it by even one character and it gets indented.
while (<>) {
s/a/b/;
tr (ㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄖㄗㄘㄙㄚㄛㄜㄝㄧㄨㄩ)
(i);
tr{p}{q};
}
OK, I notice the same happens with long lines of ASCII too, but the
above wide characters take only two columns of window space each, not
even reaching column 60.
Maybe perltidy is counting them as three characters each via their
UTF-8 encoding.
Anyway, if a line is long it will wrap anyway usually, and perltidy
shouldn't mess up the indentation in any case, good intentions or not.
--- End Message ---
--- Begin Message ---
fixed - 20220613-1
done
This now works, as seen here:
$ cat tidytest.pl
while (<>) {
s/a/b/;
tr (ㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄖㄗㄘㄙㄚㄛㄜㄝㄧㄨㄩ)
(i);
tr{p}{q};
}
$ perltidy -st tidytest.pl
while (<>) {
s/a/b/;
tr (ㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄖㄗㄘㄙㄚㄛㄜㄝㄧㄨㄩ)
(i);
tr{p}{q};
}
--- End Message ---