From unknown Mon Aug 18 04:45:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7921: 23.2.91; js-mode font lock problem with comments Resent-From: Evan Owens Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jan 2011 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7921@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12960577722794 (code B ref -1); Wed, 26 Jan 2011 16:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jan 2011 16:02:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pi7pa-0000j1-PE for submit@debbugs.gnu.org; Wed, 26 Jan 2011 11:02:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pi6oL-0007bn-1e for submit@debbugs.gnu.org; Wed, 26 Jan 2011 09:57:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pi6vO-0004Mg-Dv for submit@debbugs.gnu.org; Wed, 26 Jan 2011 10:05:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:44949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pi6vO-0004Lm-69 for submit@debbugs.gnu.org; Wed, 26 Jan 2011 10:04:46 -0500 Received: from [140.186.70.92] (port=41957 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pi6od-0002Ex-Ri for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 09:58:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pi6nW-0008Lw-Q4 for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 09:57:20 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:49313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pi6nW-0008La-I3 for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 09:56:38 -0500 Received: by iwn40 with SMTP id 40so1132911iwn.0 for ; Wed, 26 Jan 2011 06:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=bchVwQqWCXez5ZgO0ZpnBV//wvD2LjZANc1mt32RibY=; b=J/r5NEJidAUAfjqCP2eTGWtvj+gLvCbNYNfAMAOZo/jmzLJKypPK8fK/Doh5jOJNRP no0MYtpCcLHq8/QgJZFFXZEL8wvyJQ+/3UozOzFPMc3avI8gA3ucPB7EL8mjfYRSzfcj eExlUX5oRQJmNSLtwvqmE428xPjpt8J7W/agM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WYkaaV8EdMTi+OG4pLNOIfxvDtmgMyGWYhvgLVfe3lesIpFguOYB2HMMU754w4TGH7 g6tLUCQcUD5ETtaNA5X801pTiM/nKR2DQBkmGjyLtUIzaPgyg2NlmhDxSZBZTD+8EA2B TZEP/TKAx8/dVW7TAHO/P9B2TF4xSOoLFty9k= MIME-Version: 1.0 Received: by 10.42.241.73 with SMTP id ld9mr563217icb.265.1296053797173; Wed, 26 Jan 2011 06:56:37 -0800 (PST) Received: by 10.42.213.137 with HTTP; Wed, 26 Jan 2011 06:56:37 -0800 (PST) Date: Wed, 26 Jan 2011 09:56:37 -0500 Message-ID: From: Evan Owens Content-Type: multipart/alternative; boundary=20cf30549d3330bb5a049ac10ade X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Wed, 26 Jan 2011 11:02:49 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --20cf30549d3330bb5a049ac10ade Content-Type: text/plain; charset=ISO-8859-1 --text follows this line-- This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Given an HTML/JS file with the following content:

Here is some HTML

Note that everything under "// comment two" is fontified as a string. 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'. For information about debugging Emacs, please read the file c:/cygwin/usr/local/emacs/emacs-23.2.91/etc/DEBUG. In GNU Emacs 23.2.91.1 (i386-mingw-nt6.1.7600) of 2010-12-11 on 3249CTO Windowing system distributor `Microsoft Corp.', version 6.1.7600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Javascript Minor modes in effect: show-paren-mode: t icomplete-mode: t global-hl-line-mode: t nxhtml-menu-mode: t nxhtml-tag-do-also: t popcmp-group-alternatives: t popcmp-short-help-beside-alts: t shell-dirtrack-mode: t mlinks-active-links: t recentf-mode: t rngalt-minimal-validation-header: t rngalt-display-validation-header: t global-ede-mode: t global-auto-complete-mode: t auto-complete-mode: t flymake-mode: t tooltip-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 auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: (only . t) Recent input: C-x C-f C-a C-f C-a C-k U s e r E v SPC O D o w t e s C-x 1 x r e p o r t f o n t x j s C-g C-_ x j s SPC m o d e x r e p o t e r e Recent messages: Using vacuous schema Error in menu-bar-update-hook: (error This buffer cannot use `imenu-default-create-index-function') byte-code: Command attempted to use minibuffer while in minibuffer Quit Undo! Using vacuous schema [3 times] Fontifying test.php... (syntactically...) Using vacuous schema Mark set Making completion list... Load-path shadows: c:/cygwin/usr/local/emacs/site-lisp/nxhtml-devel/util/ack hides c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/ack c:/cygwin/usr/local/emacs/site-lisp/ecb/ecb2/test hides c:/cygwin/usr/local/emacs/site-lisp/elim/elisp/test c:/cygwin/usr/local/emacs/site-lisp/nxhtml-devel/related/php-mode hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/php-mode c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/auto-complete hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/auto-complete c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything c:/cygwin/usr/local/emacs/site-lisp/anything-project/anything-project hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything-project c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything-match-plugin hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything-match-plugin c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything-grep hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything-grep Features: (shadow mail-extr message ecomplete rfc822 mml mml-sec password-cache mailabbrev gmm-utils mailheader canlock hashcash emacsbug js json newcomment nxml-uchnm rng-xsd xsd-regexp rng-cmpct subword nxhtml-mumamo mumamo-fun mumamo-chunks amrita nxhtml paren icomplete hl-line flymake-files flymakemsg nxhtml-autostart nxhtml-autoload moz majmodpri vc-bzr sha1 hex-util nxhtml-menu udev-rinari udev-ecb udev css-color nxhtml-mode html-quote tidy-xhtml ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff html-imenu imenu loadhist popcmp xhtml-help html-toc xml fupd html-pagetoc appmenu-fold fold-dwim tex-mode shell inlimg html-write mlinks appmenu help-mode view html-upl html-site ffip gimpedit foldit dired web-vcs url-http tls url-auth url-gw mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums web-autoload ourcomments-widgets ourcomments-util cus-edit cus-start cus-load uniquify recentf tree-widget mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie mailcap gnus gnus-ems nnheader gnus-util netrc mail-utils org org-footnote org-src org-list org-faces org-compat org-macs time-date noutline outline ido bookmark pp apropos mumamo sgml-mode ruby-mode rngalt rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok mumamo-cmirr flyspell ispell desktop nxhtml-base auto-complete-config ede/linux ede/emacs ede/cpp-root ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar eieio-custom symfony php-completion easy-mmode auto-complete popup url-util url-parse url-vars mm-util mail-prsvr browse-url anything-project php-mode cc-langs cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs add-log etags rx showtip saveplace hidesearch hide-lines gtags flymake-extension fringe-helper flymake ecb warnings ecb-symboldef ecb-analyse ecb-compatibility ecb-winman-support ecb-autogen autoload ecb-tod ecb-cycle ecb-eshell ecb-help ecb-jde ecb-method-browser hideshow ecb-semantic ecb-file-browser ecb-speedbar ecb-layout ecb-create-layout ecb-compilation ecb-common-browser speedbar sb-image dframe assoc ecb-navigate ecb-mode-line ecb-face tree-buffer ecb-upgrade ecb-cedet-wrapper semantic/db-mode semantic/db-find semantic/db-ref semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db eieio-base semantic/format ezimage semantic/tag-ls semantic/ctxt semantic/util-modes easymenu semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile mode-local cedet wid-edit ecb-util thingatpt silentcomp browse-kill-ring derived anything-match-plugin anything-grep grep compile anything advice advice-preload help-fns edmacro kmacro sort cygwin-mount ange-ftp regexp-opt comint ring executable cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars 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 multi-tty emacs) --20cf30549d3330bb5a049ac10ade Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable --text follows this line--
This bug report will be sent to the Free Soft= ware Foundation,
not to your local site managers!
Please write in Eng= lish if possible, because the Emacs maintainers
usually do not have tran= slators to read other languages for them.

Your report will be posted to the bug-gnu-emacs@gnu.org mailing list
and the gnu.emacs.bug news gr= oup, and at http://debbugs.gnu.org.<= br>
Please describe exactly what actions triggered the bug
and the preci= se symptoms of the bug.=A0 If you can, give
a recipe starting from `emac= s -Q':

Given an HTML/JS file with the following content:

<h1>Here is some HTML</h1>

<script type=3D"text/= javascript">
Event.onDOMReady(function() {
=A0=A0=A0 // comme= nt one
=A0=A0=A0 function createCookie(name, value, expires) {
=A0=A0= =A0=A0=A0=A0=A0 if (expires) {
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 var date =3D new Date();
=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 date.setTime(date.getTime()+(expires*24*60*60*1000));=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 expires =3D "; expires=3D"+= date.toGMTString();
=A0=A0=A0=A0=A0=A0=A0 } else {
=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 expires =3D '';
=A0=A0=A0=A0=A0=A0=A0 }
=A0=A0=A0=A0=A0=A0=A0 document.cookie =3D name+&= quot;=3D"+value+expires+"; path=3D/";
=A0=A0=A0 };
=A0=A0=A0 if ($('discount-details-link')) {=A0 // comment two
= =A0=A0=A0=A0=A0=A0=A0 Event.observe($('discount-details-link'), = 9;click', function() {
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Effect.Appear('discount-popup');<= br>=A0=A0=A0=A0=A0=A0=A0 });
=A0=A0=A0 }
=A0=A0=A0 // nXhtml seems to= think everything below comment two is a string...
});
</script>= ;


Note that everything under "// comment two" is fonti= fied as a string.

If Emacs crashed, and you have the Emacs process in the gdb debugger,please include the output from the following gdb commands:
=A0=A0=A0 `= bt full' and `xbacktrace'.
For information about debugging Emacs= , please read the file
c:/cygwin/usr/local/emacs/emacs-23.2.91/etc/DEBUG.


In GNU Emacs = 23.2.91.1 (i386-mingw-nt6.1.7600)
=A0of 2010-12-11 on 3249CTO
Windowi= ng system distributor `Microsoft Corp.', version 6.1.7600
configured= using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/incl= ude'

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_CO= LLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 = value of $LC_TIME: nil
=A0 value of $LANG: ENU
=A0 value of $XMODIFIERS: nil
=A0 locale-codi= ng-system: cp1252
=A0 default enable-multibyte-characters: t

Majo= r mode: Javascript

Minor modes in effect:
=A0 show-paren-mode: t<= br>=A0 icomplete-mode: t
=A0 global-hl-line-mode: t
=A0 nxhtml-menu-mode: t
=A0 nxhtml-tag-do-= also: t
=A0 popcmp-group-alternatives: t
=A0 popcmp-short-help-beside= -alts: t
=A0 shell-dirtrack-mode: t
=A0 mlinks-active-links: t
=A0= recentf-mode: t
=A0 rngalt-minimal-validation-header: t
=A0 rngalt-display-validation-he= ader: t
=A0 global-ede-mode: t
=A0 global-auto-complete-mode: t
= =A0 auto-complete-mode: t
=A0 flymake-mode: t
=A0 tooltip-mode: t
= =A0 mouse-wheel-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-loc= k-mode: t
=A0 font-lock-mode: t
=A0 blink-cursor-mode: t
=A0 auto-= encryption-mode: t
=A0 auto-compression-mode: t
=A0 column-number-mod= e: t
=A0 line-number-mode: t
=A0 transient-mark-mode: (only . t)

Recent input:
<wheel-down&= gt; <double-wheel-down> <triple-wheel-down>
<wheel-down&= gt; <double-wheel-down> <triple-wheel-down>
<triple-whee= l-down> <triple-wheel-down> <triple-wheel-down>
<wheel-down> <double-wheel-down> <triple-wheel-down>
= <triple-wheel-down> <triple-wheel-down> <triple-wheel-down&g= t;
<down-mouse-1> <mouse-1> C-x C-f C-a C-f C-a <C-right= >
<C-right> <C-left> C-k U s e r <tab> E v <tab> SPC =
O <tab> D o <tab> w <tab> t e <tab> s <tab&g= t; <return>
<down> <down> C-x 1 <down> <down= > <down> <down> <down>
<down> <down> <down> <down> <down> <down&g= t; <down> <down>
<down> <down> <down> <= ;down> <down> <down> <down> <down>
<down&= gt; <down> <up> <up> <up> <up> <up> <= ;up> <up> <down>
<down> <down> <down> <down> <down> <down&g= t; <down> <up>
<up> <up> <up> <up> = <up> <up> <escape> x r e p o r
t <tab> <retu= rn> <help-echo> <down-mouse-1> <mouse-movement>
<mouse-1> <help-echo> f o n t <backspace> <down-mouse-= 1>
<mouse-movement> <drag-mouse-1> <up> <up>= <escape>
x j s C-g <up> <up> <up> C-_ <up&g= t; <up> <escape> x j
s SPC m o d e <return> <down> <down> <down> <dow= n>
<down> <down> <down> <down> <down> = <up> <up> <up> <up>
<help-echo> <down-= mouse-1> <mouse-1> <help-echo> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> <esca= pe>
x r e p o <tab> t <tab> e <backspace> <back= space> r
<tab> e <backspace> <return>

Recen= t messages:
Using vacuous schema
Error in menu-bar-update-hook: (error This buffer c= annot use `imenu-default-create-index-function')
byte-code: Command = attempted to use minibuffer while in minibuffer
Quit
Undo!
Using v= acuous schema [3 times]
Fontifying test.php... (syntactically...)
Using vacuous schema
Mark s= et
Making completion list...

Load-path shadows:
c:/cygwin/usr/= local/emacs/site-lisp/nxhtml-devel/util/ack hides c:/cygwin/usr/local/emacs= /emacs-23.2.91/../site-lisp/ack
c:/cygwin/usr/local/emacs/site-lisp/ecb/ecb2/test hides c:/cygwin/usr/local= /emacs/site-lisp/elim/elisp/test
c:/cygwin/usr/local/emacs/site-lisp/nxh= tml-devel/related/php-mode hides c:/cygwin/usr/local/emacs/site-lisp/emacs-= symfony/t/extlib/php-mode
c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/auto-complete hides c:= /cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/auto-complete
c= :/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything hides c:/cygwi= n/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything
c:/cygwin/usr/local/emacs/site-lisp/anything-project/anything-project hides= c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything-projec= t
c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything-match-pl= ugin hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anyth= ing-match-plugin
c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything-grep hides c:= /cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything-grep
<= br>Features:
(shadow mail-extr message ecomplete rfc822 mml mml-sec pass= word-cache
mailabbrev gmm-utils mailheader canlock hashcash emacsbug js json
newcom= ment nxml-uchnm rng-xsd xsd-regexp rng-cmpct subword nxhtml-mumamo
mumam= o-fun mumamo-chunks amrita nxhtml paren icomplete hl-line
flymake-files = flymakemsg nxhtml-autostart nxhtml-autoload moz majmodpri
vc-bzr sha1 hex-util nxhtml-menu udev-rinari udev-ecb udev css-color
nxh= tml-mode html-quote tidy-xhtml ediff-merg ediff-diff ediff-wind
ediff-he= lp ediff-util ediff-mult ediff-init ediff html-imenu imenu
loadhist popc= mp xhtml-help html-toc xml fupd html-pagetoc appmenu-fold
fold-dwim tex-mode shell inlimg html-write mlinks appmenu help-mode viewhtml-upl html-site ffip gimpedit foldit dired web-vcs url-http tls
url-= auth url-gw mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 qp ietf-drums web-autoload ourcomments-widgets ourcomments-util
= cus-edit cus-start cus-load uniquify recentf tree-widget mm-url url
url-= proxy url-privacy url-expand url-methods url-history url-cookie
mailcap = gnus gnus-ems nnheader gnus-util netrc mail-utils org
org-footnote org-src org-list org-faces org-compat org-macs time-date
no= utline outline ido bookmark pp apropos mumamo sgml-mode ruby-mode
rngalt= rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match
rng-d= t rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap
nxml-util nxml-glyph nxml-enc xmltok mumamo-cmirr flyspell ispell
deskto= p nxhtml-base auto-complete-config ede/linux ede/emacs
ede/cpp-root ede/= speedbar ede/files ede ede/base ede/auto ede/source
eieio-speedbar eieio= -custom symfony php-completion easy-mmode
auto-complete popup url-util url-parse url-vars mm-util mail-prsvr
brows= e-url anything-project php-mode cc-langs cc-mode cc-fonts cc-menus
cc-cm= ds cc-styles cc-align cc-engine cc-vars cc-defs add-log etags rx
showtip= saveplace hidesearch hide-lines gtags flymake-extension
fringe-helper flymake ecb warnings ecb-symboldef ecb-analyse
ecb-compati= bility ecb-winman-support ecb-autogen autoload ecb-tod
ecb-cycle ecb-esh= ell ecb-help ecb-jde ecb-method-browser hideshow
ecb-semantic ecb-file-b= rowser ecb-speedbar ecb-layout ecb-create-layout
ecb-compilation ecb-common-browser speedbar sb-image dframe assoc
ecb-na= vigate ecb-mode-line ecb-face tree-buffer ecb-upgrade
ecb-cedet-wrapper = semantic/db-mode semantic/db-find semantic/db-ref
semantic/analyze seman= tic/sort semantic/scope semantic/analyze/fcn
semantic/db eieio-base semantic/format ezimage semantic/tag-ls
semantic/= ctxt semantic/util-modes easymenu semantic/util semantic
semantic/tag se= mantic/lex semantic/fw eieio byte-opt bytecomp
byte-compile mode-local c= edet wid-edit ecb-util thingatpt silentcomp
browse-kill-ring derived anything-match-plugin anything-grep grep
compil= e anything advice advice-preload help-fns edmacro kmacro sort
cygwin-mou= nt ange-ftp regexp-opt comint ring executable cl cl-19 tooltip
ediff-hoo= k vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp
w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register
pa= ge menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
fo= nt-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-la= ng vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
ca= se-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minib= uffer faces cus-face files text-properties overlay md5 base64
format env= code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)

--20cf30549d3330bb5a049ac10ade-- From unknown Mon Aug 18 04:45:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7921: 23.2.91; js-mode font lock problem with comments Resent-From: Deniz Dogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jan 2011 17:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Evan Owens Cc: 7921@debbugs.gnu.org Received: via spool by 7921-submit@debbugs.gnu.org id=B7921.129606333111104 (code B ref 7921); Wed, 26 Jan 2011 17:36:01 +0000 Received: (at 7921) by debbugs.gnu.org; 26 Jan 2011 17:35:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pi9HG-0002t3-9u for submit@debbugs.gnu.org; Wed, 26 Jan 2011 12:35:30 -0500 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pi9HE-0002sr-Ap for 7921@debbugs.gnu.org; Wed, 26 Jan 2011 12:35:28 -0500 Received: by iwn40 with SMTP id 40so1155277iwn.3 for <7921@debbugs.gnu.org>; Wed, 26 Jan 2011 09:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=rN/N3mxmOh4X5gnw2anm5JlP2A3U1Oys1JMch5clWEs=; b=Ggurhk1WOqCwe9uO7naxCaSu++ZfUVgQ2srbgDa1Y2JM52O6QDBbbgqMBSzQiCAsto 9FQdUDN4JzOOJi90EaJcFrBvMKdoQYPjGttWCS9jLsbv1FceHRwyugfTrgOxkaPVot/i F3YDpCT4LdfscfkX3TyDfISAZNxzq7Dnihdlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=aa51bCSSxt+zcoyqqdqDggQ8X4Tjh1SKyGhw/Smarx2APiThE+ab7Ld8pOrSbnIASV nZU/wmO/i3cA2sEq9sXBPu18xhH5/Eapu0kH6nGVJcMt3nv10CcUuM6oLThL/hhD7Rl3 z8ipopg6EEDqV3+p2mkp+XzEAx4W8A1zVnNLY= Received: by 10.231.145.68 with SMTP id c4mr8582416ibv.47.1296063815156; Wed, 26 Jan 2011 09:43:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.32.197 with HTTP; Wed, 26 Jan 2011 09:43:04 -0800 (PST) In-Reply-To: References: From: Deniz Dogan Date: Wed, 26 Jan 2011 18:43:04 +0100 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) I can reproduce this with only js-mode and all the HTML removed from the example. Other reproducible issues, modifying the line ending with path=/"; are: path=/";/ # Everything following and including the last / is string face path="; # Everything is fine path=//"; # Everything is fine -- Deniz Dogan From unknown Mon Aug 18 04:45:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7921: 23.2.91; js-mode font lock problem with comments Resent-From: Deniz Dogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jan 2011 17:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Evan Owens Cc: 7921@debbugs.gnu.org Received: via spool by 7921-submit@debbugs.gnu.org id=B7921.129606378111798 (code B ref 7921); Wed, 26 Jan 2011 17:43:02 +0000 Received: (at 7921) by debbugs.gnu.org; 26 Jan 2011 17:43:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pi9OX-00034A-5F for submit@debbugs.gnu.org; Wed, 26 Jan 2011 12:43:01 -0500 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pi9OU-00033x-6l for 7921@debbugs.gnu.org; Wed, 26 Jan 2011 12:42:58 -0500 Received: by iwn40 with SMTP id 40so1162726iwn.3 for <7921@debbugs.gnu.org>; Wed, 26 Jan 2011 09:51:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=fibi5fQnc7pxck+5en839F1dcapFctZryQMBZdwE8dQ=; b=Lyy1z/22hQMEo3+ARKngcoCZlQE+69dfMpPUl52EvlCv6yCHF9BHZzuq99iq339X3Y k2LBPoAIztktn0q7r8nbVPLTAAIy/dHGbFGXt17VEeA+p0fzayvZg4R3HHUgosqjYgyS J431krVAi0td+70xGVm1bYcwRLSbWEIt3cPqI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=jIVihhGgEWTQJKN1tz7Z5uXXbNpQcY6txIQthve25ovS5yk8KZZ94S/vfD3UZRvMUi +RTyez1Esea7tExxwSdT3LLCDjueFPNx48jfcgJnLx48kIkjYhvoK74vtwxdJmJoKI/E ShP0TmW+Szh9GTStNTtIc7sf/uXBTelr9gzFM= Received: by 10.231.10.200 with SMTP id q8mr8574451ibq.122.1296064264638; Wed, 26 Jan 2011 09:51:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.32.197 with HTTP; Wed, 26 Jan 2011 09:50:34 -0800 (PST) In-Reply-To: References: From: Deniz Dogan Date: Wed, 26 Jan 2011 18:50:34 +0100 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) Bug #7882 (24.0.50; Bad regexp for javascript regexps) is possibly related. -- Deniz Dogan From unknown Mon Aug 18 04:45:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7921: 23.2.91; js-mode font lock problem with comments Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jan 2011 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Deniz Dogan Cc: 7921@debbugs.gnu.org, Evan Owens Received: via spool by 7921-submit@debbugs.gnu.org id=B7921.129606974921018 (code B ref 7921); Wed, 26 Jan 2011 19:23:01 +0000 Received: (at 7921) by debbugs.gnu.org; 26 Jan 2011 19:22:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiAwn-0005Sw-8k for submit@debbugs.gnu.org; Wed, 26 Jan 2011 14:22:29 -0500 Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiAwk-0005Sj-UH for 7921@debbugs.gnu.org; Wed, 26 Jan 2011 14:22:27 -0500 Received: by ewy8 with SMTP id 8so428769ewy.3 for <7921@debbugs.gnu.org>; Wed, 26 Jan 2011 11:30:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=kzTALJIGWOUmUBIBgjT6dnbhgoejXlN1+dwBZKgFwhE=; b=aOYugoJ0W968PxhyQB8F5T46sah7kDRK391b+cQu3/PmF+WlCXpNo1qRAYlGCeLZOu ysg1VlarEMj1lheuF6Ouq3vHdkiTbQ0OtSH7Fq/2IKOyHCUYSpYA6BWqGzlNAsMvEPjw SrwipC4l0rpM3gUFtNW5Pg6TPlbEDVxYuNlF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Aon0kBTeTEmlR+uhQMslSpys2XaK22Oq7Suw0VtqqVkD7TKtStDMR+VG97Rgw1nAqa fkjPI+bh7EAssybaPeLYbIasOIQrZzDVXPeD/kfaoujjLChZl2v8cVYSZdI/ZHdmYl45 o7aLBRWVPGD1UEXOB+8YN9kkLvMw0OG7FzzPU= Received: by 10.213.35.147 with SMTP id p19mr1874333ebd.19.1296070234029; Wed, 26 Jan 2011 11:30:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.20.148 with HTTP; Wed, 26 Jan 2011 11:30:13 -0800 (PST) In-Reply-To: References: From: Lennart Borgman Date: Wed, 26 Jan 2011 20:30:13 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Wed, Jan 26, 2011 at 6:43 PM, Deniz Dogan wrote: > I can reproduce this with only js-mode and all the HTML removed from > the example. Other reproducible issues, modifying the line ending with > path=/"; are: > > path=/";/ # Everything following and including the last / is string face > path="; # Everything is fine > path=//"; # Everything is fine Fine. Then I assume that this is an Emacs bug, not a nXhtml bug. If it turns out not to be an Emacs bug please repost it as on nXhtml on Launchpad. From unknown Mon Aug 18 04:45:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7921: 23.2.91; js-mode font lock problem with comments Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2011 03:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Deniz Dogan Cc: 7921@debbugs.gnu.org, Evan Owens Received: via spool by 7921-submit@debbugs.gnu.org id=B7921.129609805530841 (code B ref 7921); Thu, 27 Jan 2011 03:15:03 +0000 Received: (at 7921) by debbugs.gnu.org; 27 Jan 2011 03:14:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiIJK-00081O-Cu for submit@debbugs.gnu.org; Wed, 26 Jan 2011 22:14:14 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiIJH-000819-Jx for 7921@debbugs.gnu.org; Wed, 26 Jan 2011 22:14:12 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAONzQE1MCo4O/2dsb2JhbACkfHS8EIVPBIUXj2s X-IronPort-AV: E=Sophos;i="4.60,383,1291611600"; d="scan'208";a="89377015" Received: from 76-10-142-14.dsl.teksavvy.com (HELO ceviche.home) ([76.10.142.14]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 26 Jan 2011 22:22:19 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 82C2D660DC; Wed, 26 Jan 2011 22:22:19 -0500 (EST) From: Stefan Monnier Message-ID: References: Date: Wed, 26 Jan 2011 22:22:19 -0500 In-Reply-To: (Deniz Dogan's message of "Wed, 26 Jan 2011 18:43:04 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > path=/";/ # Everything following and including the last / is string face > path="; # Everything is fine > path=//"; # Everything is fine I've put the above three lines in ~/tmp/foo.js and opened it with Debian's emacs23 and I don't think I see the problems you describe in the comments. OTOH I see other problems of highlighting but they're largely due to the code itself being meaningless, AFAIK (# is not a comment marker in javascript, is it?). Stefan From unknown Mon Aug 18 04:45:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7921: 23.2.91; js-mode font lock problem with comments Resent-From: Deniz Dogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2011 03:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 7921@debbugs.gnu.org, Evan Owens Received: via spool by 7921-submit@debbugs.gnu.org id=B7921.129609835731271 (code B ref 7921); Thu, 27 Jan 2011 03:20:03 +0000 Received: (at 7921) by debbugs.gnu.org; 27 Jan 2011 03:19:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiIOC-00088K-Jg for submit@debbugs.gnu.org; Wed, 26 Jan 2011 22:19:16 -0500 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiIOB-000889-G7 for 7921@debbugs.gnu.org; Wed, 26 Jan 2011 22:19:16 -0500 Received: by iwn40 with SMTP id 40so1639638iwn.3 for <7921@debbugs.gnu.org>; Wed, 26 Jan 2011 19:27:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=GT/VRLJm/gH8PkBrb7gb50/2fCfdjz+7ZIKKnEUFzDI=; b=U7w/JyfFQUFz+QPQh6jmnxhtQlHHMHF0LA5pfQTvdhee9O4pIFasmjRaLCiXICv4Ls kgygXGzBj5+mIvH97fpamZ16MenMEc8X/SEOkf+Ty0ZjXQSgc/8pGbcnKilwCIx4HmPk l0bZpFQhPzcN6yetWYdtYST+tuZsHsDrbW8HQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=CSie3THyHH18iVDambuLybjzYywUUg2PEdVJKQ3DaqbUeAbCitbjMkvY8jipTOaI/o thh8l5gUte8jmUmxqOVoP5Oc4bF8s0ccgPv6wmkwV9uXQlq5jBqTxcoulB45OFIrRurX 79KNH5MzA9xjyrtzHMrbmGGWZ2vrlyVuP1T+g= Received: by 10.231.199.76 with SMTP id er12mr310197ibb.72.1296098843688; Wed, 26 Jan 2011 19:27:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.32.197 with HTTP; Wed, 26 Jan 2011 19:26:53 -0800 (PST) In-Reply-To: References: From: Deniz Dogan Date: Thu, 27 Jan 2011 04:26:53 +0100 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) 2011/1/27 Stefan Monnier : >> path=3D/";/ # Everything following and including the last / is string fa= ce >> path=3D"; # Everything is fine >> path=3D//"; # Everything is fine > > I've put the above three lines in ~/tmp/foo.js and opened it with > Debian's emacs23 and I don't think I see the problems you describe in > the comments. =A0OTOH I see other problems of highlighting but they're > largely due to the code itself being meaningless, AFAIK (# is not > a comment marker in javascript, is it?). > I'm sorry, I should have been more clear. The # signs are meta-comments, please leave them out when trying to reproduce the problem. --=20 Deniz Dogan From unknown Mon Aug 18 04:45:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7921: 23.2.91; js-mode font lock problem with comments Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2011 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Deniz Dogan Cc: 7921@debbugs.gnu.org, Evan Owens Received: via spool by 7921-submit@debbugs.gnu.org id=B7921.12961484857222 (code B ref 7921); Thu, 27 Jan 2011 17:15:02 +0000 Received: (at 7921) by debbugs.gnu.org; 27 Jan 2011 17:14:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiVQj-0001sR-2w for submit@debbugs.gnu.org; Thu, 27 Jan 2011 12:14:45 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiVQg-0001sF-Qy for 7921@debbugs.gnu.org; Thu, 27 Jan 2011 12:14:43 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAMM4QU1FpZU//2dsb2JhbACkfHS8FIVPBIUXj2k X-IronPort-AV: E=Sophos;i="4.60,386,1291611600"; d="scan'208";a="89435632" Received: from 69-165-149-63.dsl.teksavvy.com (HELO pastel.home) ([69.165.149.63]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 27 Jan 2011 12:22:52 -0500 Received: by pastel.home (Postfix, from userid 20848) id 9917758C4E; Thu, 27 Jan 2011 12:22:52 -0500 (EST) From: Stefan Monnier Message-ID: References: Date: Thu, 27 Jan 2011 12:22:52 -0500 In-Reply-To: (Deniz Dogan's message of "Thu, 27 Jan 2011 04:26:53 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >>> path=3D/";/ # Everything following and including the last / is string f= ace >>> path=3D"; # Everything is fine >>> path=3D//"; # Everything is fine >>=20 >> I've put the above three lines in ~/tmp/foo.js and opened it with >> Debian's emacs23 and I don't think I see the problems you describe in >> the comments. =A0OTOH I see other problems of highlighting but they're >> largely due to the code itself being meaningless, AFAIK (# is not >> a comment marker in javascript, is it?). >>=20 > I'm sorry, I should have been more clear. The # signs are > meta-comments, please leave them out when trying to reproduce the > problem. In my tests, the ";\npath=3D//" is treated as a string. This sounds right to me, but not being a js-programmer, your example makes me doubt. IOW, using the latest code in the emacs-23, are there still some issues with js-mode's font-locking? Stefan From unknown Mon Aug 18 04:45:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7921: 23.2.91; js-mode font lock problem with comments Resent-From: Deniz Dogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2011 17:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 7921@debbugs.gnu.org, Evan Owens Received: via spool by 7921-submit@debbugs.gnu.org id=B7921.12961491828241 (code B ref 7921); Thu, 27 Jan 2011 17:27:02 +0000 Received: (at 7921) by debbugs.gnu.org; 27 Jan 2011 17:26:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiVbx-00028s-AK for submit@debbugs.gnu.org; Thu, 27 Jan 2011 12:26:21 -0500 Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiVbi-00028E-NV for 7921@debbugs.gnu.org; Thu, 27 Jan 2011 12:26:20 -0500 Received: by iwn40 with SMTP id 40so2352178iwn.3 for <7921@debbugs.gnu.org>; Thu, 27 Jan 2011 09:34:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=8c5Ej5P7uTxvKRFZAGUEy2irEeXn3X2JienOLRGXP04=; b=pk0uDJgXyZFFarjOZ1VlvUQOzAOD+2TQJSr5ws5EcNd5Jyqnu5sYLrhkzOr3SP4rzT 8FHgxvMVG2waVjWnAaamOA4t/UwmoO2IucSgFUNbDclu6RCyeGVLFZHsZOnbp1A4rWm4 psEF68/BOf60a9kstPOmDV43KfOjQ679yvYEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=cK/mGFNhJUJdblXYQKM7mtj/o50qcKeHJzQZmTe3701srGvNOTut6zn3BR/ZHdlFJZ TwjoWODv6gfkz+oQm1XVgo0Z5Qyjnpu+JDqVLG2iLGhm7X5/G5sb0BaOCQ7n4rJU4fkU Xzoo5Vo3gAqBuz04OhNiYFEsCyzVzB7pNv3n4= Received: by 10.231.13.138 with SMTP id c10mr1294497iba.97.1296149656703; Thu, 27 Jan 2011 09:34:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.32.197 with HTTP; Thu, 27 Jan 2011 09:33:56 -0800 (PST) In-Reply-To: References: From: Deniz Dogan Date: Thu, 27 Jan 2011 18:33:56 +0100 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) 2011/1/27 Stefan Monnier : >>>> path=3D/";/ # Everything following and including the last / is string = face >>>> path=3D"; # Everything is fine >>>> path=3D//"; # Everything is fine >>> >>> I've put the above three lines in ~/tmp/foo.js and opened it with >>> Debian's emacs23 and I don't think I see the problems you describe in >>> the comments. =A0OTOH I see other problems of highlighting but they're >>> largely due to the code itself being meaningless, AFAIK (# is not >>> a comment marker in javascript, is it?). >>> > >> I'm sorry, I should have been more clear. The # signs are >> meta-comments, please leave them out when trying to reproduce the >> problem. > > In my tests, the ";\npath=3D//" is treated as a string. =A0This sounds ri= ght > to me, but not being a js-programmer, your example makes me doubt. > IOW, using the latest code in the emacs-23, are there still some issues > with js-mode's font-locking? > Assuming that you mean "; npath=3D//", it is indeed correctly fontified as a string. I notice now that I referred to the three JavaScript examples as "issues" -- they are not issues. Only the last two examples are valid JavaScript. The first example, even though _invalid_ JavaScript, might give us a hint about what the problem is. That is the only reason why I included it. --=20 Deniz Dogan From unknown Mon Aug 18 04:45:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Evan Owens Subject: bug#7921: closed (Re: bug#7921: 23.2.91; js-mode font lock problem with comments) Message-ID: References: <87r3go1d8s.fsf@gmail.com> X-Gnu-PR-Message: they-closed 7921 X-Gnu-PR-Package: emacs Reply-To: 7921@debbugs.gnu.org Date: Sun, 07 Feb 2016 20:24:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1454876641-28611-1" This is a multi-part message in MIME format... ------------=_1454876641-28611-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7921: 23.2.91; js-mode font lock problem with comments which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7921@debbugs.gnu.org. --=20 7921: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7921 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1454876641-28611-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7921-done) by debbugs.gnu.org; 7 Feb 2016 20:23:25 +0000 Received: from localhost ([127.0.0.1]:37529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSVrh-0007QW-FF for submit@debbugs.gnu.org; Sun, 07 Feb 2016 15:23:25 -0500 Received: from mail-lb0-f176.google.com ([209.85.217.176]:36679) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSVrf-0007QH-M1 for 7921-done@debbugs.gnu.org; Sun, 07 Feb 2016 15:23:24 -0500 Received: by mail-lb0-f176.google.com with SMTP id dx2so73614173lbd.3 for <7921-done@debbugs.gnu.org>; Sun, 07 Feb 2016 12:23:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version :content-type; bh=24bIhK+5xzYQZY2NbIWv2FbfXiJQiGptDpWsxqMeGQA=; b=Pa4FZ8SUVg8nnAYNBT4yYtanoud+OGJEPbxD1Q9PNcAU/qxyUOYZt9BfxvfKeLLY8Z aWwlQeqalgKmYb6O3svn9d4QubUQl2QrolROg3Zbp7q2aS8BlwFXPSGEpH2pslWB/kIK vNmTovFqGNRiHQvE1WV2nnCX+PZGETmB+HNxH2FGdk+11RJnXAauNwruWkwGeyBxiAyg wkyQLkZAUri5O9UuWh8x3m8hTKc/Sfwb5Pf/o6Kv5uEW7kMXAX6EibOdEqq8jpfDtiCn 67SxoHEjBvIcWUhejc9T2abTZdLM9SGa6OUnDIeRvfOcNz93YGxKf3LZeOEn9ggwGj3h 0uJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; bh=24bIhK+5xzYQZY2NbIWv2FbfXiJQiGptDpWsxqMeGQA=; b=O77CDKa8i5YXVEsKh51ulx+T8suyqlNPWiVFU3bQQ4IJvXN7DnwFNsBMEr3eTOmANH JaNsHhfqNSC1+jz7lMXIsb91CWGSBuaN+YORRWi8oD1Rp947SngolvF4wvf54bbvBdjl +IG8YqOuhS1yT5fIujGzXPgI1gxPdijmhVXwg6apBQ6gGuiEDgyh4l5hHZTeAtRchxQ7 ij4LsVP0yGlfyvNWVtw4m37UCMP+mj88cIkbrZD3sXNCfrWBYg/A3OMb9i7pkFpJ1xMB RXHIOarQqwJN5rhHLNhweTVLSEzHESiqoocyLC1Hznq/Pl/ov0SyLrvnY5qJNb4AHfhh hZfA== X-Gm-Message-State: AG10YORVftEv6sJZ2rcejn8PidI9oRH2KAjuFXNMFVzd+wXGuLCmSOzLBhCNERwvtdb5aQ== X-Received: by 10.112.132.36 with SMTP id or4mr10041036lbb.50.1454876597799; Sun, 07 Feb 2016 12:23:17 -0800 (PST) Received: from x240 (cm-84.210.143.4.getinternet.no. [84.210.143.4]) by smtp.gmail.com with ESMTPSA id k70sm2878204lfg.5.2016.02.07.12.23.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Feb 2016 12:23:17 -0800 (PST) From: =?utf-8?Q?Simen_Heggest=C3=B8yl?= To: Deniz Dogan Subject: Re: bug#7921: 23.2.91; js-mode font lock problem with comments In-Reply-To: (message from Deniz Dogan on Thu, 27 Jan 2011 18:33:56 +0100) Date: Sun, 07 Feb 2016 21:23:15 +0100 Message-ID: <87r3go1d8s.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 7921-done Cc: monnier@iro.umontreal.ca, eaowens@gmail.com, 7921-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) It seems this was fixed by 6cd1834. I can reproduce the bug with versions of js.el before that revision, but not after. Please reopen if you find that's not the case. -- Simen ------------=_1454876641-28611-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Jan 2011 16:02:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pi7pa-0000j1-PE for submit@debbugs.gnu.org; Wed, 26 Jan 2011 11:02:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pi6oL-0007bn-1e for submit@debbugs.gnu.org; Wed, 26 Jan 2011 09:57:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pi6vO-0004Mg-Dv for submit@debbugs.gnu.org; Wed, 26 Jan 2011 10:05:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:44949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pi6vO-0004Lm-69 for submit@debbugs.gnu.org; Wed, 26 Jan 2011 10:04:46 -0500 Received: from [140.186.70.92] (port=41957 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pi6od-0002Ex-Ri for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 09:58:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pi6nW-0008Lw-Q4 for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 09:57:20 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:49313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pi6nW-0008La-I3 for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 09:56:38 -0500 Received: by iwn40 with SMTP id 40so1132911iwn.0 for ; Wed, 26 Jan 2011 06:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=bchVwQqWCXez5ZgO0ZpnBV//wvD2LjZANc1mt32RibY=; b=J/r5NEJidAUAfjqCP2eTGWtvj+gLvCbNYNfAMAOZo/jmzLJKypPK8fK/Doh5jOJNRP no0MYtpCcLHq8/QgJZFFXZEL8wvyJQ+/3UozOzFPMc3avI8gA3ucPB7EL8mjfYRSzfcj eExlUX5oRQJmNSLtwvqmE428xPjpt8J7W/agM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WYkaaV8EdMTi+OG4pLNOIfxvDtmgMyGWYhvgLVfe3lesIpFguOYB2HMMU754w4TGH7 g6tLUCQcUD5ETtaNA5X801pTiM/nKR2DQBkmGjyLtUIzaPgyg2NlmhDxSZBZTD+8EA2B TZEP/TKAx8/dVW7TAHO/P9B2TF4xSOoLFty9k= MIME-Version: 1.0 Received: by 10.42.241.73 with SMTP id ld9mr563217icb.265.1296053797173; Wed, 26 Jan 2011 06:56:37 -0800 (PST) Received: by 10.42.213.137 with HTTP; Wed, 26 Jan 2011 06:56:37 -0800 (PST) Date: Wed, 26 Jan 2011 09:56:37 -0500 Message-ID: Subject: 23.2.91; js-mode font lock problem with comments From: Evan Owens To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=20cf30549d3330bb5a049ac10ade X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 26 Jan 2011 11:02:49 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --20cf30549d3330bb5a049ac10ade Content-Type: text/plain; charset=ISO-8859-1 --text follows this line-- This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Given an HTML/JS file with the following content:

