From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chuck Siska Newsgroups: gmane.emacs.help Subject: Re: command help : matching braces Date: Thu, 04 Apr 2002 10:17:45 -0800 Organization: Conexant Systems, Inc. Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3CAC98C9.4D942A41@nb.conexant.com> References: <578F3C8F6DD3D411850600508BF320CAD014D6@aries-exch1.uk.eu.corp.vizzavi.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1017943986 3268 127.0.0.1 (4 Apr 2002 18:13:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 4 Apr 2002 18:13:06 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16tBjN-0000qb-00 for ; Thu, 04 Apr 2002 20:13:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16tBiO-00079d-00; Thu, 04 Apr 2002 13:12:04 -0500 Original-Received: from cnxtsmtp2.conexant.com ([198.62.9.253]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16tBfW-0006lY-00 for ; Thu, 04 Apr 2002 13:09:06 -0500 Original-Received: from npbsmtp1.conexant.com (npbsmtp1.nb.conexant.com [157.152.161.153]) by cnxtsmtp2.conexant.com (8.9.3/8.9.3) with ESMTP id KAA01655 for ; Thu, 4 Apr 2002 10:09:04 -0800 (PST) Original-Received: from nb.conexant.com ([172.19.41.119]) by npbsmtp1.conexant.com (Lotus Domino Release 5.0.9a) with ESMTP id 2002040410084994:68164 ; Thu, 4 Apr 2002 10:08:49 -0800 X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en Original-To: Help Gnu Emacs X-MIMETrack: Itemize by SMTP Server on NPBSMTP1/Server/Conexant(Release 5.0.9a |January 7, 2002) at 04/04/2002 10:08:49 AM, Serialize by Router on NPBSMTP1/Server/Conexant(Release 5.0.9a |January 7, 2002) at 04/04/2002 10:08:50 AM, Serialize complete at 04/04/2002 10:08:50 AM Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:49 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:49 shailesh -- depends on which way you're going. from on or just before the "{", type C-M-f. from just after the "}", type C-M-b. these same commands also work for "(", ")", and "[", "]". oh, note that you can't do this for braces in a lisp-mode buffer. the reason for all this is that these commands work for whatever is considered matching delimiters in the major mode of the buffer. hope this helps. -- chuck "Ambardekar, Shailesh" wrote: > > In gnu emacs 20.3.1 under Sun Solaris 2.6, > what is the emacs command for going to the matching brace ? > ( looking for emacs equivalent of % vi command ). > > Thanks in advance. > > Shailesh -- |\_/\_.-'""``:-._ What is life without looking for . . `; -._ )-;-,_`) the next cute little bug to play with? v_,- _ ),(,.\ ``-' _.- _.,-_/ / ((.' -- chuck.siska@conexant.com `<}:.. ((,.-' ((,/