emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parse-partial-sexp parses only Lisp?


From: Stefan Monnier
Subject: Re: parse-partial-sexp parses only Lisp?
Date: Wed, 02 Apr 2008 13:38:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]