From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#24870: 26.0.50; parse-partial-sexp ignores comment-end Date: Thu, 15 Dec 2016 09:18:01 +0100 Message-ID: References: <7cb86247-1e30-f029-0b9b-c53cc096ec4b@easy-emacs.de> <87mvggh2hu.fsf@users.sourceforge.net> <87h967cj0f.fsf@users.sourceforge.net> <87eg1bcg0y.fsf@users.sourceforge.net> <20161214195623.GA3881@acm.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1481789357 27574 195.159.176.226 (15 Dec 2016 08:09:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2016 08:09:17 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.5.1 Cc: 24870@debbugs.gnu.org, Matt Armstrong To: Alan Mackenzie , npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 15 09:09:13 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 1cHR6D-000689-RH for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Dec 2016 09:09:09 +0100 Original-Received: from localhost ([::1]:52916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHR6I-0008EG-2s for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Dec 2016 03:09:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHR6A-000883-IJ for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2016 03:09:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHR67-0001TZ-Cy for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2016 03:09:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55208) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHR67-0001TV-A0 for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2016 03:09:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cHR66-0001Jb-Ba for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2016 03:09:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Dec 2016 08:09:02 +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: confirmed Original-Received: via spool by 24870-submit@debbugs.gnu.org id=B24870.14817893405048 (code B ref 24870); Thu, 15 Dec 2016 08:09:02 +0000 Original-Received: (at 24870) by debbugs.gnu.org; 15 Dec 2016 08:09:00 +0000 Original-Received: from localhost ([127.0.0.1]:42374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHR64-0001JL-IE for submit@debbugs.gnu.org; Thu, 15 Dec 2016 03:09:00 -0500 Original-Received: from mout.kundenserver.de ([212.227.17.13]:55811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHR62-0001J6-SK for 24870@debbugs.gnu.org; Thu, 15 Dec 2016 03:08:59 -0500 Original-Received: from [192.168.178.35] ([77.12.54.84]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.183]) with ESMT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xlAPO5xWtSIGlTM5Pq86ABIp6KrswBKB627oe2MPv064Mnb+CmuylkUBc dSAZ6fwaOiGTmdkQ 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:127047 Archived-At: On 14.12.2016 20:56, Alan Mackenzie wrote: > > We're talking about 9dcf5998935c8aaa846d7585b81f0dcfe1935b3d from Sun > Mar 20 13:19:48 2016 +0000, still? > > The idea is that in a (parse-partial-sexp from to), the end position > might be in the middle of a two character comment marker, such as "/*". > Before this change, it was impossible successfully to use the result of > that operation as the old state for continuing parse-partial-sexp from > that position, since it did not contain enough info to see it was in a > comment after passing the "*" > > The change 9dcf599 added an extra element onto the parse state which was > non-nil when we end up after a "/", etc. > > Hi Alan, sounds like a classical mistake for me. You commented lately on the effect of narrowing and how simply to respect its results. Nothing further to say here. OTOH: do you have a use-case, a bug, which propelled the amendment? Thanks, Andreas