all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* depth in parens
@ 2007-02-22  7:10 Andreas Roehler
  2007-02-22 10:35 ` David Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Roehler @ 2007-02-22  7:10 UTC (permalink / raw)
  To: help-gnu-emacs


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-22 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-22  7:10 depth in parens Andreas Roehler
2007-02-22 10:35 ` David Hansen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.