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

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

Re: Function to find outer parenthesis


From: David Kastrup
Subject: Re: Function to find outer parenthesis
Date: Mon, 08 May 2006 17:38:18 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Leo Liou" <leo.liou@centrify.com> writes:

> In analyzing programs in the edit buffer, I sometimes wish I can do this - 
> from
> where the cursor is, find the first outer "{" backward.
>
> I wonder if there is an existing function or way to do this.
> Thanks :-)

<C-M-up> runs the command backward-up-list
   which is an interactive compiled Lisp function in `lisp.el'.
It is bound to <C-M-up>, C-M-u, ESC <C-up>.
(backward-up-list &optional ARG)

Move backward out of one level of parentheses.
With ARG, do this that many times.
A negative argument means move forward but still to a less deep spot.

[back]


-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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