[Top][All Lists]

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

Re: C - marking code between braces.

From: Kevin Rodgers
Subject: Re: C - marking code between braces.
Date: Thu, 07 Dec 2006 15:28:38 -0700
User-agent: Thunderbird (Windows/20061025)

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).


reply via email to

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