From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#24870: 26.0.50; parse-partial-sexp ignores comment-end Date: Wed, 30 Nov 2016 20:17:17 -0500 Message-ID: <87mvggh2hu.fsf@users.sourceforge.net> 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 1480555042 11534 195.159.176.226 (1 Dec 2016 01:17:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2016 01:17:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24870@debbugs.gnu.org To: Matt Armstrong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 01 02:17:15 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 1cCFzq-0001Rn-5x for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Dec 2016 02:17:10 +0100 Original-Received: from localhost ([::1]:47407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCFzt-0007Tg-Mv for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2016 20:17:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCFzn-0007TZ-Fj for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 20:17:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCFzi-0007o2-GH for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 20:17:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCFzi-0007nm-Bv for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 20:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cCFzi-0001d8-16 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 20:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Dec 2016 01:17: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.14805549885305 (code B ref 24870); Thu, 01 Dec 2016 01:17:01 +0000 Original-Received: (at 24870) by debbugs.gnu.org; 1 Dec 2016 01:16:28 +0000 Original-Received: from localhost ([127.0.0.1]:47920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCFz9-0001N1-UJ for submit@debbugs.gnu.org; Wed, 30 Nov 2016 20:16:28 -0500 Original-Received: from mail-io0-f176.google.com ([209.85.223.176]:35573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCFz7-0001GT-TX for 24870@debbugs.gnu.org; Wed, 30 Nov 2016 20:16:26 -0500 Original-Received: by mail-io0-f176.google.com with SMTP id a124so385855809ioe.2 for <24870@debbugs.gnu.org>; Wed, 30 Nov 2016 17:16:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ikZDrzoca/+5U2P6d9Cp5LgLuFgAZGC1kMwktcreEaA=; b=fcjOo1W/iLTru7GML8dSjMvNn83kmUIjyE4yn3f2+kTcPnLEoCqxftr1Ee7KZs2oiF WNd9lmpZy2yR68v98lJTXnJ/UIxe4FZbKxFKCWpezRk7NVSDgRVKlFNYF0cDGggTW8qr As1ulc3DhCAYLYM0L4QDfsNiotozFt5XvVAtaz0AosAD+fRKnQJbJ26B7qLuM+4bfdAT mRaU+nNjbGXRD7HYnsKNvwAPgQTn57h2Si/+BBULb35h8cg9IC/gT4M5Qw/cp0ejKzi+ Iygauk5wD/hKCtUNJUYcMDixUKzNiH0zPI8M5p2w4qSe+5BKTBs4d8Aj4/zsr8VHWFgI scFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=ikZDrzoca/+5U2P6d9Cp5LgLuFgAZGC1kMwktcreEaA=; b=EGSVSnp62329jn6wRf6JFIdPrFczM4b5jUD2+HUgj1AlZoSQFUzKK63VRNQ/+XQrRP sw5TpI8VaMr7KYyavz56wpArS5RnI/8WcCb9WbmHPh6MHailrA9f/fuzZyIM3TNxWMIS 4paISVEulVGTqWyRRfjvMkdD+qqBEtyCUiQU5XrNScSmMCVNlvWiiNCUT3dS0caR/R1a qytdkHqn91IYVZqh9ZDveV/pfHmyD18UxhsCFDDWwh+dueCcueCRgxO7+L/kOkpeE7sL gkCxW+jwFqj5+YhyehEZhG2cNY8zv39VxSLrMR2YM6YpTrU7rA3gLyfs8hmpHh2gBrDV cC8Q== X-Gm-Message-State: AKaTC00XvNVWhJ2M0hqKF7bVdHqjgGfP/owYv2S/WS/Qf5wvzqvSC/REcsTqLK3U5ddmqw== X-Received: by 10.107.51.198 with SMTP id z189mr29766608ioz.6.1480554980282; Wed, 30 Nov 2016 17:16:20 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id u73sm3569345ita.22.2016.11.30.17.16.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Nov 2016 17:16:19 -0800 (PST) In-Reply-To: (Matt Armstrong's message of "Wed, 30 Nov 2016 15:02:39 -0800") 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:126341 Archived-At: Matt Armstrong writes: > 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!) This seems similar to #24767.