all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: parse-partial-sexp parses only Lisp?
Date: Wed, 02 Apr 2008 16:59:57 +0200	[thread overview]
Message-ID: <47F39F6D.7060100@gmail.com> (raw)
In-Reply-To: <47F347CD.1030707@gmx.at>

martin rudalics 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.




  reply	other threads:[~2008-04-02 14: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) [this message]
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)

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=47F39F6D.7060100@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --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.