[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Honesty with parse-partial-sexp
From: |
Stefan Monnier |
Subject: |
Re: Honesty with parse-partial-sexp |
Date: |
Sat, 09 Dec 2006 15:20:39 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
>> ! 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?
> I believe Alan's text is more correct, although it depends on the state
> argument you passed into parse-partial-sexp.
> His text is correct if you pass a STATE argument that reflects parsing
> since the beginning of the buffer. I think my text is always correct,
> with the understanding that "the text that was parsed" includes
> previous calls carried over in the STATE argument.
Indeed. And I'm glad I'm not the one trying to explain this in the doc ;-)
Stefan
- Honesty with parse-partial-sexp, Alan Mackenzie, 2006/12/07
- Re: Honesty with parse-partial-sexp, Richard Stallman, 2006/12/08
- Re: Honesty with parse-partial-sexp, martin rudalics, 2006/12/09
- Re: Honesty with parse-partial-sexp, Miles Bader, 2006/12/09
- Re: Honesty with parse-partial-sexp, Richard Stallman, 2006/12/09
- Re: Honesty with parse-partial-sexp, Stefan Monnier, 2006/12/09
- Re: Honesty with parse-partial-sexp, Richard Stallman, 2006/12/10
- Re: Honesty with parse-partial-sexp, Stefan Monnier, 2006/12/11
- Re: Honesty with parse-partial-sexp, Alan Mackenzie, 2006/12/12
- Re: Honesty with parse-partial-sexp, Stefan Monnier, 2006/12/12
- Re: Honesty with parse-partial-sexp, Alan Mackenzie, 2006/12/12