From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Honesty with parse-partial-sexp Date: Fri, 08 Dec 2006 20:26:30 -0500 Message-ID: References: <20061207185738.GA1607@muc.de> Reply-To: rms@gnu.org NNTP-Posting-Host: dough.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1165627783 29859 80.91.229.10 (9 Dec 2006 01:29:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Dec 2006 01:29:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 09 02:29:41 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gsr23-0000Ow-PA for ged-emacs-devel@m.gmane.org; Sat, 09 Dec 2006 02:29:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gsr23-0006HG-40 for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2006 20:29:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gsqz3-0004iO-7d for emacs-devel@gnu.org; Fri, 08 Dec 2006 20:26:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gsqz2-0004ht-5s for emacs-devel@gnu.org; Fri, 08 Dec 2006 20:26:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gsqz1-0004hk-UL for emacs-devel@gnu.org; Fri, 08 Dec 2006 20:26:31 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gsqz2-0000EN-0d for emacs-devel@gnu.org; Fri, 08 Dec 2006 20:26:32 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1Gsqz0-000209-7F; Fri, 08 Dec 2006 20:26:30 -0500 Original-To: Alan Mackenzie In-reply-to: <20061207185738.GA1607@muc.de> (message from Alan Mackenzie on 7 Dec 2006 18:47:33 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63485 Archived-At: 2006-12-07 Alan Mackenzie * syntax.texi (Parsing Balanced Expressions): Document the car of the ninth element returned by parse-partial-sexp. I think this is a good idea. The meaning of this is simple and useful. And if we ever want to change the data passed along from one call to parse-partial-sexp to the next, we still can. However, I think this text is not exactly right: ! This element is a list. Its car is the character position of the ! start of the outermost parenthetical grouping containing the stopping ! point; @code{nil} if none. Isn't it really the outermost parenthetical grouping that begins in the text that was parsed?