delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/30/22:00:34

From: Weiqi Gao <weiqigao AT a DOT crl DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: REPOST another one from superNovice - matching braces
Date: Tue, 30 Nov 1999 19:02:43 -0600
Organization: CRL Network Services
Lines: 22
Message-ID: <384473B3.595A492F@a.crl.com>
References: <199911302223 DOT RAA28250 AT delorie DOT com>
NNTP-Posting-Host: a116019.stl1.as.crl.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Leon wrote:
> 
> greetings - just wanted to ask another simple question (once again am sorry
> if is rather obvious) - if one wants to match (ie put the cursor to) the
> brace for example:
> 
> for(;;){
>         blah,blah,blah;
>         blah,blah,blah;
>         blah,blah,blah;
> }
> 
> if the cursor is at the first curly brace - how would one make cursor go to
> the matching right brace (while at the same time scrolling the displat to
> show new cursor position) ?

It's in the FAQ! (in the gnu/emacs/etc/FAQ file from em1934b.zip): M-C-f
(forward-sexp) and M-C-b (backward-sexp).

-- 
Weiqi Gao
weiqigao AT a DOT crl DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019