From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.bugs Subject: bug#24870: 26.0.50; parse-partial-sexp ignores comment-end Date: Wed, 30 Nov 2016 15:02:39 -0800 Message-ID: References: <7cb86247-1e30-f029-0b9b-c53cc096ec4b@easy-emacs.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1480546995 24939 195.159.176.226 (30 Nov 2016 23:03:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2016 23:03:15 +0000 (UTC) Cc: 24870@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 01 00:03:11 2016 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 1cCDu9-0005aN-C1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Dec 2016 00:03:09 +0100 Original-Received: from localhost ([::1]:47032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCDuC-0000zg-Tb for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2016 18:03:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCDu6-0000zJ-Kw for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 18:03:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCDu2-00072v-GW for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 18:03:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60685) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCDu2-00072p-Ce for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 18:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cCDu2-0003W3-0P for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 18:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matt Armstrong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2016 23:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24870 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 24870-submit@debbugs.gnu.org id=B24870.148054697013493 (code B ref 24870); Wed, 30 Nov 2016 23:03:01 +0000 Original-Received: (at 24870) by debbugs.gnu.org; 30 Nov 2016 23:02:50 +0000 Original-Received: from localhost ([127.0.0.1]:47851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCDtp-0003VZ-TW for submit@debbugs.gnu.org; Wed, 30 Nov 2016 18:02:50 -0500 Original-Received: from mail-pg0-f47.google.com ([74.125.83.47]:33663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCDtn-0003VK-RR for 24870@debbugs.gnu.org; Wed, 30 Nov 2016 18:02:48 -0500 Original-Received: by mail-pg0-f47.google.com with SMTP id 3so86977769pgd.0 for <24870@debbugs.gnu.org>; Wed, 30 Nov 2016 15:02:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=mRT/zvJvp4//IXqeP+sqi/tThQ+nLCQ0zhrrVxIDBD0=; b=Qpklc1Hmd77cerj4QglY+2UygV+Plq3RvEfrcVV5HhHGa6FKHPl6W4w27a870uwmDj fUVK/ZsgKWaIu0/aUWj3ZT3GmE3tOWUHPb+kQVYpulpLY0voLmRVbpMTGeBv1k0PYKQI iteVQF2yx0FjXjfgxkoJ6oZ7ZSEbqElOk3zL7NmU615p/ZfKEHdeviWUpP3Yo2A0G+8a P4Z3oCcpuZH+3sUaCjFBjZQmPpaxg4X+YWHG8Qe8Owhz3FBb84CNJ1KSEfVCuIyCAQZL ZyKkTTfX3RphVarEVsBAtULVl3m8oizwD++OonlAQloOa3F5zvGyKmZb8F4OAmb2f2dw fw7w== 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:references:date :message-id:mime-version:content-transfer-encoding; bh=mRT/zvJvp4//IXqeP+sqi/tThQ+nLCQ0zhrrVxIDBD0=; b=A0D/Fh7Gv1GTnXxfvyRv/Vr5kkjrN1Eop04QYsUekUIIZiAjy8GEtK/7HnhDfTUg9y MZPqENV6/hd64VHTwiGn32TiO5gNw5ZN1XDQCq8XO/T5wOVPib353PU3hvdvauk8Wiqa xDJniya/15A/EmZi4GIoLloNyYZ4TQS3bv3gq67AkhWmaOR03HZwgxj8ATxPMq+3zxu0 mY+vEOVwa9rwXe/okZMTUNJ9Uw8YLmuRCgvZbZml4iiGncGPSUazcefh8dicE6IOSzpw BuN/kSZ2IcHo2iYmi9SJANjkJ4LtmAhZTdQsTyhxei4g33T0ai4XoSGL4AHwzsxkKNiS ayvQ== X-Gm-Message-State: AKaTC0317de7O/WC0bbACFKUMGOYLwiKCgY5J7mMBTQRzZAeoLIWCXZAeFvO+A1tXPRKoBjg X-Received: by 10.84.216.20 with SMTP id m20mr78087233pli.126.1480546961507; Wed, 30 Nov 2016 15:02:41 -0800 (PST) Original-Received: from marmstrong-linux.kir.corp.google.com ([2620:0:1008:11:f0be:8897:bbf8:427d]) by smtp.gmail.com with ESMTPSA id i124sm87526223pgd.15.2016.11.30.15.02.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Nov 2016 15:02:40 -0800 (PST) In-Reply-To: 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:126336 Archived-At: Andreas R=C3=B6hler writes: > On 30.11.2016 10:10, Matt Armstrong wrote: >> Andreas R=C3=B6hler writes: >>> haskell-mode, at EOB: --- {- To explore this file: -} asdf =3D ---=20 >>> parse-partial-sexp thinks being inside a paren - see attachment. GNU=20 >>> Emacs 26.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2016-10-11= =20 >> Hi Andreas, Emacs does not have a haskell-mode, so this bug is=20 >> difficult to reproduce. It may be more appropriate to report this to=20 >> the haskell-mode maintainers for triage. They can figure out if it is=20 >> a problem that should be fixed in haskell-mode itself, or a problem=20 >> with Emacs. Alternatively, can you provide a series of clear=20 >> instructions to reproduce the problem in a fresh Emacs started without=20 >> your customizations? For example, begin by running "emacs -Q" and go=20 >> from there. Your attached .png presents a buffer called=20 >> *parse-partial-sexp-output*, but it is not clear how this was=20 >> generated. Thanks > Hi Matt, > > checked that with help of the haskell-mode folks already. > https://github.com/haskell/haskell-mode/issues/1459 Thanks. For reference, this is what you have said on the github bug: Seems a bug of GNU Emacs 26.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2016-11-15 Does not exist at GNU Emacs 25.1.90.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2016-11-29 > As it's nice at current pretest Emacs, concluded a bug in trunk. > Here a shortened recipe. Put code below in a buffer: > || > |{- Just a comment: -}| > > M-x haskell-mode RET Note that haskell-mode is not part of Emacs. Ideally, your steps to reproduce that begin with running "emacs -Q". Emacs maintainers that might not also be Haskell hackers will appreciate it. :) Also, can you describe the visible symptom that caused you to begin looking at syntax-ppss and parse-partial-sexp? That description may help me or others spot similarities with other reported bugs. (I must say that I am not an Emacs expert, and I do not usually reply to Emacs bugs. I looked at a few bugs last night as a way to help maintainers triage the "easy" bugs. It does not look like this bug is easy!)