From: Pawel <null7@wp.pl>
Cc: help-gnu-emacs@gnu.org
Subject: Re: C - marking code between braces.
Date: Fri, 08 Dec 2006 10:33:33 +0100 [thread overview]
Message-ID: <4579316d7d9b5@wp.pl> (raw)
In-Reply-To: <17783.57944.999245.840149@localhost.localdomain> <ela4k6$qq5$1@sea.gmane.org>
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
> help-gnu-emacs@gnu.org
> 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
next prev parent reply other threads:[~2006-12-08 9:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-07 9:43 C - marking code between braces Pawel
2006-12-07 16:36 ` Peter Dyballa
2006-12-07 22:28 ` Kevin Rodgers
2006-12-08 9:33 ` Pawel [this message]
2006-12-11 2:32 ` Dieter Wilhelm
[not found] ` <mailman.1734.1165804380.2155.help-gnu-emacs@gnu.org>
2006-12-11 11:02 ` Johan Bockgård
2006-12-12 22:49 ` C-M-r and C-M-s asymmetric [was: C - marking code between braces] Dieter Wilhelm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4579316d7d9b5@wp.pl \
--to=null7@wp.pl \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.