From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: martin rudalics <rudalics@gmx.at>, Emacs Devel <emacs-devel@gnu.org>
Subject: Re: parse-partial-sexp parses only Lisp?
Date: Wed, 02 Apr 2008 19:59:22 +0200 [thread overview]
Message-ID: <47F3C97A.6000201@gmail.com> (raw)
In-Reply-To: <jwvve302m4a.fsf-monnier+emacs@gnu.org>
Stefan Monnier wrote:
>>>> The first line of the doc string says so.
>>> `parse-partial-sexp' only happens to work correctly in many other modes
>>> hence I think that line is good. However, the doc string should mention
>>> the "9th element" of the parse state and the fact that element 8 is
>>> significant in STATE. Finally, the term "character address" should be
>>> replaced by "character position".
>
>> Thanks Martin. Some more things that I would like to know (from the doc
>> string in the future):
>
>> - What variables are used when searching for comments?
>> - What do I have to put in OLDSTATE to make it parse comments and strings
>> correctly? - assuming that I know about previous comments and strings and if
>> FROM is inside a comment or string.
>
> The description of the output is also the description of OLDSTATE.
Ok, thanks.
prev parent reply other threads:[~2008-04-02 17:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 22:23 parse-partial-sexp parses only Lisp? Lennart Borgman (gmail)
2008-04-02 8:46 ` martin rudalics
2008-04-02 14:59 ` Lennart Borgman (gmail)
2008-04-02 16:59 ` martin rudalics
2008-04-02 17:58 ` Lennart Borgman (gmail)
2008-04-05 20:42 ` David Hansen
2008-04-02 17:38 ` Stefan Monnier
2008-04-02 17:59 ` Lennart Borgman (gmail) [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47F3C97A.6000201@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rudalics@gmx.at \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.