From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le Wang Newsgroups: gmane.emacs.help Subject: Re: regex search - easy keystroke for next? Date: Fri, 6 May 2011 11:22:05 +0800 Message-ID: References: <31533940.post@talk.nabble.com> <31534241.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1304652148 23470 80.91.229.12 (6 May 2011 03:22:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 May 2011 03:22:28 +0000 (UTC) Cc: AngusC , Help-gnu-emacs@gnu.org To: Deniz Dogan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 06 05:22:16 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QIBcO-0004UP-0X for geh-help-gnu-emacs@m.gmane.org; Fri, 06 May 2011 05:22:16 +0200 Original-Received: from localhost ([::1]:34675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIBcN-0003eY-Hn for geh-help-gnu-emacs@m.gmane.org; Thu, 05 May 2011 23:22:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIBcJ-0003eG-A7 for Help-gnu-emacs@gnu.org; Thu, 05 May 2011 23:22:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIBcE-0002PC-KN for Help-gnu-emacs@gnu.org; Thu, 05 May 2011 23:22:11 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:51993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIBcE-0002P3-I5 for Help-gnu-emacs@gnu.org; Thu, 05 May 2011 23:22:06 -0400 Original-Received: by vxk20 with SMTP id 20so3938018vxk.0 for ; Thu, 05 May 2011 20:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=kwMbOD4uAX2RV+cnydCf+tRb4KfHVLNsRn2UCR8fyRE=; b=lTjFowh1WuVyREmriioKv1RMzRBA4uVleBwsCbqerDGxIlA1PC0UJax/8tj8095CYY zTs/TxJ4MAmLAYr0M2NlwwIUKmek0vNOiX+uinAga0m89O0yagXc+pUHeLkDV4KRjN3P Sh2HZLIMm3MEhXuCcPeoKAyBeC4cQNF4LYGcM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vVJNiqFZrVQnd0rlFI5AsAxHvYt6T//LtdajSDHuxhXzPowRb5avP3sHZldhhWnUnh 3012KcOHl05+XmeAoGk1byspRVem5F8b/j81+4XkcxC9zm4Y4vMTCz9AQNusYH3vEtrO qIbjHRAoyFXe4bjVs27aXII/y4EVGoqoXe4q0= Original-Received: by 10.52.109.228 with SMTP id hv4mr4017676vdb.42.1304652125428; Thu, 05 May 2011 20:22:05 -0700 (PDT) Original-Received: by 10.52.109.161 with HTTP; Thu, 5 May 2011 20:22:05 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80938 Archived-At: On Wed, May 4, 2011 at 12:42 AM, Deniz Dogan wrote: > Since I'm bored, I wrote something for you: > > (define-key isearch-mode-map (kbd "n") 'isearch-repeat-forward) > (define-key isearch-mode-map (kbd "p") 'isearch-repeat-backward) This is a nice example of the power of Emacs. However, the letters n and p might be more useful to you in entering your search string. :) -- Le