unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Simple key guide package
@ 2022-05-24  6:56 dalanicolai
  2022-05-24 11:19 ` Philip Kaludercic
  0 siblings, 1 reply; 3+ messages in thread
From: dalanicolai @ 2022-05-24  6:56 UTC (permalink / raw)
  To: Emacs Devel

[-- Attachment #1: Type: text/plain, Size: 1141 bytes --]

I would like to inform you about some small project, named key-guide
<https://github.com/notifications>.
It is another 'key guide' package, with functionality in between
(pretty-)hydra (or transient) and which-key, but much quicker to use
(which has its advantages and disadvantages).

So the package prints a simple key guide (providing which-key and hydra
style formatting options).

It is similar to hydra in the sense that it organizes key bindings by
categories
(but without using a separate keymap).
It is similar to which-key, because it includes functionality to infer from
a function name
which key to print  (and the other way around).

It is strongly inspired by the pretty hydra
<https://melpa.org/#/pretty-hydra> package, but when trying to use that
package (for 'documenting the 'ebib' package), I found it too much work to
once more define another complete keymap for it.

The package is especially handy for non-text-editing modes (like Info, ebib
modes or sketch mode).

I am not planning to put much more work in it, but just wanted to inform
you about its existence,
so you can use/extend it or contibute when interested.

[-- Attachment #2: Type: text/html, Size: 1446 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Simple key guide package
  2022-05-24  6:56 Simple key guide package dalanicolai
@ 2022-05-24 11:19 ` Philip Kaludercic
  2022-05-24 12:25   ` dalanicolai
  0 siblings, 1 reply; 3+ messages in thread
From: Philip Kaludercic @ 2022-05-24 11:19 UTC (permalink / raw)
  To: dalanicolai; +Cc: Emacs Devel

dalanicolai <dalanicolai@gmail.com> writes:

> I would like to inform you about some small project, named key-guide
> <https://github.com/notifications>.

You seem to have inserted the wrong link?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Simple key guide package
  2022-05-24 11:19 ` Philip Kaludercic
@ 2022-05-24 12:25   ` dalanicolai
  0 siblings, 0 replies; 3+ messages in thread
From: dalanicolai @ 2022-05-24 12:25 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: Emacs Devel

[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]

Oops, thanks! Here is the correct link
https://github.com/dalanicolai/emacs-key-guide.

B.t.w. it does not add much to `pretty-hydra`, maybe I should just have
extended pretty hydra,
with a function that simply 'gathers' function names by giving it a list of
'key-strings'.
But I remembered that hydra was not a good option for `sketch-mode` so I
wanted to create
this anyway for that package.
And somehow it feels not right to create an extra keymap, just to have a
key-guide. But on the
other hand, that could also be just a better approach (that is hard to
'decide' ).

If anyone has some ideas about it, they are very welcome. Otherwise and in
any case this is just
very similar to pretty hydra, but without depending on the hydra package
and introducing extra
keymaps.

On Tue, 24 May 2022 at 13:19, Philip Kaludercic <philipk@posteo.net> wrote:

> dalanicolai <dalanicolai@gmail.com> writes:
>
> > I would like to inform you about some small project, named key-guide
> > <https://github.com/notifications>.
>
> You seem to have inserted the wrong link?
>

[-- Attachment #2: Type: text/html, Size: 1732 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-24 12:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24  6:56 Simple key guide package dalanicolai
2022-05-24 11:19 ` Philip Kaludercic
2022-05-24 12:25   ` dalanicolai

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).