From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Musings: Supposed places of safety, guaranteed by parse-partial-sexp are not safe. Date: Mon, 05 Dec 2011 08:41:19 +0100 Message-ID: <4EDC759F.70801@gmx.at> References: <20111203232301.GD4566@acm.acm> <4EDB4E50.1060202@gmx.at> <4EDBA888.2060202@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1323070892 26544 80.91.229.12 (5 Dec 2011 07:41:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2011 07:41:32 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 05 08:41:28 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RXTB1-0003qS-Rs for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2011 08:41:28 +0100 Original-Received: from localhost ([::1]:57158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXTB1-0008EZ-1c for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2011 02:41:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXTAx-0008Dx-96 for emacs-devel@gnu.org; Mon, 05 Dec 2011 02:41:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXTAw-0003t8-35 for emacs-devel@gnu.org; Mon, 05 Dec 2011 02:41:23 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:58424) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RXTAv-0003rs-Lg for emacs-devel@gnu.org; Mon, 05 Dec 2011 02:41:22 -0500 Original-Received: (qmail invoked by alias); 05 Dec 2011 07:41:19 -0000 Original-Received: from 62-47-36-242.adsl.highway.telekom.at (EHLO [62.47.36.242]) [62.47.36.242] by mail.gmx.net (mp066) with SMTP; 05 Dec 2011 08:41:19 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/nne56ShXnPeO42/zBi+K0SphACQaardv2kWfJHT +HSlxdXo8WsMfp User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146487 Archived-At: >> What I meant was that the caller would have to care about (nth 5 ppss) >> too, wherever she now looked only at (nth 3 ppss) and (nth 4 ppss). > > That's what I understood and my suggestion does address this issue (tho > it means that (nth 5 ppss) will sometimes refer to a buffer position > after (point) and sometimes before). I still miss what you need (nth 5 ppss) for here. Is it for providing the OLDSTATE argument in another call to `parse-partial-sexp'? martin