GNU bug report logs - #6710
perl coloring not correct in emacs-22.3

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6710 in the body.
You can then email your comments to 6710 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6710; Package emacs. (Thu, 22 Jul 2010 21:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to warren.l.dodge <at> Tektronix.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 22 Jul 2010 21:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Warren L Dodge <warrend <at> Tektronix.com>
To: bug-gnu-emacs <at> gnu.org
Subject: perl coloring not correct in emacs-22.3
Date: Thu, 22 Jul 2010 13:43:34 -0700
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





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 23 Jul 2010 00:31:02 GMT) Full text and rfc822 format available.

Notification sent to warren.l.dodge <at> Tektronix.com:
bug acknowledged by developer. (Fri, 23 Jul 2010 00:31:02 GMT) Full text and rfc822 format available.

Message #10 received at 6710-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 6710-done <at> debbugs.gnu.org
Subject: Re: bug#6710: perl coloring not correct in emacs-22.3
Date: Thu, 22 Jul 2010 20:30:15 -0400
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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 20 Aug 2010 11:24:04 GMT) Full text and rfc822 format available.

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.