[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 6057d79 * doc/lispref/keymaps.texi (Extended Me
From: |
Eli Zaretskii |
Subject: |
Re: [Emacs-diffs] master 6057d79 * doc/lispref/keymaps.texi (Extended Menu Items): Tweak :key-sequence |
Date: |
Sun, 19 Apr 2020 18:11:35 +0300 |
> From: Stefan Monnier <address@hidden>
> Cc: address@hidden
> Date: Sun, 19 Apr 2020 10:42:46 -0400
>
> >> @item :key-sequence @var{key-sequence}
> >> This property specifies which key sequence is likely to be bound to the
> >> -same command invoked by this menu item. If you specify the right key
> >> -sequence, that makes preparing the menu for display run much faster.
> >> +same command invoked by this menu item. If you specify a correct key
> >> +sequence, that sequence will be preferred over others.
> >> ^^^^^^^^^^^^^^^^^
> >> In what sense will that sequence be "preferred" in this case?
> >> Also, I see that easymenu.el still claims that there's a speed
> >> advantage to using :key-sequence.
>
> Indeed.
>
> How 'bout the patch below? I'm still not really satisfied (and I think
> removing the duplication would also be good).
The new text is clear, thanks. I think this should go to the release
branch.
I'm also okay with removing the duplication (e.g., how about having a
cross-reference in one of the places pointing to the other one?)
Thanks.