GNU bug report logs - #62626
29.0.60; describe-key errors on Edit → Paste from Kill Ring → [any item]

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Sun, 2 Apr 2023 18:50:01 UTC

Severity: normal

Found in version 29.0.60

Fixed in version 30.2

Done: Spencer Baugh <sbaugh <at> janestreet.com>

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: sbaugh <at> janestreet.com, 62626 <at> debbugs.gnu.org
Subject: bug#62626: 29.0.60; describe-key errors on Edit → Paste from Kill Ring → [any item]
Date: Sat, 08 Apr 2023 11:42:40 -0400
> Aren't those integer indices the reason why the recipe below:
>
>   emacs -Q
>   M-x context-menu-mode RET
>   Type "foobar" and kill it
>   C-h k and right click, then "Paste from Kill Menu", then select string
>   Observe the help buffer claims the key sequence was:
>     <down-mouse-3> <paste-from-menu> C-a
>                                      ^^^
> shows the bogus "C-a" at the end of the sequence?

Indeed.  We should probably use something
like (intern (format "entry-%d" i)) to avoid confusion.

`context-menu-mode` code has a few other differences with the "normal"
menu (e.g. it fails to truncate long strings, etc...), so we should
consolidate the two codes to keep the best of each.


        Stefan





This bug report was last modified 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.