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: Lennart Borgman (gmail)
Subject: Re: parse-partial-sexp parses only Lisp?
Date: Wed, 02 Apr 2008 16:59:57 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

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 via email to

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