From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Key binding popup interface Date: Tue, 12 Dec 2017 12:20:51 -0800 Message-ID: <87shcfpujg.fsf@ericabrahamsen.net> 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: In-Reply-To: (Kaushal Modi's message of "Tue, 12 Dec 2017 14:02:29 +0000") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sender: "Emacs-devel" To: Kaushal Modi Cc: Oleh Krehel , emacs-org list , Rasmus , Emacs developers List-Id: emacs-orgmode.gnu.org Kaushal Modi writes: > 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. > > We have something custom developed for Org export interface. Magit has its own popup interface. I know verilog-mode.el has something in-house for picking the skeleton for insertion, but the interface is not as good as hydra's. > Projectile.el (not on GNU Elpa) has its projectile commander, another in-house attempt to get a similar pop-up interface. > > Of all those options and more that I've seen out there, hydra.el looks like the most elegant and *configurable* option. > > Can hydra.el be merged into Emacs core, so that all the packages can start taking advantage of that? We need to stop having each package develop their own way to do this same thing. Hydra definitely sounds nice, but unless I'm misunderstanding how it works, it can't be a replacement for either Org's export interface, or Magit's popups. Both of those can set various state variables before choosing an actual action -- Hydra can't do that, can it? Did I hear that Magit was breaking its popup interface out into a separate library? If so, that would also be a nice thing.