Stephen J. Turnbull wrote:
Andreas Roehler writes:
> IMHO a routine detecting nested forms is needed - for
> all kind of things which have a start and a end.
What is it you need that a sexp (s-expression, balanced expression)
doesn't give you?
Best to see in a shell-script: how to jump at the beginning or end
of a nested "if/fi"?
IMO it was not possible in a simple way.
sh-beg-end.el implements that.
> Such a form should take start and end as arguments,
> then report nesting levels and positions of beginnings
> and ends.
Well, really it ought to take a list of start-end pairs, no?
Precisely. sh-beg-end does it, but is hard-coded for its purpose.
Just to make it up into the general.
XEmacs-Beta mailing list