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#10595: [PATCH] Conkeror like hints for incremental search Date: Thu, 25 Feb 2016 15:00:43 +0000 (UTC) Message-ID: References: <87y4a9wcb7.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8514_1870593553.1456412443365" X-Trace: ger.gmane.org 1456412488 19636 80.91.229.3 (25 Feb 2016 15:01:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Feb 2016 15:01:28 +0000 (UTC) Cc: 10595@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 25 16:01:16 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 1aYxPn-0004e9-Ft for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Feb 2016 16:01:15 +0100 Original-Received: from localhost ([::1]:43788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYxPn-0007RJ-0M for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Feb 2016 10:01:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYxPf-0007R9-2w for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 10:01:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYxPa-0007FE-Pw for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 10:01:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYxPa-0007F8-Kp for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 10:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aYxPa-0003AW-74 for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 10:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gideon Stupp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Feb 2016 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 10595-submit@debbugs.gnu.org id=B10595.145641245612162 (code B ref 10595); Thu, 25 Feb 2016 15:01:02 +0000 Original-Received: (at 10595) by debbugs.gnu.org; 25 Feb 2016 15:00:56 +0000 Original-Received: from localhost ([127.0.0.1]:46257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYxPT-0003A5-Ha for submit@debbugs.gnu.org; Thu, 25 Feb 2016 10:00:56 -0500 Original-Received: from mail-pa0-f48.google.com ([209.85.220.48]:34498) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYxPO-00039m-FA for 10595@debbugs.gnu.org; Thu, 25 Feb 2016 10:00:54 -0500 Original-Received: by mail-pa0-f48.google.com with SMTP id fy10so33365429pac.1 for <10595@debbugs.gnu.org>; Thu, 25 Feb 2016 07:00:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type; bh=R6gGA06H0afUQRQ4wdZlFtnjE5GmmgubSx6/PpLl32A=; b=LRlk5mMF6AG8rqpQ/KLztSnHa+80AKlhuNwZpqByMtjQnV+TS/ac/0vWw3mq/N7G+V rsGeP8pSL1piCgFhVQ8UitQNMDooNRSwaZF6hj9+VExFtCDKHljI9N/jfrg1Mkfk/GT2 876k9d8nEGxC7JDx8DsiOYJE6dn0/HuBBfSkozy7V/YhpqSdligu5x8B0M/hDrJM240r vmu6di+CVfHdP6Zjrr9KK8h+4RSdE1ti4T1qBDUNmieIUpPZ6fQEo0qOhmZFi1GCOGiG g0EcXFVk0M0AmGrkZpM2fSGC5A00Nybin7NWrTXULMAbc7vMkEt1nqf65uNWsSCARo7L cR6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-type; bh=R6gGA06H0afUQRQ4wdZlFtnjE5GmmgubSx6/PpLl32A=; b=SPxhA98mv7U4lE++SP+b0kpj6+J2Cl0YiboYbH2I+DHHvYeyQkq3ZIewUEktUitOEs SlN5iyWXIRLDCNMAgEXIZL0y2LRZXHoYUs16fBwv/EnDrwlEHavLJcjFjSGOf4BFTcHj 45JMbGxJRNjByIkcFVyszY2pQ9dadU/ob6t0lku9we5ZAVhvLMT0g0yRm5cZhld0qNTw Y0u7BDIISnmtDF2IR6feV+gdVzXi6qwPLtS61rM9RLhvfnkZ/jpTO7OmobNaAQBhbmb2 6EzrH/DDVR+eQLwkwPnnktYOX4lHHxdHCeI7lIRmJfj58kvuiSmv4yhWBZ78VVJ5r3Ds nuUQ== X-Gm-Message-State: AG10YOTheFJN6+OZhd1hK26FU4H+/NXsftyaiMiWSQ7JfYyU7eqaH4sqX8DPw6oZRBQmIg== X-Received: by 10.66.193.202 with SMTP id hq10mr62118142pac.6.1456412444648; Thu, 25 Feb 2016 07:00:44 -0800 (PST) Original-Received: from mail.outlook.com (ec2-52-24-210-248.us-west-2.compute.amazonaws.com. [52.24.210.248]) by smtp.gmail.com with ESMTPSA id y68sm12973220pfi.6.2016.02.25.07.00.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Feb 2016 07:00:43 -0800 (PST) In-Reply-To: <87y4a9wcb7.fsf@gnus.org> X-Mailer: Outlook for iOS and Android 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:113801 Archived-At: ------=_Part_8514_1870593553.1456412443365 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Lars,Hitting the character identifier is just a shortcut for pressing C-= s multiple times so the search string does not change at all, only the loca= tion.=C2=A0 Thanks, Gideon _____________________________ From: Lars Ingebrigtsen Sent: =D7=99=D7=95=D7=9D =D7=97=D7=9E=D7=99=D7=A9=D7=99, =D7=A4=D7=91=D7=A8= =D7=95=D7=90=D7=A8 25, 2016 8:10 =D7=9C=D7=A4=D7=B3 Subject: Re: bug#10595: [PATCH] Conkeror like hints for incremental search To: Gideon Stupp Cc: <10595@debbugs.gnu.org> Gideon Stupp writes: > This patch adds Conkeror like hints to incremental-search's currently > matched strings. > This way it is possible to choose one of the highlighted possibilities > without completing the search string (useful when using incremental > search for navigation). > The hints can be toggled on or off at any point during the search with > isearch-toggle-hints (which is mapped to C-f by default). Note that to > save keystrokes characters are used as hints instead of just numbers. > > Anyway, please review it and if there is any interest in it merge it. So the idea is that if you hit `C-f' during the search, each match is given a character as an identifier? And if you then hit that character then the isearch string changes to that ... word? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no =20 ------=_Part_8514_1870593553.1456412443365 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi Lars,
Hitti= ng the character identifier is just a shortcut for pressing C-s multiple ti= mes so the search string does not change at all, only the location. 
Thanks, Gideon

_____________________________
From: Lars = Ingebrigtsen <larsi@gnus.org>
Sent: =D7=99=D7=95=D7=9D =D7=97= =D7=9E=D7=99=D7=A9=D7=99, =D7=A4=D7=91=D7=A8=D7=95=D7=90=D7=A8 25, 2016 8:1= 0 =D7=9C=D7=A4=D7=B3
Subject: Re: bug#10595: [PATCH] Conkeror like hints= for incremental search
To: Gideon Stupp <gideon.stupp@gmail= .com>
Cc: <10595@debbugs.gnu.org>


G= ideon Stupp <gideon.stupp@gmail.com> writes:

>= This patch adds Conkeror like hints to incremental-search's currently
&= gt; matched strings.
> This way it is possible to choose one of the h= ighlighted possibilities
> without completing the search string (usef= ul when using incremental
> search for navigation).
> The hints= can be toggled on or off at any point during the search with
> isear= ch-toggle-hints (which is mapped to C-f by default). Note that to
> s= ave keystrokes characters are used as hints instead of just numbers.
>= ;
> Anyway, please review it and if there is any interest in it merge= it.

So the idea is that if you hit `C-f' during the search, each ma= tch is
given a character as an identifier? And if you then hit that cha= racter
then the isearch string changes to that ... word?

--
(= domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no


=20 ------=_Part_8514_1870593553.1456412443365--