unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6710: perl coloring not correct in emacs-22.3
@ 2010-07-22 20:43 Warren L Dodge
  2010-07-23  0:30 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Warren L Dodge @ 2010-07-22 20:43 UTC (permalink / raw)
  To: 6710

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






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

* bug#6710: perl coloring not correct in emacs-22.3
  2010-07-22 20:43 bug#6710: perl coloring not correct in emacs-22.3 Warren L Dodge
@ 2010-07-23  0:30 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2010-07-23  0:30 UTC (permalink / raw)
  To: 6710-done

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.





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

end of thread, other threads:[~2010-07-23  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 20:43 bug#6710: perl coloring not correct in emacs-22.3 Warren L Dodge
2010-07-23  0:30 ` Glenn Morris

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