From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.bugs Subject: bug#25529: diagnosis and one approach to a fix Date: Tue, 07 Feb 2017 06:07:16 -0700 Message-ID: <87a89y87zv.fsf@tromey.com> References: <87wpd58ag6.fsf@tromey.com> <87shnt89be.fsf@tromey.com> <87o9yg8qdi.fsf@tromey.com> <87k2948onb.fsf@tromey.com> <183374a4-6469-44af-6ae6-fec02874547a@yandex.ru> <87bmuf8c1l.fsf@tromey.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486472899 21442 195.159.176.226 (7 Feb 2017 13:08:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2017 13:08:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux) Cc: Tom Tromey , 25529@debbugs.gnu.org, Stefan Monnier To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 07 14:08:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb5VG-0005Qa-LT for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Feb 2017 14:08:14 +0100 Original-Received: from localhost ([::1]:53955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb5VM-0007fg-5v for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Feb 2017 08:08:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb5V9-0007cV-82 for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 08:08:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb5V4-00075g-Aa for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 08:08:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60204) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cb5V4-00075b-3m for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 08:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cb5V3-0006oB-VC for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 08:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tom Tromey Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Feb 2017 13:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25529 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25529-submit@debbugs.gnu.org id=B25529.148647286326145 (code B ref 25529); Tue, 07 Feb 2017 13:08:01 +0000 Original-Received: (at 25529) by debbugs.gnu.org; 7 Feb 2017 13:07:43 +0000 Original-Received: from localhost ([127.0.0.1]:58403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb5Ul-0006nd-6A for submit@debbugs.gnu.org; Tue, 07 Feb 2017 08:07:43 -0500 Original-Received: from gproxy2-pub.mail.unifiedlayer.com ([69.89.18.3]:50374) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1cb5Ui-0006nO-MG for 25529@debbugs.gnu.org; Tue, 07 Feb 2017 08:07:41 -0500 Original-Received: (qmail 18359 invoked by uid 0); 7 Feb 2017 13:07:27 -0000 Original-Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy2.mail.unifiedlayer.com with SMTP; 7 Feb 2017 13:07:27 -0000 Original-Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id hp7J1u00G2f2jeq01p7MEt; Tue, 07 Feb 2017 06:07:21 -0700 X-Authority-Analysis: v=2.1 cv=WOnsABcR c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=n2v9WMKugxEA:10 a=vaJtXVxTAAAA:8 a=1T4yIHi5z5I-p8NItC4A:9 a=hCt-GehETBxEYQOojhlW:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aLlZDrbjqjLRSji5seDDaUWqvnn+cHirUcsPjwdxgcA=; b=gRW8x3BFGK0a7NqXTP1extxrlN 5lkltu+2U1M9b25h2AfG34PjEv8YSKzFqn3ZOYyJIRa9jO871okUdWWMQW3DlOWX3eUOtoqc7gKP+ c6OiTLHdi9gKLPlw4mHW7fNLk; Original-Received: from 174-16-146-181.hlrn.qwest.net ([174.16.146.181]:44214 helo=pokyo) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cb5UL-0006Ko-Vb; Tue, 07 Feb 2017 06:07:18 -0700 X-Attribution: Tom In-Reply-To: (Dmitry Gutov's message of "Tue, 7 Feb 2017 04:20:40 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box522.bluehost.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 174.16.146.181 X-Exim-ID: 1cb5UL-0006Ko-Vb X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 174-16-146-181.hlrn.qwest.net (pokyo) [174.16.146.181]:44214 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129066 Archived-At: >>>>> "Dmitry" == Dmitry Gutov writes: >> Also, what is the purpose of the first call to >> js-syntax-propertize-regexp in js-syntax-propertize? Dmitry> I'm not sure. Normally, that helps deal with multiline literals, but Dmitry> regexps in JavaScript are single-line. Maybe Stefan remembers. Based on discussion in the multi-mode thread, I'm thinking perhaps it handles the case where the start of the regexp literal was syntax-ified but not the end. Tom