From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gideon Stupp Newsgroups: gmane.emacs.bugs Subject: bug#10638: [PATCH] Prefix Arg support for 'isearch-repeat-forward' and 'isearch-repeat-backward' Date: Sun, 29 Jan 2012 17:59:06 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=14dae93a133741353c04b7accf07 X-Trace: dough.gmane.org 1327852809 20760 80.91.229.3 (29 Jan 2012 16:00:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Jan 2012 16:00:09 +0000 (UTC) To: 10638@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 29 17:00:08 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RrXAj-0008EF-GV for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jan 2012 17:00:05 +0100 Original-Received: from localhost ([::1]:44509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrXAi-0006Mu-UF for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jan 2012 11:00:04 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrXAe-0006Lg-T0 for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 11:00:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrXAd-000105-JH for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 11:00:00 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrXAd-000101-GS for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 10:59:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RrXAg-00027m-OY for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 11:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gideon Stupp Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Jan 2012 16:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10638 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13278527648089 (code B ref -1); Sun, 29 Jan 2012 16:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Jan 2012 15:59:24 +0000 Original-Received: from localhost ([127.0.0.1]:43969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrXA3-00026P-8v for submit@debbugs.gnu.org; Sun, 29 Jan 2012 10:59:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45362) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RrXA1-00026B-R0 for submit@debbugs.gnu.org; Sun, 29 Jan 2012 10:59:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrX9q-0000rI-Hs for submit@debbugs.gnu.org; Sun, 29 Jan 2012 10:59:11 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:41289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrX9q-0000rE-GK for submit@debbugs.gnu.org; Sun, 29 Jan 2012 10:59:10 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:60081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrX9p-0006KQ-2A for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 10:59:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrX9n-0000qZ-S0 for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 10:59:09 -0500 Original-Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:39986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrX9n-0000qT-O8 for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2012 10:59:07 -0500 Original-Received: by obbta7 with SMTP id ta7so4104441obb.0 for ; Sun, 29 Jan 2012 07:59:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=meef44GiulYAVqbH7bOVNVEWkyW4MwhfadVylzuEDcA=; b=hg+KIrlAPFrdndqULgl1h1t1ZlQXMjc/H506JvnXMdw1q5S2DrExSPIVf1TdPhBKHd 3vo02roMwscucfdiTjNLAk1zQVZyFNVMGSQKlDSYuOxxRCakXjzIU+0LL4Q5CeCrTZMw Az+N9gRI0SH2go4ruIRcLQvSV7bA/acNNfsDI= Original-Received: by 10.182.54.80 with SMTP id h16mr21513097obp.59.1327852746257; Sun, 29 Jan 2012 07:59:06 -0800 (PST) Original-Received: by 10.182.242.41 with HTTP; Sun, 29 Jan 2012 07:59:06 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56198 Archived-At: --14dae93a133741353c04b7accf07 Content-Type: multipart/alternative; boundary=14dae93a133741353904b7accf05 --14dae93a133741353904b7accf05 Content-Type: text/plain; charset=ISO-8859-1 Package: emacs Tags: patch This patch extends 'isearch-repeat-forward' and 'isearch-repeat-backward' to support a prefix argument so that during search it is possible to press C-3 C-s for example to repeat the last search three times. Notice that you need to set `isearch-allow-scroll' to t for the patch to take effect. Gideon. --14dae93a133741353904b7accf05 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Package: emacs
Tags: patch

This patch extends 'isear= ch-repeat-forward' and 'isearch-repeat-backward' to support a p= refix argument so that during search it is possible to press C-3 C-s for ex= ample to repeat the last search three times. =A0 Notice that you need to se= t `isearch-allow-scroll' to t for the patch to take effect.

Gideon.



--14dae93a133741353904b7accf05-- --14dae93a133741353c04b7accf07 Content-Type: text/x-patch; charset=US-ASCII; name="isearch_repeat_prefix_arg_support.patch" Content-Disposition: attachment; filename="isearch_repeat_prefix_arg_support.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 ZGlmZiAtLWdpdCBhL2xpc3AvaXNlYXJjaC5lbCBiL2xpc3AvaXNlYXJjaC5lbAppbmRleCBjZTc1 OTExLi5jZTEyNTUyIDEwMDY0NAotLS0gYS9saXNwL2lzZWFyY2guZWwKKysrIGIvbGlzcC9pc2Vh cmNoLmVsCkBAIC0xMzQwLDE1ICsxMzQwLDM3IEBAIFVzZSBgaXNlYXJjaC1leGl0JyB0byBxdWl0 IHdpdGhvdXQgc2lnbmFsaW5nLiIKICAgKGlzZWFyY2gtcHVzaC1zdGF0ZSkKICAgKGlzZWFyY2gt dXBkYXRlKSkKIAotKGRlZnVuIGlzZWFyY2gtcmVwZWF0LWZvcndhcmQgKCkKKyhkZWZ1biBpc2Vh cmNoLXJlcGVhdC1mb3J3YXJkICgmb3B0aW9u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