GNU bug report logs - #7054
24.0.50; Font-lock in JS mode highlights only strings and comments after recent changes

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>

Date: Fri, 17 Sep 2010 12:31:02 UTC

Severity: normal

Found in version 24.0.50

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#7054: closed (24.0.50; Font-lock in JS mode highlights only
 strings and comments after recent changes)
Date: Mon, 20 Sep 2010 15:48:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 20 Sep 2010 15:09:04 +0200
with message-id <jwv39t436lf.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#7054: 24.0.50; Font-lock in JS mode highlights only strings and comments after recent changes
has caused the GNU bug report #7054,
regarding 24.0.50; Font-lock in JS mode highlights only strings and comments after recent changes
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
7054: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7054
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50;
	Font-lock in JS mode highlights only strings and comments after
	recent changes
Date: Fri, 17 Sep 2010 15:32:40 +0300
Open any JS file: only strings and comments are highlighted, not
'function', 'var' etc.


In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2010-09-17 on racoon
Windowing system distributor `The X.Org Foundation', version 11.0.10503000
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: en_GB
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Javascript

Minor modes in effect:
  show-paren-mode: t
  server-mode: t
  auto-image-file-mode: t
  which-function-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
h i s S [ a <backspace> <backspace> p a c e R o l e 
s } " <home> SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC <left> <delete> C-x C-s <C-end> <up> <up> <up> 
<up> <up> <prior> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <M-right> 
<M-left> <M-left> <M-left> <M-left> <M-left> <M-left> 
<M-left> <M-right> <M-right> <M-right> <M-right> <M-left> 
M-d t h i s T <backspace> S M-/ <M-right> <M-left> 
g r p i <backspace> <backspace> o u p T y p e I d . 
i d M-d <end> <left> <down> C-S-k C-x b <return> <C-end> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> C-SPC 
<C-down> M-w C-x b <return> C-u C-y <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<return> C-x C-s <up> <up> <up> <up> <up> <up> M-x 
j s - m o d e <return> <up> <up> <up> <up> <up> <up> 
<up> C-SPC <home> <C-home> C-w { C-/ C-/ C-u C-SPC 
M-x f o n t <tab> l o <tab> m o <tab> <return> M-x 
<up> <return> <down> <down> <down> <down> <end> <down> 
<down> <down> <tab> <up> <down> <home> <backspace> 
<backspace> <tab> C-x C-f <backspace> <backspace> <backspace> 
<backspace> r e s <return> <return> <backspace> s r 
<return> a <backspace> m a <return> <C-home> C-x C-f 
~ / g i t <return> <return> <return> C h a <return> 
<C-home> C-s j s . e l C-x b C-g <prior> <next> M-x 
r e p o r t - b u g <return> C-g C-x b <return> <next> 
<next> <next> <next> <next> <next> <next> <next> M-x 
<up> <return>

Recent messages:
Font-Lock mode disabled
Font-Lock mode enabled
Error during redisplay: (void-function js--font-lock-keywords-3) [9 times]
Mark set
Loading vc-git...done
Mark set
Mark saved where search started
Quit
QuitError during redisplay: (void-function js--font-lock-keywords-3)
Error during redisplay: (void-function js--font-lock-keywords-3) [6 times]

Load-path shadows:
/usr/local/share/emacs/site-lisp/cedet/speedbar/sb-image hides /usr/local/share/emacs/24.0.50/lisp/sb-image
/usr/local/share/emacs/site-lisp/cedet/common/ezimage hides /usr/local/share/emacs/24.0.50/lisp/ezimage
/usr/local/share/emacs/site-lisp/cedet/speedbar/dframe hides /usr/local/share/emacs/24.0.50/lisp/dframe
/usr/local/share/emacs/site-lisp/cedet/speedbar/speedbar hides /usr/local/share/emacs/24.0.50/lisp/speedbar
/usr/local/share/emacs/site-lisp/cedet/eieio/eieio-base hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-base
/usr/local/share/emacs/site-lisp/cedet/eieio/eieio hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio
/usr/local/share/emacs/site-lisp/cedet/eieio/eieio-speedbar hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-speedbar
/usr/local/share/emacs/site-lisp/cedet/eieio/eieio-comp hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-comp
/usr/local/share/emacs/site-lisp/cedet/eieio/eieio-custom hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-custom
/usr/local/share/emacs/site-lisp/cedet/eieio/chart hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/chart
/usr/local/share/emacs/site-lisp/cedet/eieio/eieio-opt hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-opt
/usr/local/share/emacs/site-lisp/cedet/semantic/semantic hides /usr/local/share/emacs/24.0.50/lisp/cedet/semantic
/usr/local/share/emacs/site-lisp/cedet/ede/ede hides /usr/local/share/emacs/24.0.50/lisp/cedet/ede
/usr/local/share/emacs/site-lisp/cedet/common/cedet-files hides /usr/local/share/emacs/24.0.50/lisp/cedet/cedet-files
/usr/local/share/emacs/site-lisp/cedet/common/mode-local hides /usr/local/share/emacs/24.0.50/lisp/cedet/mode-local
/usr/local/share/emacs/site-lisp/cedet/common/cedet hides /usr/local/share/emacs/24.0.50/lisp/cedet/cedet
/usr/local/share/emacs/site-lisp/cedet/common/inversion hides /usr/local/share/emacs/24.0.50/lisp/cedet/inversion

Features:
(shadow sort gnus-util mail-extr message sendmail rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug vc-git add-log warnings tabify js json newcomment dabbrev
multi-isearch semantic-html sgml-mode vc-dispatcher vc-svn semantic-edit
wisent-java-tags wisent-java-tags-wy semantic-wisent wisent finder-inf
package saveplace paren server ido image-file jde etags jde-annotations
jde-open-source jde-class jde-parse-class jde-import jde-java-font-lock
byte-opt bytecomp byte-compile jde-java-grammar jde-which-method senator
which-func jde-wiz jde-complete semantic-idle eldoc jde-plugins
executable browse-url jde-gen tempo jde-jdb jde-bug jde-dbs jde-run
jde-dbo regress jde-db jde-parse sregex jde-imenu semantic-imenu imenu
semantic-java semantic-doc thingatpt avltree stack-m elib-node
semantic-sb jde-compile compile cus-edit cus-start cus-load cc-mode
cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
jde-help jde-widgets tree-widget beanshell comint regexp-opt ring
jde-custom jde-project-file jde-autoload jde-util arc-mode archive-mode
efc cedet cedet-contrib-load contrib-loaddefs speedbar-load
speedbar-loaddefs semantic-load semantic-ia-sb semantic-analyze
semantic-ctxt semantic-format semantic-cb semantic-sort semanticdb-find
semanticdb-el semanticdb-search semantic-find semanticdb
semantic-util-modes semantic-util semantic semantic-lex semantic-tag
working fame semantic-fw semantic-loaddefs mode-local find-func derived
eieio-load eieio-loaddefs ede-speedbar ede ede-load ede-loaddefs
eieio-speedbar speedbar sb-image ezimage dframe easymenu assoc
eieio-custom wid-edit ede-source eieio-base eieio advice help-fns
advice-preload cl cl-19 cogre-load cogre-loaddefs cedet-load
cedet-loaddefs inversion tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)


[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
Subject: Re: bug#7054: 24.0.50;
	Font-lock in JS mode highlights only strings and comments after
	recent changes
Date: Mon, 20 Sep 2010 15:09:04 +0200
>> > Open any JS file: only strings and comments are highlighted, not
>> > 'function', 'var' etc.
>> It should be fixed now, sorry 'bout that.  Please confirm,
> Works properly now, thanks.

Thanks, closed,


        Stefan


This bug report was last modified 14 years and 308 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.