GNU bug report logs -
#48761
perl-mode: "$temp" colored differently.
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Mon, 31 May 2021 14:09:01 UTC
Severity: normal
Tags: fixed
Merged with 46024
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
>
>> In perl-mode: $temp, @temp are colored differently. E.g., in
>> my (@AA, @temp, @barf, $temp, $x);
>
> I can reproduce this in Emacs 27, but not in Emacs 28:
I was too slow responding :/
This was patched with Bug#46024, which also has a list of other
"keywords" which have been removed from perl-mode: anon, argument,
supersede, let, and temp (sic!).
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46024
It is still the case that perl-mode treats a few variables which have
names like "legal" perl keywords as keywords and not as variables: for
example $my, @our, %sub, &package. That would require a different
patch, but these names are much less likely to occur in the wild.
> So I'm closing this bug report.
Different symptom, but same patch: I guess this should be merged?
--
Cheers,
haj
This bug report was last modified 3 years and 355 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.