From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Exposing Isearch toggleable options Date: Thu, 29 Oct 2015 07:18:25 -0400 Message-ID: References: <87y4emf2fi.fsf@petton.fr> <87pozy54pf.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d57c647a1c505233c7867 X-Trace: ger.gmane.org 1446117532 22461 80.91.229.3 (29 Oct 2015 11:18:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Oct 2015 11:18:52 +0000 (UTC) Cc: Bruce Connor , Emacs developers To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 29 12:18:49 2015 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 1ZrlEG-0003uu-GK for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 12:18:48 +0100 Original-Received: from localhost ([::1]:43404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrlEF-000841-Sp for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 07:18:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrlDw-00083f-JT for emacs-devel@gnu.org; Thu, 29 Oct 2015 07:18:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrlDv-0000zC-F6 for emacs-devel@gnu.org; Thu, 29 Oct 2015 07:18:28 -0400 Original-Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:36771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrlDv-0000z2-AC for emacs-devel@gnu.org; Thu, 29 Oct 2015 07:18:27 -0400 Original-Received: by oiao187 with SMTP id o187so27786767oia.3 for ; Thu, 29 Oct 2015 04:18:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2aaJ58tFpI7arZm3Ix6+uyyyHSfy+7qwRMRjebGzDCY=; b=PpeM7kq+dThbDPXAX+jfUGwxgam6K/t2EKQuh1LRgojY7QoL/iSIWQgWwFFviFZS5t CmK4CaDYO0A+pVt8z/EEZqccE3RYFa/iAI1W21VlBX0UrnEEQEftw+DTD40gD4+oVDev BjkjVk/fk6Y/M91WaADrVC9UpLwNozbRFizBnI7H2etkmw9bK6p3OFT7W/qNXmcXtuYI gbWif2pif0uXhZVYlgLi+M2Je2Hrroqf5PJpuUmLRsDiaTQH59qEUHyiO0WnGu2Do/xX coDeFBPN6XAM+0rdKuz79Ou+2IBFH1f4O6ng0x89IDJchg4rWgm/1AoHw6oTyGERnbC1 ejEw== X-Received: by 10.202.221.68 with SMTP id u65mr591053oig.34.1446117506521; Thu, 29 Oct 2015 04:18:26 -0700 (PDT) Original-Received: by 10.202.44.8 with HTTP; Thu, 29 Oct 2015 04:18:25 -0700 (PDT) Original-Received: by 10.202.44.8 with HTTP; Thu, 29 Oct 2015 04:18:25 -0700 (PDT) In-Reply-To: <87pozy54pf.fsf@petton.fr> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22d 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:192876 Archived-At: --001a113d57c647a1c505233c7867 Content-Type: text/plain; charset=UTF-8 Hi Artur, I like the effort you are putting into this to make the isearch bindings more discoverable. As few others suggested, I would also find that to be distracting. So I wouldn't want to enable it by default. But then I also wouldn't disable it by default forever. It would be useful to see that hint window once in a while. That sort of fits with the use of hydra that Oleh suggested. (I yet have to try out the isearch patches you posted, Drew's help patch and the hydra that Oleh posted.) That way the help pops up only when the user wants to, while in isearch. And once used, the popup disappears. It will not show up again until the user activates that help popup next time. Another idea would be to do what guide-key and which-key packages do... The help pops up only if the isearch input is idle for 2 seconds *only when the input minibuffer is empty*. Once the user starts typing, that popup goes away. That way the help popup will not distract while the user is typing the search terms, cycling through the search results, etc. It will only show up when the user has started isearch but hasn't typed anything in it for 2 seconds, or if they typed something, then erased everything, then again waiting for 2 seconds. Of course this 2 second auto help popup should be able to be disabled. They should also be a key bound that also activates that help popup manually. In that case too, the popup should disappear once isearch activity is detected. --001a113d57c647a1c505233c7867 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi Artur,

I like the effort you are putting into this to make the isea= rch bindings more discoverable.

As few others suggested, I would also find that to be distra= cting. So I wouldn't want to enable it by default.

But then I also wouldn't disable it by default forever. = It would be useful to see that hint window once in a while. That sort of fi= ts with the use of hydra that Oleh suggested. (I yet have to try out the is= earch patches you posted, Drew's help patch and the hydra that Oleh pos= ted.)

That way the help pops up only when the user wants to, while= in isearch. And once used, the popup disappears. It will not show up again= until the user activates that help popup next time.

Another idea would be to do what guide-key and which-key pac= kages do... The help pops up only if the isearch input is idle for 2 second= s *only when the input minibuffer is empty*. Once the user starts typing, t= hat popup goes away. That way the help popup will not distract while the us= er is typing the search terms, cycling through the search results, etc. It = will only show up when the user has started isearch but hasn't typed an= ything in it for 2 seconds, or if they typed something, then erased everyth= ing, then again waiting for 2 seconds. Of course this 2 second auto help po= pup should be able to be disabled. They should also be a key bound that als= o activates that help popup manually. In that case too, the popup should di= sappear once isearch activity is detected.

--001a113d57c647a1c505233c7867--