From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Alan E. Davis" Newsgroups: gmane.emacs.orgmode,gmane.emacs.devel Subject: Re: Key binding popup interface Date: Tue, 12 Dec 2017 11:53:10 -0800 Message-ID: References: <87r2s3ctxh.fsf@ericabrahamsen.net> <87d13m3jt2.fsf@gmx.us> <87efo2wf0s.fsf@ericabrahamsen.net> <87y3m8s7ym.fsf@gmx.us> <87fu8gwfbr.fsf@nicolasgoaziou.fr> <87k1xs2h0h.fsf@gmx.us> <87zi6nzsxs.fsf@delle7240.chemeng.ucl.ac.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e082106a055347005602a0121" X-Trace: blaine.gmane.org 1513108468 18747 195.159.176.226 (12 Dec 2017 19:54:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2017 19:54:28 +0000 (UTC) Cc: Oleh Krehel , emacs-org list , Eric S Fraga , Rasmus , Emacs developers To: Kaushal Modi Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Tue Dec 12 20:54:23 2017 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOqdD-0004R7-1S for geo-emacs-orgmode@m.gmane.org; Tue, 12 Dec 2017 20:54:23 +0100 Original-Received: from localhost ([::1]:60216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOqdG-00038d-NW for geo-emacs-orgmode@m.gmane.org; Tue, 12 Dec 2017 14:54:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOqcS-00036x-Nr for emacs-orgmode@gnu.org; Tue, 12 Dec 2017 14:53:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOqcR-00045f-Gv for emacs-orgmode@gnu.org; Tue, 12 Dec 2017 14:53:36 -0500 Original-Received: from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]:41336) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOqcO-00042y-DX; Tue, 12 Dec 2017 14:53:32 -0500 Original-Received: by mail-pg0-x232.google.com with SMTP id o2so16382pgc.8; Tue, 12 Dec 2017 11:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CWHAjyVqRXVYarVIsIxOL/lPMG2iBQH+mVA/wVoDD3o=; b=HKRnnet/2ZY0jqcegEZ6aZE+Z9eX1mwC9OSbo2EHOuvpBoDVe624qA67LsWIR2KIc/ rjLCxdYbEuTMeMXZluPRckTESwPrfbWLlsHs1IL/Bmu8Ezqs7Gfz9WxLosiixzDrJoE1 b9WJnfOS+Gsr/7To11z7tqouxMcVfKKFuMvdZ8CWT5ptmPW6A/qI/Ow1NS8OsHPgz62H uSxzY9XVnJSLpapbYrE/M6KbM2+g+RYaTlaeWestKjjsUbJGFwsD/203aty+U2h1+R3Z 4Iiqpvq6aQVZd3GlAZ60NVSfEYXCXWvdm/PB960uJ9urvM00STTKcXCTwseL+dhrkFlt HwTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CWHAjyVqRXVYarVIsIxOL/lPMG2iBQH+mVA/wVoDD3o=; b=Y8p0nhPdmxAJVvXmam7mDhLI11MZc+BZ5iJ+nRUUzgLnfjQA8+ifLerbswhW4yoB2I ary8lBZ5ruOOYcK3PdThTHJ4aMMqsDXg2tkIwRdmtxBBtgeTSbl5y2tCODn3eNJrVAVL 9ZsAILXcBrkChLgH/zvVK5q9269p6S2iGI5andYFzbVe9V79EfGr9tfj8PE7+z0/3rWU XIUyW+bTW+LW7sDVCVyUh6e6MnCKNIuW6TibQRRvisq59icnY1OTQJQaLvWQrP0203WJ AbcWZizZ/v8mdzzUxUzT+BM30Jnq4/nD8ye6+RpFCVhuRM80SWXUP/6SrJWH63AUaId0 9TzQ== X-Gm-Message-State: AKGB3mIyM16kIbH7aMjNl7RUxAKigJ79fWlM9zKSJ0JL3fvcWFBsoCyj e4ROfHAerZVKx0zO1p23BGY2Pw3BaIWfAINhe1Q= X-Google-Smtp-Source: ACJfBoukUdQXCbGRaW//eSouCsF7BIe+qH6JHpdufZrOLCS72c6/d6XbGn1iBqwqbZI6EU/Z9xJN6J7K0t3c4UomA50= X-Received: by 10.84.235.129 with SMTP id p1mr3274244plk.6.1513108410805; Tue, 12 Dec 2017 11:53:30 -0800 (PST) Original-Received: by 10.100.189.70 with HTTP; Tue, 12 Dec 2017 11:53:10 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::232 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Original-Sender: "Emacs-orgmode" Xref: news.gmane.org gmane.emacs.orgmode:117468 gmane.emacs.devel:220946 Archived-At: --089e082106a055347005602a0121 Content-Type: text/plain; charset="UTF-8" I discovered accidentally some years ago, when I had been using a popup help function that I cobbled together myself with a hot key, that -F1 loads a list of bindings under that prefix. It's an awesome feature of GNU/Emacs. Alan Davis On Tue, Dec 12, 2017 at 10:56 AM, Kaushal Modi wrote: > On Tue, Dec 12, 2017 at 1:48 PM Eric S Fraga wrote: > >> On Tuesday, 12 Dec 2017 at 14:02, Kaushal Modi wrote: >> > Copying this on both Emacs devel and Org mode list. Hopefully this >> > discussion is eligible for that. >> > >> > Problem statement: Need to have a pretty interface that shows the >> available >> > valid key bindings. >> >> which-key-mode works well for me. >> > > I use which-key too, but that serves a different purpose. > > which-key shows *all* bindings that begin with a prefix. > > hydra creates a quick keymap that can be bound to any key of user's > choice. Then the user needs to just set that main binding, and all the > sub-bindings in that keymap stay the same. > > - Hydra basics[1] > - Projectile hydra example[2] > - Rectangle operations[3] > > (See many more examples in that wiki.) > > Very vaguely speaking, which-key is a read-only utility, hydra is a create > + read utility. We need the "create" portion for the org stucture template > replacement discussed on the Org thread. I understand that while hydra > cannot be integrated in emacs 26 and so Org cannot immediately start using > it, it will be very much useful to many packages in future if first hydra > is baked into the emacs core. > > [1]: https://github.com/abo-abo/hydra/wiki/Basics > [2]: https://github.com/abo-abo/hydra/wiki/Projectile > [3]: https://github.com/abo-abo/hydra/wiki/Rectangle-Operations > -- > > Kaushal Modi > -- [Fill in the blanks] The use of corrupt manipulations and blatant rhetorical ploys ...--- outright lying, flagwaving, personal attacks, setting up phony alternatives, misdirection, jargon-mongering, evading key issues, feigning disinterested objectivity, willful misunderstanding of other points of view---suggests that ... lacks both credibility and evidence. ---- Edward Tufte (in context of making presentations) --089e082106a055347005602a0121 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I discovered accidentally some years ago, when I had = been using a popup help function that I cobbled together myself with a hot = key, that <Prefix>-F1 loads a list of bindings under that prefix.=C2= =A0 It's an awesome feature of GNU/Emacs.

Alan Davis

On Tue, Dec 1= 2, 2017 at 10:56 AM, Kaushal Modi <kaushal.modi@gmail.com> wrote:
On Tue, Dec 12, 2017 at 1:4= 8 PM Eric S Fraga <esflists@gmail.com> wrote:
https://github.com/abo-abo/hydra/wik= i/Basics
--

Kaushal Modi




--
<= div>
[Fill in t= he blanks]

The use of corrupt manipula= tions and blatant rhetorical ploys ...---=20 outright lying, flagwaving, personal attacks, setting up phony=20 alternatives, misdirection, jargon-mongering, evading key issues,=20 feigning disinterested objectivity, willful misunderstanding of other=20 points of view---suggests that ... lacks both credibility and evidence.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ---- Edward Tufte (in context of making p= resentations)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0
--089e082106a055347005602a0121--