From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#22983: [ Patch ] Re: bug#22983: syntax-ppss returns wrong result. Date: Sun, 17 Sep 2017 11:12:25 +0000 Message-ID: References: <9fc66395-045c-1984-f530-033c2ff706f6@yandex.ru> <83h8wlz1kf.fsf@gnu.org> <20170902174027.GB4267@ACM> <20170907204502.GC4488@ACM> <69e034d3-7a52-cc81-dc56-e5308ad5dce0@yandex.ru> <20170910113626.GB3588@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113cddce0b3166055960b4e1" X-Trace: blaine.gmane.org 1505646793 21795 195.159.176.226 (17 Sep 2017 11:13:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 17 Sep 2017 11:13:13 +0000 (UTC) Cc: John Wiegley , 22983@debbugs.gnu.org To: Alan Mackenzie , Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 17 13:13:06 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 1dtXVZ-0005OD-0m for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Sep 2017 13:13:05 +0200 Original-Received: from localhost ([::1]:60076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtXVg-0001zI-D8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Sep 2017 07:13:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtXVa-0001yw-Kb for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 07:13:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtXVW-0002od-KT for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 07:13:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35810) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dtXVW-0002oU-Fg for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 07:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dtXVW-0000k7-9k for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 07:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Sep 2017 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22983 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22983-submit@debbugs.gnu.org id=B22983.15056467632831 (code B ref 22983); Sun, 17 Sep 2017 11:13:02 +0000 Original-Received: (at 22983) by debbugs.gnu.org; 17 Sep 2017 11:12:43 +0000 Original-Received: from localhost ([127.0.0.1]:44491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtXVC-0000jb-RG for submit@debbugs.gnu.org; Sun, 17 Sep 2017 07:12:43 -0400 Original-Received: from mail-oi0-f54.google.com ([209.85.218.54]:50333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtXVB-0000jO-PH for 22983@debbugs.gnu.org; Sun, 17 Sep 2017 07:12:42 -0400 Original-Received: by mail-oi0-f54.google.com with SMTP id w65so3329744oia.7 for <22983@debbugs.gnu.org>; Sun, 17 Sep 2017 04:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/H/ewLXAjG5TSzPqmfSbVN8eWa+8yl6RfOMHdq5BoF8=; b=KiyqISZk7jvIe1Av9RbdTW2N8RC6emGBZjFB0GIYnFCXk1/CRY/rFIxPw6ABf8iImw kEmRttY/Ql1WLHBr7GQSWZyZnpIh6chBcfPfXue7CSAfIYkpcgz40h1NSKETXc3vqA4O Ue97VOkqPRAyFqRI4JR3x6xNUgolc1SuQCZwZJgimMhgIkyDy2pd+v0UQhcfrNtEsiWd BAHY8OoZH9klSVpBqUtwIbilosR8cBYovscC4wVDCNKMkEoci+/Hg3zCxfwX6gVChDPx vUOq9wXnlQxVTD0kLPh4oiooC/j3/K1TJBXFvBrHpXFkGvHRoYGNhtvdRLtLrq33Klrp fa1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/H/ewLXAjG5TSzPqmfSbVN8eWa+8yl6RfOMHdq5BoF8=; b=MIqcNvmqAgQlt09Xy4KCaB5eFauL0NBPzqhUJQiMZgif43cEDzIhhXREACLZ9CxdJh zppguXzajxCBFBZ+wFU5b/bydU5mDrVlqM53051l9kx+sHULGmwECY5yRtHrD9neQKhD jv+K1bFAftlbGtBaxOr27HvrybTUpaB9tH+zvaJ89YqMNZ0a4B0ooc0XGHEBQotmqHjB XxP0awZindpSBWBDKVsjNukMsKZZoIV8RpD6WhKiXo6nDzSIaGLamMsmQkU2SiPBoGwE Q7kIhTXsQYM+7ZRo9V9l5Zpk8vmTMmYceR/I5cn+K0tDtVXSc67VaW/JmxIZrqdGGt0k RB8Q== X-Gm-Message-State: AHPjjUjsGCN1bu/N+WlyfUaJJFC5bXq0qlrDyO862WmDCcj9VtbZfdJr yzyOK4zXJtAiM25iIGDw44iMOo1rCGgPcLJ3yqQ= X-Google-Smtp-Source: AOwi7QC2XNxj5hjo4fFUMV/1TXr9ZSswWezzSs5FBZvDC28nfhCSr0mRuCmlB+6/BTgXoLExB06kN58l2J2/OV/rYAs= X-Received: by 10.202.177.195 with SMTP id a186mr18537627oif.32.1505646755916; Sun, 17 Sep 2017 04:12:35 -0700 (PDT) In-Reply-To: <20170910113626.GB3588@ACM> 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:137025 Archived-At: --001a113cddce0b3166055960b4e1 Content-Type: text/plain; charset="UTF-8" Alan Mackenzie schrieb am So., 10. Sep. 2017 um 13:42 Uhr: > > > - Before this change is pushed to master, or shortly after, I'd like to > > know that it actually fixed the problem Philipp experienced with > > python-mode, so we can revert 4fbd330. If it was caused by e.g. > > syntax-table changing, we've not improved much. > > Philipp, any chance of you trying out python mode with this patch but > without 4fbd330? Unfortunately the problem wasn't easily reproducible back then. The problem would occur from time to time, but I never found a way to trigger it reproducibly. Therefore the unit test I've added in the commit artificially generates the symptom. The root cause is still unknown; while syntax-ppss and narrowing might be a potential root cause (the fontification code uses both), it might also be something else. --001a113cddce0b3166055960b4e1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Alan M= ackenzie <acm@muc.de> schrieb am So= ., 10. Sep. 2017 um 13:42=C2=A0Uhr:

> - Before this change is pushed to master, or shortly after, I'd li= ke to
> know that it actually fixed the problem Philipp experienced with
> python-mode, so we can revert 4fbd330. If it was caused by e.g.
> syntax-table changing, we've not improved much.

Philipp, any chance of you trying out python mode with this patch but
without 4fbd330?

Unfortunately the problem = wasn't easily reproducible back then. The problem would occur from time= to time, but I never found a way to trigger it reproducibly. Therefore the= unit test I've added in the commit artificially generates the symptom.= The root cause is still unknown; while syntax-ppss and narrowing might be = a potential root cause (the fontification code uses both), it might also be= something else.=C2=A0
--001a113cddce0b3166055960b4e1--