[Top][All Lists]

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

Re: Honesty with parse-partial-sexp

From: Richard Stallman
Subject: Re: Honesty with parse-partial-sexp
Date: Sat, 09 Dec 2006 13:25:47 -0500

    >     ! This element is a list.  Its car is the character position of the
    >     ! start of the outermost parenthetical grouping containing the 
    >     ! 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.

reply via email to

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