Here is some HTML

Note that everything under "// comment two" is fontified as a string. 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'. For information about debugging Emacs, please read the file c:/cygwin/usr/local/emacs/emacs-23.2.91/etc/DEBUG. In GNU Emacs 23.2.91.1 (i386-mingw-nt6.1.7600) of 2010-12-11 on 3249CTO Windowing system distributor `Microsoft Corp.', version 6.1.7600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Javascript Minor modes in effect: show-paren-mode: t icomplete-mode: t global-hl-line-mode: t nxhtml-menu-mode: t nxhtml-tag-do-also: t popcmp-group-alternatives: t popcmp-short-help-beside-alts: t shell-dirtrack-mode: t mlinks-active-links: t recentf-mode: t rngalt-minimal-validation-header: t rngalt-display-validation-header: t global-ede-mode: t global-auto-complete-mode: t auto-complete-mode: t flymake-mode: t tooltip-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 auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: (only . t) Recent input: C-x C-f C-a C-f C-a C-k U s e r E v SPC O D o w t e s C-x 1 x r e p o r t f o n t x j s C-g C-_ x j s SPC m o d e x r e p o t e r e Recent messages: Using vacuous schema Error in menu-bar-update-hook: (error This buffer cannot use `imenu-default-create-index-function') byte-code: Command attempted to use minibuffer while in minibuffer Quit Undo! Using vacuous schema [3 times] Fontifying test.php... (syntactically...) Using vacuous schema Mark set Making completion list... Load-path shadows: c:/cygwin/usr/local/emacs/site-lisp/nxhtml-devel/util/ack hides c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/ack c:/cygwin/usr/local/emacs/site-lisp/ecb/ecb2/test hides c:/cygwin/usr/local/emacs/site-lisp/elim/elisp/test c:/cygwin/usr/local/emacs/site-lisp/nxhtml-devel/related/php-mode hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/php-mode c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/auto-complete hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/auto-complete c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything c:/cygwin/usr/local/emacs/site-lisp/anything-project/anything-project hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything-project c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything-match-plugin hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything-match-plugin c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything-grep hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything-grep Features: (shadow mail-extr message ecomplete rfc822 mml mml-sec password-cache mailabbrev gmm-utils mailheader canlock hashcash emacsbug js json newcomment nxml-uchnm rng-xsd xsd-regexp rng-cmpct subword nxhtml-mumamo mumamo-fun mumamo-chunks amrita nxhtml paren icomplete hl-line flymake-files flymakemsg nxhtml-autostart nxhtml-autoload moz majmodpri vc-bzr sha1 hex-util nxhtml-menu udev-rinari udev-ecb udev css-color nxhtml-mode html-quote tidy-xhtml ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff html-imenu imenu loadhist popcmp xhtml-help html-toc xml fupd html-pagetoc appmenu-fold fold-dwim tex-mode shell inlimg html-write mlinks appmenu help-mode view html-upl html-site ffip gimpedit foldit dired web-vcs url-http tls url-auth url-gw mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums web-autoload ourcomments-widgets ourcomments-util cus-edit cus-start cus-load uniquify recentf tree-widget mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie mailcap gnus gnus-ems nnheader gnus-util netrc mail-utils org org-footnote org-src org-list org-faces org-compat org-macs time-date noutline outline ido bookmark pp apropos mumamo sgml-mode ruby-mode rngalt rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok mumamo-cmirr flyspell ispell desktop nxhtml-base auto-complete-config ede/linux ede/emacs ede/cpp-root ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar eieio-custom symfony php-completion easy-mmode auto-complete popup url-util url-parse url-vars mm-util mail-prsvr browse-url anything-project php-mode cc-langs cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs add-log etags rx showtip saveplace hidesearch hide-lines gtags flymake-extension fringe-helper flymake ecb warnings ecb-symboldef ecb-analyse ecb-compatibility ecb-winman-support ecb-autogen autoload ecb-tod ecb-cycle ecb-eshell ecb-help ecb-jde ecb-method-browser hideshow ecb-semantic ecb-file-browser ecb-speedbar ecb-layout ecb-create-layout ecb-compilation ecb-common-browser speedbar sb-image dframe assoc ecb-navigate ecb-mode-line ecb-face tree-buffer ecb-upgrade ecb-cedet-wrapper semantic/db-mode semantic/db-find semantic/db-ref semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db eieio-base semantic/format ezimage semantic/tag-ls semantic/ctxt semantic/util-modes easymenu semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile mode-local cedet wid-edit ecb-util thingatpt silentcomp browse-kill-ring derived anything-match-plugin anything-grep grep compile anything advice advice-preload help-fns edmacro kmacro sort cygwin-mount ange-ftp regexp-opt comint ring executable cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars 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 multi-tty emacs) --20cf30549d3330bb5a049ac10ade Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable --text follows this line--
This bug report will be sent to the Free Soft= ware Foundation,
not to your local site managers!
Please write in Eng= lish if possible, because the Emacs maintainers
usually do not have tran= slators to read other languages for them.

Your report will be posted to the bug-gnu-emacs@gnu.org mailing list
and the gnu.emacs.bug news gr= oup, and at http://debbugs.gnu.org.<= br>
Please describe exactly what actions triggered the bug
and the preci= se symptoms of the bug.=A0 If you can, give
a recipe starting from `emac= s -Q':

Given an HTML/JS file with the following content:

<h1>Here is some HTML</h1>

<script type=3D"text/= javascript">
Event.onDOMReady(function() {
=A0=A0=A0 // comme= nt one
=A0=A0=A0 function createCookie(name, value, expires) {
=A0=A0= =A0=A0=A0=A0=A0 if (expires) {
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 var date =3D new Date();
=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 date.setTime(date.getTime()+(expires*24*60*60*1000));=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 expires =3D "; expires=3D"+= date.toGMTString();
=A0=A0=A0=A0=A0=A0=A0 } else {
=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 expires =3D '';
=A0=A0=A0=A0=A0=A0=A0 }
=A0=A0=A0=A0=A0=A0=A0 document.cookie =3D name+&= quot;=3D"+value+expires+"; path=3D/";
=A0=A0=A0 };
=A0=A0=A0 if ($('discount-details-link')) {=A0 // comment two
= =A0=A0=A0=A0=A0=A0=A0 Event.observe($('discount-details-link'), = 9;click', function() {
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Effect.Appear('discount-popup');<= br>=A0=A0=A0=A0=A0=A0=A0 });
=A0=A0=A0 }
=A0=A0=A0 // nXhtml seems to= think everything below comment two is a string...
});
</script>= ;


