From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.help Subject: Re: Jump to match of regex Date: 15 Apr 2003 15:13:20 -0400 Organization: Yale University Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <5lznmrmv5b.fsf@rum.cs.yale.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050434539 9812 80.91.224.249 (15 Apr 2003 19:22:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2003 19:22:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 15 21:22:16 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195W0W-0002Xz-00 for ; Tue, 15 Apr 2003 21:22:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195Vyb-00034l-05 for gnu-help-gnu-emacs@m.gmane.org; Tue, 15 Apr 2003 15:20:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!news.ycc.yale.edu!rum.cs.yale.edu!rum.cs.yale.edu Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: rum.cs.yale.edu User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Original-NNTP-Posting-Host: rum.cs.yale.edu X-Original-Trace: 15 Apr 2003 15:13:21 -0400, rum.cs.yale.edu Original-Xref: shelby.stanford.edu gnu.emacs.help:112014 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8514 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8514 > In a file with the following structure > 'bla': { > bli : 1 > blo : 2 > }, > > 'ble': { > bli : 3 > blo : 4 > }, > I would like to jump from "^'" to "^'" instead of jumping from line to > line with C-n. I know I could do a regexp-search, but I want to be > able to edit the items without having to start a new regexp-search > afterwards. Not quite what you're asking for, but might work as well depending on other things you haven't mentioned: - forward-paragraph and backward-paragraph (bound to M-{ and M-}) - forward-sexp and backward-sexp (M-f and M-b) - forward-page and backward-page (C-x ] and C-x [), which may require you to set the `page-delimiter' variable accordingly. Stefan