From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: Problem quitting properly from transient keymap with one keystroke Date: Fri, 20 Oct 2017 10:32:17 -0400 Message-ID: References: Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c12576ecad15b055bfb58d2" X-Trace: blaine.gmane.org 1508510048 12901 195.159.176.226 (20 Oct 2017 14:34:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Oct 2017 14:34:08 +0000 (UTC) Cc: emacs-devel To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 20 16:34:02 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 1e5YMu-0000tn-Nn for ged-emacs-devel@m.gmane.org; Fri, 20 Oct 2017 16:33:48 +0200 Original-Received: from localhost ([::1]:54281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5YN2-0000L3-7G for ged-emacs-devel@m.gmane.org; Fri, 20 Oct 2017 10:33:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5YM0-0000Hu-VU for emacs-devel@gnu.org; Fri, 20 Oct 2017 10:32:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5YLx-0006VD-2J for emacs-devel@gnu.org; Fri, 20 Oct 2017 10:32:52 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5YLw-0006V0-VP for emacs-devel@gnu.org; Fri, 20 Oct 2017 10:32:48 -0400 Original-Received: from mail-qt0-f171.google.com ([209.85.216.171]:52964) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1e5YLw-0001Bq-KK for emacs-devel@gnu.org; Fri, 20 Oct 2017 10:32:48 -0400 Original-Received: by mail-qt0-f171.google.com with SMTP id 31so18655216qtz.9 for ; Fri, 20 Oct 2017 07:32:48 -0700 (PDT) X-Gm-Message-State: AMCzsaXKf/v9Xs5QuGN85+h+s7XRdELh5YSIseaaIBQmr3gUEUfiSflS fNwaI9okBbGNfMC8T1XGbHdjJQnGTQzFxdx8+xM= X-Google-Smtp-Source: ABhQp+QkE1ymEh7aRY8XJ/7bjkb4e9yZ7neuBDcsi5Sf4P3ABTVoevlnZTpFhoi4/S5I0JNjstybFSAXiMw+dDVVfHs= X-Received: by 10.237.43.99 with SMTP id p90mr7598374qtd.171.1508509968157; Fri, 20 Oct 2017 07:32:48 -0700 (PDT) Original-Received: by 10.200.12.74 with HTTP; Fri, 20 Oct 2017 07:32:17 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:219646 Archived-At: --94eb2c12576ecad15b055bfb58d2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Oct 20, 2017 at 8:42 AM, Oleh Krehel wrote: > > Have you looked at the hydra package on ELPA? It's easy to do what you > describe with `defhydra'. > Initially, it relied on the default `set-transient-map', but now it > uses `hydra-set-transient-map' (which makes some things easier). > =E2=80=8BThanks. Hydra is at the top of my list for new packages to work w= ith; I just watched your London talk on it which was very clear.=E2=80=8B It would be nice if you could also offer a mini-hydra like your original prototype which would be less than say 100 lines and would be easier to use for very basic needs. Bob --94eb2c12576ecad15b055bfb58d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Oct 20, 2= 017 at 8:42 AM, Oleh Krehel <ohwoeowho@gmail.com> wrote:

Have you looked at the hydra package on ELPA? It's easy to do wh= at you
describe with `defhydra'.
Initially, it relied on the default `set-transient-map', but now it
uses `hydra-set-transient-map' (which makes some things easier).

=E2=80=8BThanks.=C2=A0 Hydra is at the top of my list = for new packages to work with; I just watched your London talk on it which = was very clear.=E2=80=8B
It would be nice if you could also offer a mini-h= ydra like your original prototype which would be less than say 100 lines an= d would
be easier to use for very basic needs.

Bob


--94eb2c12576ecad15b055bfb58d2--