From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7921: 23.2.91; js-mode font lock problem with comments Date: Wed, 26 Jan 2011 22:22:19 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296098718 31780 80.91.229.12 (27 Jan 2011 03:25:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Jan 2011 03:25:18 +0000 (UTC) Cc: 7921@debbugs.gnu.org, Evan Owens To: Deniz Dogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 27 04:25:14 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PiITx-0007JR-5g for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jan 2011 04:25:13 +0100 Original-Received: from localhost ([127.0.0.1]:39463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiITw-0008DP-7U for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Jan 2011 22:25:12 -0500 Original-Received: from [140.186.70.92] (port=45381 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiITr-0008DE-Ko for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 22:25:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiITq-0000Mb-Jx for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 22:25:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiITq-0000MS-Fe for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 22:25:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PiIK7-00082h-3a; Wed, 26 Jan 2011 22:15:03 -0500 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 7921-submit@debbugs.gnu.org id=B7921.129609805530841 (code B ref 7921); Thu, 27 Jan 2011 03:15:03 +0000 Original-Received: (at 7921) by debbugs.gnu.org; 27 Jan 2011 03:14:15 +0000 Original-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 Original-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" Original-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 Original-Received: by ceviche.home (Postfix, from userid 20848) id 82C2D660DC; Wed, 26 Jan 2011 22:22:19 -0500 (EST) 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) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 26 Jan 2011 22:15:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43669 Archived-At: > 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