From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: forward-comment and syntax-ppss Date: Thu, 8 Dec 2016 15:34:18 -0500 Message-ID: References: <20161206195507.GA2996@acm.fritz.box> <83fd1db0-7362-6117-c5cd-715398c0dea4@gmail.com> <20161207220447.GA4503@acm.fritz.box> <20161208201517.GB3120@acm.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="abdd2LwigsW6kEtLDCNDm0OnB5LBGwJc3" X-Trace: blaine.gmane.org 1481229290 3480 195.159.176.226 (8 Dec 2016 20:34:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2016 20:34:50 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 08 21:34:47 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cF5Ov-0008BC-5r for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2016 21:34:45 +0100 Original-Received: from localhost ([::1]:48753 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF5Ox-0008SL-6d for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2016 15:34:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF5Om-0008Ry-83 for emacs-devel@gnu.org; Thu, 08 Dec 2016 15:34:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cF5Oh-0004QF-8d for emacs-devel@gnu.org; Thu, 08 Dec 2016 15:34:36 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.130]:49456) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cF5Og-0004Q1-UL for emacs-devel@gnu.org; Thu, 08 Dec 2016 15:34:31 -0500 Original-Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.168]) with ESMTPSA (Nemesis) id 0MWORa-1c91e30Vb8-00Xem9 for ; Thu, 08 Dec 2016 21:34:29 +0100 In-Reply-To: <20161208201517.GB3120@acm.fritz.box> X-Provags-ID: V03:K0:ziKn2q6T+ncHCNeRejbJPd1AxTJWnNE30x2W1ZhGsFg1FEqA6ch q0JDsR6jez9CcVkGus1dVzKMQ2K4yOmEqOQbN1u5hkJR6WWBWShtpcZuLuA9zNwKE3wiTxz oAlZa7n/XW+lBphqyT4nknRx8+JbWYbCaPc9EUs8H9e1wDcBvP/lkfjfVdQ99F2XYzIsvcl KsC4uHNz5RUMwJR11d2og== X-UI-Out-Filterresults: notjunk:1;V01:K0:L47iR2mjbqQ=:KAXIP80rpuE4sb/Gx09xge 8rPZCddsC1dz644OnOMLTqprXZ6w/3wTuyujG47Z5Mlkky4x6iVbA8ynQuc9eOnvzTxytsHqL AtDHAOPkFdHLee9atWuNih+c7YsyEXxPhbO0dhwTDZOHU87AM5sRhUZxQTjvx/P0hCzxRhEMS 36X8UxEMKxIgqLCBB5WQL5cUYk1iUlwSyzrJdvuK3eAmrCsI4RKek/e4ie9wM7usGRnuFAyDm Nl55U7zgJbig8sL+hWKxQQZQfpd38THBNvMLkkWKCw0EcCn327wYI80ujtU6CodlD4FdJa2cV jJ8O+0sVM52PHB0II+EYRiHrsZ/0wk700CjGkZmnJIxmWUKloGejDnjDEZiWRkRauhgbLp/4D bUVVRrO6cHUtghb5KxZP09PQO5j+6zLtDvrLsImB7Eq2iZmVOdv1a1IzpF0lJ2Euo3Uk6b8N9 HkolaNONNxUNiYLX5eX0r3Bm3NARNJiW47ztk9PvNPyfLao4oA7mbeTKuXuWdsdhq0JsI4964 omuEoPR71CfXWyMSGIVlqFT/+liNPQGBKiuWevIEljmErHouhL1R6OdETRXHNBAB2ebhk3URS d2B4um1sTVgwrMQFPcjlsbMTxYNFJzQOLLtRpW4DsmT0OKNp5ejwxXZ9OXvih1NqC2QnUpTp7 98yqa7KCzOLGoE1rgb2DVUQWG9v7ES+l3WZYIWNji/jfjQ765ZH/lrBSPTb22CT+xRCQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.130 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210153 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --abdd2LwigsW6kEtLDCNDm0OnB5LBGwJc3 Content-Type: multipart/mixed; boundary="nfeIw552POB2NbuN2clBP7C9otnv3CxHQ"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: Subject: Re: forward-comment and syntax-ppss References: <20161206195507.GA2996@acm.fritz.box> <83fd1db0-7362-6117-c5cd-715398c0dea4@gmail.com> <20161207220447.GA4503@acm.fritz.box> <20161208201517.GB3120@acm.fritz.box> In-Reply-To: <20161208201517.GB3120@acm.fritz.box> --nfeIw552POB2NbuN2clBP7C9otnv3CxHQ Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-12-08 15:15, Alan Mackenzie wrote: > As I said above, I think syntax-ppss should be retired and replaced by = a > function which does parse-partial-sexp starting at 1 rather than > (point-min). Doesn't the following do that? (save-restriction (widen) (syntax-ppss)) (Or does this break the cache in some way?) --nfeIw552POB2NbuN2clBP7C9otnv3CxHQ-- --abdd2LwigsW6kEtLDCNDm0OnB5LBGwJc3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYScPLAAoJEPqg+cTm90wjMGYP/jq2R0U4anL5kHFOjhhzuBhM 9pVRyV4VqhTfpNB5kZHZ+I7wBp2y1Qb6nbjRbeMiGm1HpWgRGIK+Nl0WFkKPlPBk dw6oW4WQaw88r0fCHu7sR8H4A0OYanzfl2ZK3I18yDWmzmy5JJqWLFdz0nSgNwg9 ejggJroRPB64pH+VZ0NYbb6bYOx1VRewagk2pTuMEWIehNGs2yu+weH1IH7NHXd+ nDuO/h0HQQGdycwqPUOVqv8UpHneeVp/EaYpcLaP3/MfcSBAQVT05Of2Z5iVpc9s HmR/lE7Mf0W9/HLq+iRcD4o8VEd00v5TqnAwaUfqNEw5hgwJhPsWsK0NXuiC3WuH aKXXH64n9T1TLg0aj0EFram/bBb2jNhr+NSbMLc6xiI5sbCbvQKOIk9+e6UHRtrt XPKucI7BH+G8ZWtCQQpfZtUyZPrWVn2u/lHAlr8vww71u+g/QNqg5K1nNEgN3ZQM lO16R97H2s8yu9w9wBEMTf7DZ90gkb6hDoYSDphAiDzblMXuD4fMHn52jSOa6tbw 9Dz6INcH3UB/bXdiNpaRhY/y9naTYvUE5JnBTjl6zsbcWuWXRIWX+h5H0a5wmbMF 46v++izqvbtCDGafWFNap8aTvc2yEQ9t843ibOiHYk/i5UWZQN6wI14PI++M3A6/ dDuFAuOaBDwKNXzeLJoJ =HnV5 -----END PGP SIGNATURE----- --abdd2LwigsW6kEtLDCNDm0OnB5LBGwJc3--