GNU bug report logs -
#69345
29.2; Quick Help shows wrong key binding for "kill region"
Previous Next
Reported by: Gómez Ocaña Pablo <pablo.gomezo <at> uah.es>
Date: Sat, 24 Feb 2024 07:56:02 UTC
Severity: normal
Found in version 29.2
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69345 in the body.
You can then email your comments to 69345 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#69345
; Package
emacs
.
(Sat, 24 Feb 2024 07:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Gómez Ocaña Pablo <pablo.gomezo <at> uah.es>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 24 Feb 2024 07:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The command C-h C-q (help-quick-toggle) shows a list of popular
commands, but the key binding for "kill region" is wrong: it shows M-w,
but it should be C-w.
-----------------------------
In GNU Emacs 29.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
cairo version 1.16.0) of 2024-02-23 built on lcy02-amd64-094
Repository revision: d08a52e901665f1e8608f380486c76af70431cfb
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Ubuntu 18.04.6 LTS
Configured using:
'configure --prefix=/snap/emacs/current/usr --with-x-toolkit=gtk3
--without-xaw3d --with-modules --with-cairo
--with-native-compilation=aot --without-pgtk --with-xinput2
--with-tree-sitter --with-json
'CFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include
-isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu
-isystem/build/emacs/stage/usr/include -O2'
'CPPFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include
-isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu
-isystem/build/emacs/stage/usr/include'
'LDFLAGS=-L/build/emacs/parts/emacs/install/lib
-L/build/emacs/parts/emacs/install/usr/lib
-L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu
-L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu
-L/build/emacs/stage/usr/lib''
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM
GTK3 ZLIB
Important settings:
value of $LANG: es_ES.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: Fundamental
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
buffer-read-only: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils text-property-search rect tango-dark-theme
finder-inf site-start comp comp-cstr warnings icons rx cl-extra
help-mode package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
native-compile emacs)
Memory information:
((conses 16 229337 13341)
(symbols 48 12392 0)
(strings 32 65224 2573)
(string-bytes 1 1628128)
(vectors 16 24974)
(vector-slots 8 471910 22273)
(floats 8 38 22)
(intervals 56 509 0)
(buffers 984 13))
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#69345
; Package
emacs
.
(Sat, 24 Feb 2024 10:11:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 69345 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Gómez Ocaña Pablo <pablo.gomezo <at> uah.es> writes:
> The command C-h C-q (help-quick-toggle) shows a list of popular
> commands, but the key binding for "kill region" is wrong: it shows M-w,
> but it should be C-w.
The issue is not really that the binding is wrong, since these are
determined using `where-is', but that the description isn't matching the
chosen command `kill-ring-save'.
So we can either fix it by using the "right" command
[Message part 2 (text/plain, inline)]
diff --git a/lisp/help.el b/lisp/help.el
index 07eed2861c2..15f013c3686 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -151,7 +151,7 @@ help-quick-sections
("Mark & Kill"
(set-mark-command . "mark")
(kill-line . "kill line")
- (kill-ring-save . "kill region")
+ (kill-region . "kill region")
(yank . "yank")
(exchange-point-and-mark . "swap"))
("Projects"
[Message part 3 (text/plain, inline)]
or by changing the description:
[Message part 4 (text/plain, inline)]
diff --git a/lisp/help.el b/lisp/help.el
index 07eed2861c2..f72ebd90114 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -151,7 +151,7 @@ help-quick-sections
("Mark & Kill"
(set-mark-command . "mark")
(kill-line . "kill line")
- (kill-ring-save . "kill region")
+ (kill-ring-save . "copy region")
(yank . "yank")
(exchange-point-and-mark . "swap"))
("Projects"
[Message part 5 (text/plain, inline)]
I think the second option is better, because "copying" code is probably
what more people are interested in.
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 24 Feb 2024 10:29:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Gómez Ocaña Pablo <pablo.gomezo <at> uah.es>
:
bug acknowledged by developer.
(Sat, 24 Feb 2024 10:29:03 GMT)
Full text and
rfc822 format available.
Message #13 received at 69345-done <at> debbugs.gnu.org (full text, mbox):
> From: Gómez Ocaña Pablo
> <pablo.gomezo <at> uah.es>
> Date: Fri, 23 Feb 2024 18:48:31 +0000
> msip_labels:
>
> The command C-h C-q (help-quick-toggle) shows a list of popular
> commands, but the key binding for "kill region" is wrong: it shows M-w,
> but it should be C-w.
Thanks, fixed on the emacs-29 branch, and closing the bug.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#69345
; Package
emacs
.
(Sat, 24 Feb 2024 10:42:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 69345 <at> debbugs.gnu.org (full text, mbox):
> Cc: 69345 <at> debbugs.gnu.org
> From: Philip Kaludercic <philipk <at> posteo.net>
> Date: Sat, 24 Feb 2024 10:02:37 +0000
>
> Gómez Ocaña Pablo <pablo.gomezo <at> uah.es> writes:
>
> > The command C-h C-q (help-quick-toggle) shows a list of popular
> > commands, but the key binding for "kill region" is wrong: it shows M-w,
> > but it should be C-w.
>
> The issue is not really that the binding is wrong, since these are
> determined using `where-is', but that the description isn't matching the
> chosen command `kill-ring-save'.
>
> So we can either fix it by using the "right" command
>
> or by changing the description:
I went with the former, since the section's name is "Mark & Kill", and
M-w isn't a kill command.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 23 Mar 2024 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.