From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "John Wiegley" Newsgroups: gmane.emacs.devel,gmane.emacs.orgmode Subject: Re: Key binding popup interface Date: Tue, 12 Dec 2017 22:52:41 -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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513148014 3269 195.159.176.226 (13 Dec 2017 06:53:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Dec 2017 06:53:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (darwin) Cc: emacs-orgmode@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 13 07:53:27 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 1eP0v0-0000Ph-Oh for ged-emacs-devel@m.gmane.org; Wed, 13 Dec 2017 07:53:26 +0100 Original-Received: from localhost ([::1]:34070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eP0v8-0001Vx-0v for ged-emacs-devel@m.gmane.org; Wed, 13 Dec 2017 01:53:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eP0uV-0001NU-N4 for emacs-devel@gnu.org; Wed, 13 Dec 2017 01:52:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eP0uR-0006md-OV for emacs-devel@gnu.org; Wed, 13 Dec 2017 01:52:55 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eP0uR-0006Py-Kf; Wed, 13 Dec 2017 01:52:51 -0500 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:34991) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1eP0uN-00005V-Mm; Wed, 13 Dec 2017 01:52:47 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id E360D212BB; Wed, 13 Dec 2017 01:52:46 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 13 Dec 2017 01:52:46 -0500 X-ME-Sender: Original-Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id 67B9B24140; Wed, 13 Dec 2017 01:52:46 -0500 (EST) In-Reply-To: (Stefan Monnier's message of "Tue, 12 Dec 2017 16:01:09 -0500") Mail-Followup-To: Stefan Monnier , emacs-devel@gnu.org, emacs-orgmode@gnu.org 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:220985 gmane.emacs.orgmode:117480 Archived-At: >>>>> "SM" == Stefan Monnier writes: SM> I have no opinion on that part, but if a part of Hydra would be useful for SM> other packages, then it'd be good to split it out: for me "Hydra" means SM> "define a Hydra via defhydra or something like that", so if you tell me to SM> use Hydra to "show the available valid key bindings", I wouldn't know SM> where to start. Plus, there are other, less intrusive way to achieve "show the available valid key bindings", such as the which-key package. I think one area where Hydras come into their own is that once you have the Hydra active, it stays active, allowing you to chain together many single- letter commands. For example, you could have a hydra for "large-scale syntactic structures", where repeated uses of n/p are mapped to what C-c C-n and C-c C-p usually do in modes like cc-mode. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2