[Top][All Lists]

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

Re: Tracing matching parentheses / braces

From: Chuck Siska
Subject: Re: Tracing matching parentheses / braces
Date: Tue, 13 Feb 2001 09:25:51 -0800

emsworth --

use M-C-f to go forward from an open parenthesis, bracket,
or brace to just past its corresponding close.  Similarly, 
use M-C-b to go from just past the close to the open.  The
commands bound to these keys are forward-sexp and backward-
sexp.  they work in text documents as well as most other
major modes.  good luck.

-- chuck siska

Lord Emsworth wrote:
> Hi all,
> Is there any way to trace a corresponding pair of braces / parentheses
> in Emacs?
> I know that when you type the ending parenthesis, Emacs shows the
> matching opening parenthesis. But what about when the document to be
> edited is already written out (say a pre-existing C++ file)? And what
> does one do if one is at the opening brace and wants to find out the
> matching closing brace?
> Regards,
> Emsworth.

I wake up each morning to resume battle with      |\      _,,,---,,_        
dragons of the day and have some fun along    ZZz /,`.-'`'    -.  ;-;;,_    
the way, amused to be still alive.  Or do I? ____|,4-  ) )-,_. ,\ (____-'___
--                     '---''(_/--'  `-'\_)

reply via email to

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