From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pawel Newsgroups: gmane.emacs.help Subject: Re: C - marking code between braces. Date: Fri, 08 Dec 2006 10:33:33 +0100 Organization: Nowa Poczta Wirtualnej Polski S.A. http://www.wp.pl/ Message-ID: <4579316d7d9b5@wp.pl> References: <17783.57944.999245.840149@localhost.localdomain> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1165570567 1328 80.91.229.10 (8 Dec 2006 09:36:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2006 09:36:07 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 10:36:03 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gsc9C-000346-41 for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Dec 2006 10:36:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gsc9B-0008QH-IK for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Dec 2006 04:36:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gsc6x-0007aY-JY for help-gnu-emacs@gnu.org; Fri, 08 Dec 2006 04:33:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gsc6v-0007Y0-ER for help-gnu-emacs@gnu.org; Fri, 08 Dec 2006 04:33:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gsc6u-0007X0-8r for help-gnu-emacs@gnu.org; Fri, 08 Dec 2006 04:33:40 -0500 Original-Received: from [212.77.101.5] (helo=mx1.wp.pl) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1Gsc6u-0005a1-3f for help-gnu-emacs@gnu.org; Fri, 08 Dec 2006 04:33:40 -0500 Original-Received: (wp-smtpd smtp.wp.pl 7138 invoked from network); 8 Dec 2006 10:33:33 +0100 Original-Received: from poczta-13.free.wp-sa.pl (HELO localhost) ([10.1.1.37]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 8 Dec 2006 10:33:33 +0100 Original-To: Kevin Rodgers In-reply-to: <17783.57944.999245.840149@localhost.localdomain> Content-Disposition: inline X-Mailer: Interfejs WWW nowej poczty Wirtualnej Polski X-User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1 X-WP-IP: 83.14.252.50, 172.18.130.198, 127.0.0.1 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO AS1=NO(Body=2 Fuz1=2 Fuz2=2 rep=20%) AS2=NO(0.500009) AS3=NO AS4=NO AS5=NO X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39344 Archived-At: 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