From: Richard Stallman <rms@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: cpitclaudel@gmail.com, emacs-devel@gnu.org
Subject: Re: Ideas to improve the output of C-h m?
Date: Sat, 02 May 2020 23:39:07 -0400 [thread overview]
Message-ID: <E1jV5T9-0000kA-A8@fencepost.gnu.org> (raw)
In-Reply-To: <CADwFkmnCD4YXubOEDtc9E+kmTTgm-DW108gq121OjMoj_HBeoQ@mail.gmail.com> (message from Stefan Kangas on Sat, 2 May 2020 01:02:13 +0200)
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> Some modes, e.g. Info-mode, currently implement their own doc string
> and never bother with 'substitute-command-keys'
> ("\\{<foo>-mode-map}").[1]
When a doc string is long, or when the mode has many commands,
the current way of displaying the list of commands is inconvenient.
I think it would be good to develop a better way.
> It would be useful, I think, if the mode author was able to customize
> the listing of commands while also "automatically" using the best
> standard for displaying them (with the added faces, indentation, etc.
> as you suggest) rather than having to write a doc string manually to
> achieve it. For example, maybe we could come up with a way to group
> commands by categories and then have them displayed under proper
> headlines in key binding listings.
I agree.
Instead of including the whole list directly in the displayed doc string,
it might be better to have a link you can follow to see that whole list.
--
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
next prev parent reply other threads:[~2020-05-03 3:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-01 14:34 Ideas to improve the output of C-h m? Clément Pit-Claudel
2020-05-01 15:55 ` Stefan Monnier
2020-05-01 16:16 ` Clément Pit-Claudel
2020-05-01 17:44 ` Stefan Monnier
2020-05-01 23:02 ` Stefan Kangas
2020-05-02 3:24 ` Clément Pit-Claudel
2020-05-06 13:34 ` Stefan Kangas
[not found] ` <jwv5zd9wyj6.fsf-monnier+emacs@gnu.org>
[not found] ` <CADwFkmmhezor_jCwff8YH2wVvnyb7Rf=7YnLeeN_aRehkw8beA@mail.gmail.com>
2020-08-21 0:27 ` scratch/substitute-command-keys: C conversion of s-c-k Stefan Kangas
2020-05-03 3:39 ` Richard Stallman [this message]
2020-05-02 4:05 ` Ideas to improve the output of C-h m? Jean-Christophe Helary
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1jV5T9-0000kA-A8@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=cpitclaudel@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=stefan@marxist.se \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.