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

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

Re: C - marking code between braces.


From: Pawel
Subject: Re: C - marking code between braces.
Date: Fri, 08 Dec 2006 10:33:33 +0100

Kevin, 
it does the job.
Thank You.
regards

Dnia 7-12-2006 o godz. 23:28 Kevin Rodgers napisał(a):
> Pawel wrote:
> > Could You tell me whether is there command in emacs that is able to
> > mark code between braces, but not braces themselves?
> 
> C-x (                                 ; kmacro-start-macro (Emacs 22)/
>                                       ; start-kbd-macro
> 
> C-M-u                                 ; backward-up-list
> C-@                                   ; set-mark-command
> C-M-f                                 ; forward-sexp
> C-b                                   ; backward-char
> C-x C-x                                       ; exchange-point-and-mark
> C-f                                   ; forward-char
> 
> C-x )                                 ; kmacro-end-macro (Emacs 22)/
>                                       ; end-kdb-macro
> 
> Now `C-x e' magically marks the text between the innermost parentheses
> (or brackets or braces).
> 
> -- 
> Kevin
> 
> 
> 
> _______________________________________________
> help-gnu-emacs mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 

----------------------------------------------------
Zobacz fotogalerię z rozdania EUROPEJSKICH NAGRÓD FILMOWYCH. Kliknij:
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fefalink2.html&sid=959






reply via email to

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