all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: describe-mode bindings (was: [ELPA] New package: disk-usage)
Date: Tue, 19 Feb 2019 16:29:38 -0500	[thread overview]
Message-ID: <f2e79108-caa2-d463-80e9-4c9526036109@gmail.com> (raw)
In-Reply-To: <jwvsgwjfqdh.fsf-monnier+emacs@gnu.org>

On 19/02/2019 15.58, Stefan Monnier wrote:
>> Of course, and I did. But a menue is more convenient. 'C-h m' returns:
> [...]
>> --8<---------------cut here---------------end--------------->8---
>> A longer list than needed; the relevant keys must be found.
> 
> Maybe `C-h m` should be improved to distinguish the mode's own bindings
> from the ones inherited from the parent keymap!?

An overhaul of C-h m would be nice.  In biblio.el I list the docstrings along with the commands, so h gives this:

    Help with ‘biblio-selection-mode’

    ‘C-p’, ‘<up>’ (biblio--selection-previous)
      Move to previous search result.

    ‘C-n’, ‘<down>’ (biblio--selection-next)
      Move to next search result.

    ‘RET’ (biblio--selection-browse)
      Open the web page of the current entry in a web browser.

    ‘C-RET’, ‘<C-return>’ (biblio--selection-browse-direct)
      Open the full text of the current entry in a web browser.

    ‘c’, ‘M-w’ (biblio--selection-copy)
      Copy BibTeX of current entry at point.

    ‘C’, ‘C-w’ (biblio--selection-copy-quit)
      Copy BibTeX of current entry at point and close results.
    
    … etc.

… while C-h m gives this:

    Bibliographic search results (→ magit: mpd) mode defined in ‘biblio-core.el’:
    Browse bibliographic search results.
    key             binding
    ---             -------

    RET             biblio--selection-browse
    C-n             biblio--selection-next
    C-p             biblio--selection-previous
    C-w             biblio--selection-copy-quit
    C-y             biblio--selection-insert-quit
    ESC             Prefix Command
    ?               biblio--selection-help
    C               biblio--selection-copy-quit
    I               biblio--selection-insert-quit
    b               biblio--selection-change-buffer
    c               biblio--selection-copy
    h               biblio--selection-help
    i               biblio--selection-insert
    q               quit-window
    x               biblio--selection-extended-action
    C-RET           biblio--selection-browse-direct
    <C-return>      biblio--selection-browse-direct
      (that binding is currently shadowed by another mode)
    <down>          biblio--selection-next
    <up>            biblio--selection-previous

    M-w             biblio--selection-copy





  reply	other threads:[~2019-02-19 21:29 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19  8:49 [ELPA] New package: disk-usage Pierre Neidhardt
2019-02-19 15:55 ` Clément Pit-Claudel
2019-02-19 16:17 ` Eli Zaretskii
2019-02-19 16:26   ` Pierre Neidhardt
2019-02-19 17:25     ` Eli Zaretskii
2019-02-19 19:29       ` Pierre Neidhardt
2019-02-19 19:44         ` Eli Zaretskii
2019-02-19 19:55           ` Pierre Neidhardt
2019-02-19 20:21 ` Michael Albinus
2019-02-19 20:26   ` Pierre Neidhardt
2019-02-19 20:39     ` Michael Albinus
2019-02-19 20:58       ` describe-mode bindings (was: [ELPA] New package: disk-usage) Stefan Monnier
2019-02-19 21:29         ` Clément Pit-Claudel [this message]
2019-02-19 21:05       ` [ELPA] New package: disk-usage Pierre Neidhardt
2019-02-20  8:08         ` Pierre Neidhardt
2019-02-20 13:28           ` Stefan Monnier
2019-02-24 17:14           ` Pierre Neidhardt
2019-02-24 19:33             ` Pierre Neidhardt
2019-02-24 20:24               ` Stefan Monnier
2019-02-26 11:59             ` Michael Albinus
2019-02-26 15:08               ` Pierre Neidhardt
2019-02-26 15:25                 ` Michael Albinus
2019-03-01 17:51                   ` Pierre Neidhardt
2019-03-01 23:28                     ` Michael Albinus
2019-03-02 13:51                       ` Pierre Neidhardt
2019-03-03 10:28                     ` Michael Albinus

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=f2e79108-caa2-d463-80e9-4c9526036109@gmail.com \
    --to=cpitclaudel@gmail.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 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.