From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel,gmane.emacs.bugs Subject: Re: [EXPERIMENTAL PATCH] Extending Isearch-repeat-forward/backward to support a prefix argument following suggesion by Juri Linkov Date: Thu, 26 Jan 2012 20:11:05 +0100 Message-ID: <871uqmffee.fsf@thinkpad.tsdh.de> References: <87lioufh0t.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327605105 3715 80.91.229.12 (26 Jan 2012 19:11:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2012 19:11:45 +0000 (UTC) Cc: juri@jurta.org, bug-gnu-emacs@gnu.org, emacs-devel@gnu.org To: Gideon Stupp Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 26 20:11:41 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from [140.186.70.17] (helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RqUjR-0000Cc-IK for ged-emacs-devel@m.gmane.org; Thu, 26 Jan 2012 20:11:37 +0100 Original-Received: from localhost ([::1]:50589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqUjE-0004lW-Ck for ged-emacs-devel@m.gmane.org; Thu, 26 Jan 2012 14:11:24 -0500 Original-Received: from [140.186.70.92] (port=52041 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqUj7-0004kg-0w for emacs-devel@gnu.org; Thu, 26 Jan 2012 14:11:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqUj0-0000sG-P6 for emacs-devel@gnu.org; Thu, 26 Jan 2012 14:11:16 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:39155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqUj0-0000rz-D5 for emacs-devel@gnu.org; Thu, 26 Jan 2012 14:11:10 -0500 Original-Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id DFAE020FFD for ; Thu, 26 Jan 2012 14:11:09 -0500 (EST) Original-Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute4.internal (MEProxy); Thu, 26 Jan 2012 14:11:09 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=0/OL0LARBVLEeA4A0bkNTRa+6OM=; b=tQ6pTFn+4pH3Zfb+SJuStZutGXFw Z/LbRJALP2q787xnbKcghE2lJWrCaC4sZpr/rdWWOrnBYlQ0rgF0vtDrGmozwDu/ v+HEgttA4Hys8G8vldYZHl00WO3ezvAwR2xZFySWgQd2dKYJlg8qPMm7HLXeFNbc fNE6ZF4e8S8Hgmk= X-Sasl-enc: QBcgiidCanV5W2Q9SS5KHFkv8o4HrS60AGpzbmnlCQyO 1327605069 Original-Received: from thinkpad.tsdh.de (91-67-11-43-dynip.superkabel.de [91.67.11.43]) by mail.messagingengine.com (Postfix) with ESMTPSA id 194708E00FF; Thu, 26 Jan 2012 14:11:07 -0500 (EST) In-Reply-To: <87lioufh0t.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Thu, 26 Jan 2012 19:36:02 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.27 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:147953 gmane.emacs.bugs:56054 Archived-At: Tassilo Horn writes: > But how the heck is the usage of the prefix arg supposed to work? > When I do C-s foo C-3, isearch is exited... That was my fault. Of course, loading the patched isearch.el didn't make the changed isearch-mode-map active (defvar). It works fine, now. Usability-wise, C-s foo C- C-s makes only sense if that keystroke is shorter to type than C-s multiple times. So maybe the numbering should start with some offset, say, with the 5th next match? And the typing of C-s after the number is a bit inconvenient, so maybe, C-7 could jump directly to the match hinted with 7, and only for two-digit matches C-s was needed, i.e., C-u 1 2 C-s to jump to the 12th match? Bye, Tassilo