Emacs and the missing 'g'

Subject: Emacs and the missing 'g'

Date: Tue, 12 Feb 2019 21:04:56 -0800

To: Notmuch Mail

Cc:

From: Matt Armstrong


I'm returning to notmuch after a hiatus.  It is still nice!

First thing I've noticed: the Emacs modes seem to ignore the 'g' key.  I
would like to bind it (by default) to the relevant "refresh" commands.
I'll explain.

notmuch-hello mode leaves 'b' bound to self-insert-command, and
notmuch-search mode does as well.

Most notmuch modes are "special" modes -- i.e. their text is generated
by Emacs and does not reflect a file.  In these modes 'g' has
traditionally been bound to revert the buffer [1].

You see this across many modes: dired, vc, gnus, etc.

I was actually going to report this as a bug until I realized that
notmuch consistently uses '=' for the same thing.

Any objection to also binding 'g'?


For context, here is the list of other bindings in a "special" mode
(from Emacs' simple.el).  Notmuch already follows some of these (such as
<, > and q).

    SPC             scroll-up-command
    -               negative-argument
    0 .. 9          digit-argument
    <               beginning-of-buffer
    >               end-of-buffer
    ?               describe-mode
    g               revert-buffer
    h               describe-mode
    q               quit-window
    DEL             scroll-down-command
    S-SPC           scroll-down-command

[1] (elisp) Basic Major Modes
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: