GNU bug report logs -
#6710
perl coloring not correct in emacs-22.3
Previous Next
Reported by: warren.l.dodge <at> Tektronix.com
Date: Thu, 22 Jul 2010 21:15:02 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#6710: perl coloring not correct in emacs-22.3
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 6710 <at> debbugs.gnu.org.
--
6710: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6710
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Warren L Dodge wrote:
> @temp = split/\./, $osNum;
> $osNum = $temp[0];
[...]
> The perl-mode coloring is not correct. The regex changes color but it
> doesn't terminate and the rest of the script is that same color.
Whilst I see this in 22.3, it is fixed in 23.1 and up, so I suggest
upgrading.
[Message part 3 (message/rfc822, inline)]
With this script named test.pl
#############################################################################
@temp = split/\./, $osNum;
$osNum = $temp[0];
#############################################################################
emacs-22.3 -Q test.pl
The perl-mode coloring is not correct. The regex changes color but it
doesn't terminate and the rest of the script is that same color.
If you put
@temp = split(/\./, $osNum) ;
it works properly.
In GNU Emacs 22.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2009-02-19 on zephyr
Windowing system distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--prefix=/tools/wdtgnu/emacs-22.3' '--disable-nls''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: C
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Perl
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
<help-echo> <down-mouse-1> <mouse-1> C-x C-f p . p
l <return> C-y <escape> x e m a c s - b <tab> <backspace>
<tab> <backspace> <tab> <tab> <tab> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> b u
<tab> <tab> <help-echo> <backspace> <backspace> s u
<tab> C-g C-g <help-echo> <help-echo> <help-echo> <help-echo>
<escape> x r e p o r t <tab> <return>
Recent messages:
(New file)
Loading perl-mode...done
Mark set
Making completion list...
Loading help-mode...done
Making completion list... [3 times]
Quit [2 times]
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
This bug report was last modified 15 years ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.