Note that everything under "// comment two" is fonti= fied as a string.

If Emacs crashed, and you have the Emacs process in the gdb debugger,please include the output from the following gdb commands:
=A0=A0=A0 `= bt full' and `xbacktrace'.
For information about debugging Emacs= , please read the file
c:/cygwin/usr/local/emacs/emacs-23.2.91/etc/DEBUG.


In GNU Emacs = 23.2.91.1 (i386-mingw-nt6.1.7600)
=A0of 2010-12-11 on 3249CTO
Windowi= ng system distributor `Microsoft Corp.', version 6.1.7600
configured= using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/incl= ude'

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_CO= LLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 = value of $LC_TIME: nil
=A0 value of $LANG: ENU
=A0 value of $XMODIFIERS: nil
=A0 locale-codi= ng-system: cp1252
=A0 default enable-multibyte-characters: t

Majo= r mode: Javascript

Minor modes in effect:
=A0 show-paren-mode: t<= br>=A0 icomplete-mode: t
=A0 global-hl-line-mode: t
=A0 nxhtml-menu-mode: t
=A0 nxhtml-tag-do-= also: t
=A0 popcmp-group-alternatives: t
=A0 popcmp-short-help-beside= -alts: t
=A0 shell-dirtrack-mode: t
=A0 mlinks-active-links: t
=A0= recentf-mode: t
=A0 rngalt-minimal-validation-header: t
=A0 rngalt-display-validation-he= ader: t
=A0 global-ede-mode: t
=A0 global-auto-complete-mode: t
= =A0 auto-complete-mode: t
=A0 flymake-mode: t
=A0 tooltip-mode: t
= =A0 mouse-wheel-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-loc= k-mode: t
=A0 font-lock-mode: t
=A0 blink-cursor-mode: t
=A0 auto-= encryption-mode: t
=A0 auto-compression-mode: t
=A0 column-number-mod= e: t
=A0 line-number-mode: t
=A0 transient-mark-mode: (only . t)

Recent input:
<wheel-down&= gt; <double-wheel-down> <triple-wheel-down>
<wheel-down&= gt; <double-wheel-down> <triple-wheel-down>
<triple-whee= l-down> <triple-wheel-down> <triple-wheel-down>
<wheel-down> <double-wheel-down> <triple-wheel-down>
= <triple-wheel-down> <triple-wheel-down> <triple-wheel-down&g= t;
<down-mouse-1> <mouse-1> C-x C-f C-a C-f C-a <C-right= >
<C-right> <C-left> C-k U s e r <tab> E v <tab> SPC =
O <tab> D o <tab> w <tab> t e <tab> s <tab&g= t; <return>
<down> <down> C-x 1 <down> <down= > <down> <down> <down>
<down> <down> <down> <down> <down> <down&g= t; <down> <down>
<down> <down> <down> <= ;down> <down> <down> <down> <down>
<down&= gt; <down> <up> <up> <up> <up> <up> <= ;up> <up> <down>
<down> <down> <down> <down> <down> <down&g= t; <down> <up>
<up> <up> <up> <up> = <up> <up> <escape> x r e p o r
t <tab> <retu= rn> <help-echo> <down-mouse-1> <mouse-movement>
<mouse-1> <help-echo> f o n t <backspace> <down-mouse-= 1>
<mouse-movement> <drag-mouse-1> <up> <up>= <escape>
x j s C-g <up> <up> <up> C-_ <up&g= t; <up> <escape> x j
s SPC m o d e <return> <down> <down> <down> <dow= n>
<down> <down> <down> <down> <down> = <up> <up> <up> <up>
<help-echo> <down-= mouse-1> <mouse-1> <help-echo> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> <esca= pe>
x r e p o <tab> t <tab> e <backspace> <back= space> r
<tab> e <backspace> <return>

Recen= t messages:
Using vacuous schema
Error in menu-bar-update-hook: (error This buffer c= annot use `imenu-default-create-index-function')
byte-code: Command = attempted to use minibuffer while in minibuffer
Quit
Undo!
Using v= acuous schema [3 times]
Fontifying test.php... (syntactically...)
Using vacuous schema
Mark s= et
Making completion list...

