unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ergus <spacibba@aol.com>
To: Boruch Baum <boruch_baum@gmx.com>
Cc: emacs-devel@gnu.org
Subject: Re: minibuffer keybinding cheatsheet and launcher
Date: Thu, 1 Oct 2020 14:58:18 +0200	[thread overview]
Message-ID: <20201001125818.nnaqoeorkp4liavz@Ergus> (raw)
In-Reply-To: <20201001122322.2uhcq3lqqclzgsnc@E15-2016.optimum.net>

Hi Boruch:

I am trying to test the package (because I don't really understand what
it does) but I can't make it work

I evaluated the code and then

M-x key-assist

and I got a prompt but after that what should I do? Tab just inserts a
tab (no autocompletion), RET says "No choices found", inserting a
pattern and TAB shows the commands and the bindings but I can't select
anything.

BTW: Emacs 28 already has a new variable 'suggest-key-bindings'

+++
** When 'suggest-key-bindings' is non-nil, the completion list of 'M-x'
shows equivalent key bindings for all commands that have them.
---

Does this functionality overlap somehow with your package?

Best,
Ergus

On Thu, Oct 01, 2020 at 08:23:22AM -0400, Boruch Baum wrote:
>Two days ago, I posted to the emacs bug list (#43709) a proposed code
>contribution that hasn't gotten much feedback, so here's a summary and link:
>
>   bug#43709: minibuffer keybinding cheatsheet and launcher
>   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43709
>
>   If you've ever used packages such as `ivy' or `magit', you've
>   probably benefited from each's custom combination keybinding
>   cheatsheet and launcher: `hydra' in the case of `ivy', and
>   `transient' for `magit'. The current package `key-assist'
>   attempts to offer a generic and very simple alternative requiring
>   only the `completing-read' function commonly used in core vanilla
>   emacs. `key-assist' is trivial to implement "on-the-fly"
>   interactively for any buffer, and programmatically much simpler
>   to customize that either `hydra' or `transient'. And did I
>   mention that it only requires `completing-read'?
>
>--
>hkp://keys.gnupg.net
>CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0
>



  reply	other threads:[~2020-10-01 12:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01 12:23 minibuffer keybinding cheatsheet and launcher Boruch Baum
2020-10-01 12:58 ` Ergus [this message]
2020-10-01 14:27   ` Boruch Baum
2020-10-01 14:41   ` Caio Henrique
2020-10-01 15:39     ` Boruch Baum
2020-10-01 16:16       ` Caio Henrique

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201001125818.nnaqoeorkp4liavz@Ergus \
    --to=spacibba@aol.com \
    --cc=boruch_baum@gmx.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).