From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel,gmane.emacs.orgmode Subject: Key binding popup interface (Was: Re: Poll: new keybinding for org-insert-structure-template on org mode list) Date: Tue, 12 Dec 2017 14:02:29 +0000 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114075da9a4d7c0560251ab7" X-Trace: blaine.gmane.org 1513087387 31533 195.159.176.226 (12 Dec 2017 14:03:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2017 14:03:07 +0000 (UTC) Cc: emacs-org list To: Rasmus , Emacs developers , Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 15:02:53 2017 Return-path: Envelope-to: ged-emacs-devel@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 1eOl8x-0007LK-I0 for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 15:02:47 +0100 Original-Received: from localhost ([::1]:58485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOl94-0003v6-Rq for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 09:02:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOl8s-0003ro-Nr for emacs-devel@gnu.org; Tue, 12 Dec 2017 09:02:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOl8r-0003YE-4E for emacs-devel@gnu.org; Tue, 12 Dec 2017 09:02:42 -0500 Original-Received: from mail-yb0-x229.google.com ([2607:f8b0:4002:c09::229]:44562) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOl8q-0003Xx-Uh; Tue, 12 Dec 2017 09:02:41 -0500 Original-Received: by mail-yb0-x229.google.com with SMTP id z62so8481750yba.11; Tue, 12 Dec 2017 06:02:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ly3h7o9FMbFC4hO2bfRFgaslZuXtsHUHxoP4H3MjifU=; b=BeivU3gcQW3eis9RjNDd8zioq46rsaj/qHYBzFDJryAWmY/iXbLY8u1hLp9+MRGvfM r4SLaGzzusNqg5sEJfCkguGxImyg+4F0hi40djBeA3+9Y4I2EwejjfKJ1G0Im8CdGVAQ zwKK2+qdso2txm3uu9ZCLOo9AhjYHhmxN8za+YLLJswQ74cj4O8B75FpO379h211Yuvg xAziU3Cp9nP/1b93cSpP9tRXhLTLkDXs0gVQzfwBCWoOHXsU8VewxyWa91t3yjFie/vr Rpf3ebOTLVt8ER7y28YR1MLxIU+2kyry9C93V58eTY52P6pPeT9KhRPfGI6Kk9PW5H7x 9yxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ly3h7o9FMbFC4hO2bfRFgaslZuXtsHUHxoP4H3MjifU=; b=WeGX3lvLA0FfqwzYjfwEsrRobGwKEu3PqesfMdwybuPGLglVOjMlKMl/3pG/FxFSHJ 9CwW3O5QerZvN4YlWYt9Lkmvo/DdiV6oq5qc8wCDo9hVpNlHqjQnWxo+MRQNDL6TqQCn YVnzpTJYqhJu5pSejFOXKTKwlB+l/X3ylFEr5TugNzvv98kXG7E7X+rY8GEfiPuerG+W yxfkEwVM4IMfbs04ELmzNys82RblGjKREziRUA0B8IJQKG4Gtc4+BecVGWPXRhMNL0aI iwIsDg7xS3TyPz157G3jI5ZNoq1MwGjwBbDH9+yDS7AjdJiJ1Th0015L5RjCAzsCVSDG 1pXw== X-Gm-Message-State: AKGB3mKQPUiKlmlQFopNE7/lot3GPDOoYSMJbzA/6JmV3loInTEE7DDh 2eiQ8EUkZCEJ+IHlsW6sgGQEw8dpbgnaccBVp0w= X-Google-Smtp-Source: ACJfBotkd++VOoAzm9/Ixhcns+NZw71BN+g1jWVv4m/BtQ5L0LLyMIMSGxXz9bxkitCsW0j+IwOzFC2/o13WGIveSLQ= X-Received: by 10.129.52.9 with SMTP id b9mr2948993ywa.54.1513087359927; Tue, 12 Dec 2017 06:02:39 -0800 (PST) In-Reply-To: <87k1xs2h0h.fsf@gmx.us> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4002:c09::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:220922 gmane.emacs.orgmode:117462 Archived-At: --001a114075da9a4d7c0560251ab7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. It's already on GNU Elpa[1] , so there won't be any legal concerns. [1]: https://elpa.gnu.org/packages/hydra.html On Tue, Dec 12, 2017, 8:50 AM Rasmus wrote: > Nicolas Goaziou writes: > > > Hello, > > > > Rasmus writes: > > > >> Nicolas, are there any public interfaces to make ox export like > >> interfaces? > > > > No, there isn't. However, Org provides `org-mks'. > > Good point. It isn=E2=80=99t quite as nice as the export dispatcher. Le= t=E2=80=99s wait > and see what Eric prefers. > --=20 Kaushal Modi --001a114075da9a4d7c0560251ab7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Copying this on both Emacs devel and Org mode list. Hopefully this discussi= on is eligible for that.=C2=A0

Problem statement: Need t= o have a pretty interface that shows the available valid key bindings.=C2= =A0

We have something custom developed for Org exp= ort interface. Magit has its own popup interface. I know verilog-mode.el ha= s something in-house for picking the skeleton for insertion, but the interf= ace is not as good as hydra's.=C2=A0 Projectile.el (not on GNU Elpa) ha= s its projectile commander, another in-house attempt to get a similar pop-u= p interface.=C2=A0

Of all those options and more t= hat I've seen out there, hydra.el looks like the most elegant and *conf= igurable* option.=C2=A0

Can hydra.el be merged int= o 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 t= hing.=C2=A0

It's already on GNU Elpa[1] , so t= here won't be any legal concerns.=C2=A0

[1]:= =C2=A0https://elpa.gnu= .org/packages/hydra.html

On Tue, Dec 12, 2017, 8:50 AM Rasmus <rasmus@gmx.us> wrote:
Ni= colas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Rasmus <rasmus@g= mx.us> writes:
>
>> Nicolas, are there any public interfaces to make ox export like >> interfaces?
>
> No, there isn't. However, Org provides `org-mks'.

Good point.=C2=A0 It isn=E2=80=99t quite as nice as the export dispatcher.= =C2=A0 Let=E2=80=99s wait
and see what Eric prefers.
--

Kaushal Modi

--001a114075da9a4d7c0560251ab7--