Load-path shadows:
c:/cygwin/usr/= local/emacs/site-lisp/nxhtml-devel/util/ack hides c:/cygwin/usr/local/emacs= /emacs-23.2.91/../site-lisp/ack
c:/cygwin/usr/local/emacs/site-lisp/ecb/ecb2/test hides c:/cygwin/usr/local= /emacs/site-lisp/elim/elisp/test
c:/cygwin/usr/local/emacs/site-lisp/nxh= tml-devel/related/php-mode hides c:/cygwin/usr/local/emacs/site-lisp/emacs-= symfony/t/extlib/php-mode
c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/auto-complete hides c:= /cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/auto-complete
c= :/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything hides c:/cygwi= n/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything
c:/cygwin/usr/local/emacs/site-lisp/anything-project/anything-project hides= c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything-projec= t
c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything-match-pl= ugin hides c:/cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anyth= ing-match-plugin
c:/cygwin/usr/local/emacs/emacs-23.2.91/../site-lisp/anything-grep hides c:= /cygwin/usr/local/emacs/site-lisp/emacs-symfony/t/extlib/anything-grep
<= br>Features:
(shadow mail-extr message ecomplete rfc822 mml mml-sec pass= word-cache
mailabbrev gmm-utils mailheader canlock hashcash emacsbug js json
newcom= ment nxml-uchnm rng-xsd xsd-regexp rng-cmpct subword nxhtml-mumamo
mumam= o-fun mumamo-chunks amrita nxhtml paren icomplete hl-line
flymake-files = flymakemsg nxhtml-autostart nxhtml-autoload moz majmodpri
vc-bzr sha1 hex-util nxhtml-menu udev-rinari udev-ecb udev css-color
nxh= tml-mode html-quote tidy-xhtml ediff-merg ediff-diff ediff-wind
ediff-he= lp ediff-util ediff-mult ediff-init ediff html-imenu imenu
loadhist popc= mp xhtml-help html-toc xml fupd html-pagetoc appmenu-fold
fold-dwim tex-mode shell inlimg html-write mlinks appmenu help-mode viewhtml-upl html-site ffip gimpedit foldit dired web-vcs url-http tls
url-= auth url-gw mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 qp ietf-drums web-autoload ourcomments-widgets ourcomments-util
= cus-edit cus-start cus-load uniquify recentf tree-widget mm-url url
url-= proxy url-privacy url-expand url-methods url-history url-cookie
mailcap = gnus gnus-ems nnheader gnus-util netrc mail-utils org
org-footnote org-src org-list org-faces org-compat org-macs time-date
no= utline outline ido bookmark pp apropos mumamo sgml-mode ruby-mode
rngalt= rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match
rng-d= t rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap
nxml-util nxml-glyph nxml-enc xmltok mumamo-cmirr flyspell ispell
deskto= p nxhtml-base auto-complete-config ede/linux ede/emacs
ede/cpp-root ede/= speedbar ede/files ede ede/base ede/auto ede/source
eieio-speedbar eieio= -custom symfony php-completion easy-mmode
auto-complete popup url-util url-parse url-vars mm-util mail-prsvr
brows= e-url anything-project php-mode cc-langs cc-mode cc-fonts cc-menus
cc-cm= ds cc-styles cc-align cc-engine cc-vars cc-defs add-log etags rx
showtip= saveplace hidesearch hide-lines gtags flymake-extension
fringe-helper flymake ecb warnings ecb-symboldef ecb-analyse
ecb-compati= bility ecb-winman-support ecb-autogen autoload ecb-tod
ecb-cycle ecb-esh= ell ecb-help ecb-jde ecb-method-browser hideshow
ecb-semantic ecb-file-b= rowser ecb-speedbar ecb-layout ecb-create-layout
ecb-compilation ecb-common-browser speedbar sb-image dframe assoc
ecb-na= vigate ecb-mode-line ecb-face tree-buffer ecb-upgrade
ecb-cedet-wrapper = semantic/db-mode semantic/db-find semantic/db-ref
semantic/analyze seman= tic/sort semantic/scope semantic/analyze/fcn
semantic/db eieio-base semantic/format ezimage semantic/tag-ls
semantic/= ctxt semantic/util-modes easymenu semantic/util semantic
semantic/tag se= mantic/lex semantic/fw eieio byte-opt bytecomp
byte-compile mode-local c= edet wid-edit ecb-util thingatpt silentcomp
browse-kill-ring derived anything-match-plugin anything-grep grep
compil= e anything advice advice-preload help-fns edmacro kmacro sort
cygwin-mou= nt ange-ftp regexp-opt comint ring executable cl cl-19 tooltip
ediff-hoo= k vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp
w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register
pa= ge menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
fo= nt-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-la= ng vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
ca= se-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minib= uffer faces cus-face files text-properties overlay md5 base64
format env= code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)

--20cf30549d3330bb5a049ac10ade-- ------------=_1454876641-28611-1--