From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Function to find outer parenthesis Date: Mon, 08 May 2006 17:38:18 +0200 Organization: Organization?!? Message-ID: <85irogle6t.fsf@lola.goethe.zz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147102839 27337 80.91.229.2 (8 May 2006 15:40:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 May 2006 15:40:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 08 17:40:35 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fd7qR-00012U-Kk for geh-help-gnu-emacs@m.gmane.org; Mon, 08 May 2006 17:40:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd7qR-0001HI-6J for geh-help-gnu-emacs@m.gmane.org; Mon, 08 May 2006 11:40:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!news.arcor.de!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:0WWpcOt/csM9J8t/mf6P6TiyxyM= Original-Lines: 22 Original-NNTP-Posting-Date: 08 May 2006 17:38:35 MEST Original-NNTP-Posting-Host: c94b5f74.newsread2.arcor-online.net Original-X-Trace: DXC=M:W2__PH2`iCUhGd:LVK2eQ5U85hF6f; djW\KbG]kaMh[NGU2GAcMGjM\UiIG4<4egQ1Yo0:e7@Pkc[Wn>\JAZH`1\F@YcEWMRlCOZTGL=7[Pm Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:139278 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34901 Archived-At: "Leo Liou" 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 :-) runs the command backward-up-list which is an interactive compiled Lisp function in `lisp.el'. It is bound to , C-M-u, ESC . (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