From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: Display the key bindings on the screen Date: Mon, 24 Jun 2013 10:55:54 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1372085810 25704 80.91.229.3 (24 Jun 2013 14:56:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2013 14:56:50 +0000 (UTC) Cc: emacs To: marc tfardy Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 24 16:56:52 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Ur8CK-0003Zt-CE for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Jun 2013 16:56:52 +0200 Original-Received: from localhost ([::1]:59341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur8CJ-0002LB-Kk for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Jun 2013 10:56:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur8C4-0002Gk-Lu for help-gnu-emacs@gnu.org; Mon, 24 Jun 2013 10:56:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ur8C3-0006d0-5w for help-gnu-emacs@gnu.org; Mon, 24 Jun 2013 10:56:36 -0400 Original-Received: from mail-ve0-x22a.google.com ([2607:f8b0:400c:c01::22a]:45063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur8C3-0006ct-2O for help-gnu-emacs@gnu.org; Mon, 24 Jun 2013 10:56:35 -0400 Original-Received: by mail-ve0-f170.google.com with SMTP id 14so8911034vea.29 for ; Mon, 24 Jun 2013 07:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=A4rdioZaH5GsgTjmxfy/iOPAacl/1Hgm+/sqp0z0pzk=; b=eqORC8gLlF9CKBRlTR1PbKw9hT8dXREQRxVHldsZ3wtooDxXhYpFFQJXi33Ro8DLs+ 8JmuG3F0jexkpSFyNUyLOT+4jxWv+1BEkVTWw3iPwUJHPGpkErWtImCTvLc/wWeqnqgg ZWAqBs/a0OxE2CXtQsHxN9BG2Es/ETcXZb6/0CRF7GFEz0q6oQhP1WWXHO0hjF0F1VYd /5xrkN7tB89s0XiwIdFgT3UPsZUWApXcJL9i8nKqHYRRJi9nfcyl9AxtPZf9IRickAwo BCYiRRQWBfvZCcXIOx/xUaeK0i+uf8jyO91KoXLEYaOMMCvvcHv2Yx6srX3/ZWIB7oQM i3uw== X-Received: by 10.220.48.17 with SMTP id p17mr11214613vcf.97.1372085794305; Mon, 24 Jun 2013 07:56:34 -0700 (PDT) Original-Received: by 10.220.148.211 with HTTP; Mon, 24 Jun 2013 07:55:54 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c01::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91693 Archived-At: On Sat, Jun 22, 2013 at 3:15 PM, marc tfardy wrote: > I plan a Emacs video tutorial. For better key chords visualisation I would > like to display the pressed keys on the screen (in a window or in a small > separate frame). This means: when I type some key combination that is bound > to a Emacs lisp function - or this keys are a prefix - these keys are > displayed on the screen and are further normally processed. Think of > something like key visualisation in this video: > https://tutsplus.com/lesson/the-command-palette/ > but not as a separate software, but a part of Emacs. This could could be an > advantage for extension, e.g. displaying of the command name. > > Is there any package that cover this functionality? [vimgolf-minor-mode][] does most of this, but not in a way that you'd directly like. I've been meaning to rip out the key-recording part of it into something separate as I've wanted it enough times in other places that I think it would be useful as a composable library. You might be interested in doing that. Other than that, I don't know what your platform is, but I used [KeyCastr][] to great effect in my own [VimGolf in Emacs Series][]. I think there are things like that for every major platform. Might consider using that even though it won't do everything you want it to do. Better to ship something than nothing. [vimgolf-minor-mode]: https://github.com/igrigorik/vimgolf/tree/master/emacs [KeyCastr]: http://download.cnet.com/KeyCastr/3000-2075_4-125977.html [VimGolf in Emacs Series]: http://blog.twonegatives.com/tagged/vimgolf/ -- In Christ, Timmy V. http://blog.twonegatives.com/ http://five.sentenc.es/ -- Spend less time on mail