From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: add non-chord keys to repeat isearch Date: Tue, 9 Jun 2009 17:51:19 +0200 Message-ID: <7b501d5c0906090851t3f3dc456mffd8e6d69e6250d1@mail.gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244562694 21729 80.91.229.12 (9 Jun 2009 15:51:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2009 15:51:34 +0000 (UTC) Cc: Emacs-Devel devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 09 17:51:30 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ME3bj-0002gT-WE for ged-emacs-devel@m.gmane.org; Tue, 09 Jun 2009 17:51:28 +0200 Original-Received: from localhost ([127.0.0.1]:57173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME3bj-00035v-Du for ged-emacs-devel@m.gmane.org; Tue, 09 Jun 2009 11:51:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME3be-00035Q-Rb for emacs-devel@gnu.org; Tue, 09 Jun 2009 11:51:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME3be-000357-8T for emacs-devel@gnu.org; Tue, 09 Jun 2009 11:51:22 -0400 Original-Received: from [199.232.76.173] (port=47102 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME3be-000354-34 for emacs-devel@gnu.org; Tue, 09 Jun 2009 11:51:22 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.152]:46905) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ME3bd-0005Ln-Jf for emacs-devel@gnu.org; Tue, 09 Jun 2009 11:51:21 -0400 Original-Received: by fg-out-1718.google.com with SMTP id l27so865245fgb.7 for ; Tue, 09 Jun 2009 08:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MPJRqanQDE9wvL7wwsu2GFBpN39IEIEyg29gWS3vBX4=; b=XPj/4Vp5eRYEwJ5g86zyUkgx05dWHf4BQbHf+sVFn0+Sb0zpPiZFoY+H44H/TavKtH 3RTYbFF/wZNyj1KkyDVbAQCUoenB/lvxf5bbK3JailYP3wPAnDHQDDryGigCq2gL+0PF rXY6fIGm1Cy8yPeEFoMvqAEnKj4OydWkSnptY= 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:content-transfer-encoding; b=qK6DVV5FZ1v47IJv8lyC2jtU2+PHmNs2wy2pGiClu5sEPm0uzWty0c9VHflR/8cOS1 LwKDe0P6BFsYpkVmyy3EvH1zSFV9VrOVe/KYBsZ6+5FnFeHK21l5ZwQLLQl6FxHrzUL7 3ReH/PcBrNJPLI50iLiNW9rUsP5nv3Tc8xSBc= Original-Received: by 10.86.59.18 with SMTP id h18mr220298fga.71.1244562679927; Tue, 09 Jun 2009 08:51:19 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111393 Archived-At: 2009/6/9 Drew Adams : > I often repeat `C-s' (same search string), over and over and over. > You too, right? =A0Poor pinky. > > (define-key isearch-mode-map [next] =A0'isearch-repeat-forward) > (define-key isearch-mode-map [prior] 'isearch-repeat-backward) > > Duh! Why I never bothered to do that before, I dunno. I've been doing it = forever > in Framemaker (which doesn't have incremental search), but I never though= t to do > it for Emacs too. Blinded by habit, I guess. > > I propose that Emacs do the same thing out of the box. > > Someone (Richard?) will no doubt argue that he prefers to have `next' exi= t > Isearch and move down a page, and similarly for alternative bindings one = might > propose here. And perhaps there will be other arguments against (I know s= ome > people just don't like adding bindings to `isearch-mode-map'). But to me = this is > a no-brainer (now that I think of it ;-)). > > WDOT? > > P.S. No removal of any bindings, just addition of these two. > You can still use `C-s C-s C-s C-s C-s C-s' if you prefer. I have no idea what the "next" and "prior" keys mean. Could you please explain? Thanks. --=20 Deniz Dogan