From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#10614: [EXPERIMENTAL PATCH] Extending Isearch-repeat-forward/backward to support a prefix argument following suggesion by Juri Linkov Date: Thu, 25 Feb 2016 16:36:15 +1030 Message-ID: <8737shxr1k.fsf__27670.2250972905$1456380437$gmane$org@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456380437 2221 80.91.229.3 (25 Feb 2016 06:07:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Feb 2016 06:07:17 +0000 (UTC) Cc: 10614@debbugs.gnu.org, emacs-devel@gnu.org To: Gideon Stupp Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 25 07:07:08 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aYp4u-0007zh-4z for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Feb 2016 07:07:08 +0100 Original-Received: from localhost ([::1]:40296 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYp4t-00012Z-Gv for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Feb 2016 01:07:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYp4p-00010K-Jf for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 01:07:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYp4o-0005qy-LD for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 01:07:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYp4o-0005qq-IV for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 01:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aYp4o-0000Aa-Ek for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 01:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Feb 2016 06:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 10614-submit@debbugs.gnu.org id=B10614.1456380406607 (code B ref 10614); Thu, 25 Feb 2016 06:07:02 +0000 Original-Received: (at 10614) by debbugs.gnu.org; 25 Feb 2016 06:06:46 +0000 Original-Received: from localhost ([127.0.0.1]:44584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYp4Y-00009j-79 for submit@debbugs.gnu.org; Thu, 25 Feb 2016 01:06:46 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:32906) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYp4X-00009b-44 for 10614@debbugs.gnu.org; Thu, 25 Feb 2016 01:06:45 -0500 Original-Received: from [175.103.25.178] (helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aYp48-00048D-St; Thu, 25 Feb 2016 07:06:21 +0100 In-Reply-To: (Gideon Stupp's message of "Thu, 26 Jan 2012 19:27:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aYp48-00048D-St MailScanner-NULL-Check: 1456985181.90533@+stHNUBp/+LU47hbGJMQzA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:113776 Archived-At: Gideon Stupp writes: > This experimental patch implements a suggestion by Juri Linkov to > extend isearch-repeat-forward/backward to support a prefix > argument. Instead of pressing C-s / C-r multiple times it is possible > with this patch to enter a prefix argument which runs the command > multiple times for you. If a negative argument is given for > isearch-repeat-forward then isearch-repeat-backward is run and visa > versa. Visual hints are added to the matched strings to help figure > out what argument should be given. Hm... I guess I can see why this would be attractive, but I'm a bit sceptical. Numeric prefixes make sense in many instances, but I would myself never this "hm, I must repeat the search three times"... I would just hit `C-s' four times instead. That seems faster and more convenient... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no