From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: echo-area-keystroke-hook Date: Mon, 14 Dec 2015 23:21:27 +0000 Message-ID: References: <87zixc1wwq.fsf@dokucode.de> <1450132929.12165.0.camel@dokucode.de> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114053c4b5d4c30526e3ee3f X-Trace: ger.gmane.org 1450135309 1290 80.91.229.3 (14 Dec 2015 23:21:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2015 23:21:49 +0000 (UTC) Cc: John Wiegley , emacs-devel To: Christian Dietrich Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 15 00:21:44 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8cR6-0004Qq-3s for ged-emacs-devel@m.gmane.org; Tue, 15 Dec 2015 00:21:44 +0100 Original-Received: from localhost ([::1]:34346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8cR5-0002KM-Fj for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2015 18:21:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8cQr-0002KF-Uc for emacs-devel@gnu.org; Mon, 14 Dec 2015 18:21:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8cQq-0001nF-Pe for emacs-devel@gnu.org; Mon, 14 Dec 2015 18:21:29 -0500 Original-Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:34355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8cQq-0001n6-IR for emacs-devel@gnu.org; Mon, 14 Dec 2015 18:21:28 -0500 Original-Received: by lfcy184 with SMTP id y184so59272183lfc.1 for ; Mon, 14 Dec 2015 15:21:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=1+ijHKw6kT27erMeQi+Yhuw2FSrZykR0Ow/I99AEMWE=; b=PWdAVwqr6W2K6HIyAai273vy+DSxE/VyV1iYX8p2HitsfhqAaIgjOrx29lvGX1Q1bg i0NTha8IgCVTx/ECf47wWmsFIMgtITSPyW1Rfgp3F4nvL9i25Ay8duT1GoC5JnnEip4l hHwjBnzFIG1g9D/L5NhlWag5r1r6wuhQ4bUo7y9Z7Et9bARbwP8Gd4dK50E2j16ZwrYH upQMwbtQ34B2In4WgcGWDmpXl5Xu8/i9g7/twM5PZ2gHNTA5ojpmc7Ti4iS4cejLVdZH OQd+IW3kLQgY0YDBA+6HA6IWfceMZI00DP2WPFsy47L6AMwh93tUPPlQ2KA+M9Vorp4a UO5A== X-Received: by 10.25.78.17 with SMTP id c17mr6548484lfb.47.1450135287876; Mon, 14 Dec 2015 15:21:27 -0800 (PST) Original-Received: by 10.112.142.98 with HTTP; Mon, 14 Dec 2015 15:21:27 -0800 (PST) Original-Received: by 10.112.142.98 with HTTP; Mon, 14 Dec 2015 15:21:27 -0800 (PST) In-Reply-To: <1450132929.12165.0.camel@dokucode.de> X-Google-Sender-Auth: zwQRnbmcz_AHJtOfmDcCGbaU09A X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196275 Archived-At: --001a114053c4b5d4c30526e3ee3f Content-Type: text/plain; charset=UTF-8 > > > > > > > Christian Dietrich writes: > > > > > Normally, I know my keybindings, so I type them in very fast. But > > > sometimes > > > I just don't know what the next character of a prefix command > > > should be. So, > > > when I wait long enough Hydra has an option to delay the popup. That way you only see the hydra if you pause after the first key. that should do what you want and would be simpler than setting up a hook. --001a114053c4b5d4c30526e3ee3f Content-Type: text/html; charset=UTF-8

> > > > > > > Christian Dietrich <stettberger@dokucode.de> writes:
> >
> > > Normally, I know my keybindings, so I type them in very fast. But
> > > sometimes
> > > I just don't know what the next character of a prefix command
> > > should be. So,
> > > when I wait long enough

Hydra has an option to delay the popup. That way you only see the hydra if you pause after the first key.
that should do what you want and would be simpler than setting up a hook.

--001a114053c4b5d4c30526e3ee3f--