help-gnu-emacs
[Top][All Lists]
Advanced

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

depth in parens


From: Andreas Roehler
Subject: depth in parens
Date: Thu, 22 Feb 2007 08:10:52 +0100
User-agent: Thunderbird 1.5.0.4 (X11/20060516)


Hi,

can't follow first positions output of
`parse-partial-sexp' - depth in parens.

Cursor pos over pipe-symbol

(foo (bar))
_____|_____


`parse-partial-sexp' called at cursor pos

==>

(1 1 2 nil nil nil 0 nil nil (1))

i.e. depth in parens.
     ====> 1 <====



(foo (bar))
_________|_


(2 6 7 nil nil nil 0 nil nil (1 6))

i.e. depth in parens.
     ====> 2 <====

Shouldn't the opening and the closing delimiter of a
list have the same depth in parens?

Thanks

__
Andreas Roehler






reply via email to

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