From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Monnier Subject: Re: Key binding popup interface Date: Tue, 12 Dec 2017 16:48:32 -0500 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> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOsQ0-0008E4-Si for emacs-orgmode@gnu.org; Tue, 12 Dec 2017 16:48:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOsPx-0005Yk-P7 for emacs-orgmode@gnu.org; Tue, 12 Dec 2017 16:48:52 -0500 Received: from [195.159.176.226] (port=59795 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOsPx-0005Xq-Hk for emacs-orgmode@gnu.org; Tue, 12 Dec 2017 16:48:49 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eOsPn-0006ok-1g for emacs-orgmode@gnu.org; Tue, 12 Dec 2017 22:48:39 +0100 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 Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Cc: emacs-devel@gnu.org >> While Hydra might include the feature you're looking for, AFAICT it does >> something else than what you're looking for. > I don't follow "it does something else than what you're looking for". hydra > is used to define interfaces to temporary keymaps with well-formatted hints. I tend to think of Hydra as "bindings that stick around" (to take the wording on the first line of hydra.el), rather than "ways to show available bindings of the current submap". So, yes, I think it does something else (something more) than what I understand you want. And, BTW, if I take a hydra like (defhydra hydra-zoom (global-map "") "zoom" ("g" text-scale-increase "in") ("l" text-scale-decrease "out")) and I press `f6` I don't get any help in the echo area (nor in the "lv" area). I only get that help after pressing `f6 g` or `f6 l`, so I need some other mechanism to find those "initial" key bindings. So in this respect, I think it does something less than what I understand you'd want. > I quickly went though hydra.el.. isn't defhydra mainly what it is? What > would you suggest splitting out of that library? I don't know enough about it to have a clear opinion on that. Stefan