unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Honesty with parse-partial-sexp
Date: Fri, 08 Dec 2006 20:26:30 -0500	[thread overview]
Message-ID: <E1Gsqz0-000209-7F@fencepost.gnu.org> (raw)
In-Reply-To: <20061207185738.GA1607@muc.de> (message from Alan Mackenzie on 7 Dec 2006 18:47:33 +0100)

    2006-12-07  Alan Mackenzie  <acm@muc.de>

	    * 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?

  reply	other threads:[~2006-12-09  1:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07 17:47 Honesty with parse-partial-sexp Alan Mackenzie
2006-12-09  1:26 ` Richard Stallman [this message]
2006-12-09  4:04   ` Stefan Monnier
2006-12-09 18:25     ` Richard Stallman
2006-12-09 20:20       ` Stefan Monnier
2006-12-09  9:47   ` martin rudalics
2006-12-09 12:56     ` Miles Bader
2006-12-09 18:26     ` Richard Stallman
2006-12-09 20:30       ` Stefan Monnier
2006-12-11  1:05         ` Richard Stallman
2006-12-12  2:41           ` Stefan Monnier
2006-12-12 19:01             ` Alan Mackenzie
2006-12-12 19:29               ` Stefan Monnier
2006-12-12 19:53                 ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Gsqz0-000209-7F@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).