From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.help Subject: Re: C - marking code between braces. Date: Mon, 11 Dec 2006 12:02:25 +0100 Organization: Chalmers University of Technology, Sweden Message-ID: References: <17783.57944.999245.840149@localhost.localdomain> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1165837228 31268 80.91.229.10 (11 Dec 2006 11:40:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Dec 2006 11:40:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 11 12:40:27 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 1GtjWD-0005zF-H2 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Dec 2006 12:40:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GtjWC-0006Vc-44 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Dec 2006 06:40:24 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.swip.net!swipnet!newsfeed.sunet.se!news01.sunet.se!129.16.222.141.MISMATCH!gide.ita.chalmers.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: gamma02.me.chalmers.se Original-X-Trace: gide.ita.chalmers.se 1165834945 3825 129.16.50.72 (11 Dec 2006 11:02:25 GMT) Original-X-Complaints-To: usenet@gide.ita.chalmers.se Original-NNTP-Posting-Date: Mon, 11 Dec 2006 11:02:25 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux) Cancel-Lock: sha1:YBmvtYA8kigtlPDg7SX174R3UQY= Original-Xref: shelby.stanford.edu gnu.emacs.help:143812 Original-To: help-gnu-emacs@gnu.org 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:39414 Archived-At: Dieter Wilhelm writes: > Another idea for one level could be > > C-M-r [^{}]+ > C-M-s > > but to my astonishment C-M-r does not skip to the char behind {! I think the key is here: ,----[ C-h f search-backward-regexp RET ] | [...] | Search backward from point for match for regular expression REGEXP. | Set point to the beginning of the match, and return point. | The match found is the one starting last in the buffer | and yet ending before the origin of the search. | [...] `---- -- Johan Bockgård