unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Warren L Dodge <warrend@Tektronix.com>
To: 6710@debbugs.gnu.org
Subject: bug#6710: perl coloring not correct in emacs-22.3
Date: Thu, 22 Jul 2010 13:43:34 -0700	[thread overview]
Message-ID: <201007222043.o6MKhYUo028925@lwe127084.central.tektronix.net> (raw)

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	other threads:[~2010-07-22 20:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 20:43 Warren L Dodge [this message]
2010-07-23  0:30 ` bug#6710: perl coloring not correct in emacs-22.3 Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201007222043.o6MKhYUo028925@lwe127084.central.tektronix.net \
    --to=warrend@tektronix.com \
    --cc=6710@debbugs.gnu.org \
    --cc=warren.l.dodge@Tektronix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).