unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>, Eli Zaretskii <eliz@gnu.org>
Cc: "17888@debbugs.gnu.org" <17888@debbugs.gnu.org>
Subject: bug#17888: [External] : Re: bug#17888: 24.4.50; key binding not shown in menu item for alias command
Date: Wed, 27 Jan 2021 16:31:58 +0000	[thread overview]
Message-ID: <SA2PR10MB4474901D8C93CF9A58735149F3BB9@SA2PR10MB4474.namprd10.prod.outlook.com> (raw)
In-Reply-To: <87a6su98mn.fsf@gnus.org>

> > Indeed, it isn't clear at all that the expectations
> > in this case are correct.

To this user, at least, it's clearer that users
will expect the alias's key indication than that
they will expect no key indication.

More importantly, showing the key is more helpful
to users than not showing it.  The key has the
same effect, for users, as using the menu item.

Consider also:

(defun foo () (interactive) (message "FOO"))
(global-set-key "\C-o" 'foo)
(defalias 'bar 'foo)

C-h w bar

  bar is not on any key;
   its alias foo is on C-o

That's nice, complete info.  Both pieces of that
info are appropriate for such a Help command.

Presumably we tell users about the alias binding
to let them know that you can use `C-o' to, in
effect, invoke `bar'.

That's the info that's missing, for a menu item. 

> So I'm closing this bug report.






      reply	other threads:[~2021-01-27 16:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 22:34 bug#17888: 24.4.50; key binding not shown in menu item for alias command Drew Adams
2021-01-20  2:06 ` Lars Ingebrigtsen
2021-01-20 15:10   ` Eli Zaretskii
2021-01-27  6:49     ` Lars Ingebrigtsen
2021-01-27 16:31       ` Drew Adams [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SA2PR10MB4474901D8C93CF9A58735149F3BB9@SA2PR10MB4474.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=17888@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.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 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).