emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a "quick-help" menu


From: Stefan Kangas
Subject: Re: Adding a "quick-help" menu
Date: Mon, 19 Sep 2022 05:08:23 -0400

Philip Kaludercic <philipk@posteo.net> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> There is a fork of mg (MicroEmacs)[0] that binds C-h q to a command that
>>> pops up a buffer with these contents:
>>
>> I think having a "cheat sheet" like this would be useful.
>
> Calling it a "cheat sheet" sounds like a good idea.  I've added
> `cheat-sheet' as an alias:

Thanks, this looks great.  Some comments after testing it:

- I think we should use `help-for-help-header' for the headlines, not
  capitalize them, and align them with :align-to.

- Should it be modal, like `C-h C-h'?

- If not, I think it would be nice if you could remove it by typing "q"
  again.

  Perhaps point should be moved to the new buffer by default?  (But then
  again, it doesn't do that with "*Help*" by default, sadly.)  So maybe
  a repeat-map is appropriate?  Just some ideas.

- The keys should be linked to the corresponding command docstrings.

- Wishlist: It would be great if it had an optional vertical view,
  perhaps that you could toggle with both a command and defcustom.
  Perhaps the vertical view could even be the default if the window
  width is too narrow to fit it all?

Also, some nits:

- "other" should be "other win." or "other window".

- "rev. search" should be "search backwards".

- "replace" could be "search & replace" or "search&replace"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]