From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: 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@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456380436 2212 80.91.229.3 (25 Feb 2016 06:07:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Feb 2016 06:07:16 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org, 10614@debbugs.gnu.org To: Gideon Stupp Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 25 07:07:06 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aYp4q-0007y8-0a for ged-emacs-devel@m.gmane.org; Thu, 25 Feb 2016 07:07:04 +0100 Original-Received: from localhost ([::1]:40294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYp4p-0000kW-FA for ged-emacs-devel@m.gmane.org; Thu, 25 Feb 2016 01:07:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYp4c-0000kO-9n for emacs-devel@gnu.org; Thu, 25 Feb 2016 01:06:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYp4X-0005jO-AY for emacs-devel@gnu.org; Thu, 25 Feb 2016 01:06:50 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:43879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYp4X-0005jE-3i for emacs-devel@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-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200648 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