emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

highlighting for perl acting strange


From: Warren L Dodge
Subject: highlighting for perl acting strange
Date: Wed, 7 Sep 2005 11:31:22 -0700 (PDT)

Symptoms:



To duplicate

emacs-22.0.50 -q --no-site-file NEW_FILE

M-x perl-mode
M-x global-font-lock-mode

add these two lines of perl code to the file edited

s|/mnts1|/proj1/|g; 
s|/mnts2|/proj2/|g; 


Now just add and remove a space at the beginning of each line in
various combinations. The highlighting for the lines changes back and
forth between two colors. ( At least for me )

I am coming from 21.3 where the two lines remain one color. This
example is just a short one. The problem I was having is where many
lines bounce around their colors as I edit.

I haven't read any of the notes of this version yet. I went in
assuming that it would "be mostly the same". But I am seeing a lot of
differences in various areas. So some guidance from you on what to
read first and second ... may be in order here.



If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/tools/wdtgnu/emacs-22.0.50/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.1 (sparc-sun-solaris2.8, X toolkit)
 of 2005-08-20 on albert
X server distributor `Sun Microsystems, Inc.', version 11.0.6410
configured using `configure '--prefix=/tools/wdtgnu/emacs-22.0.50' 
'--disable-nls''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  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:
  tool-bar-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-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
  line-number-mode: t

Recent input:
<help-echo> <escape> x p e r l SPC m SPC <return> <escape> 
x g l <tab> o b <tab> f <tab> <return> <down-mouse-2> 
<mouse-2> <down-mouse-1> <mouse-1> SPC <backspace> 
<left> SPC <up> <left> SPC <down> <backspace> <up> 
<right> <backspace> <down> SPC SPC SPC SPC <backspace> 
<backspace> <backspace> <backspace> <down-mouse-1> 
<mouse-1> <escape> x r e p o r t SPC e m SPC SPC <
return>

Recent messages:
Loading image...done
For information about the GNU Project and its goals, type C-h C-p.
(New file)
Loading perl-mode...done
Making completion list...
Loading help-mode...done
Loading font-lock...done
Loading jit-lock...done
Mark set
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]