GNU bug report logs -
#79845
31.0.50; (key-binding (kbd "C-c ^")) get an empty sparse keymap
Previous Next
Reported by: "Yue Yi" <include_yy <at> qq.com>
Date: Sun, 16 Nov 2025 15:54:01 UTC
Severity: normal
Found in version 31.0.50
Done: Robert Pluim <rpluim <at> gmail.com>
To reply to this bug, email your comments to 79845 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79845; Package
emacs.
(Sun, 16 Nov 2025 15:54:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Yue Yi" <include_yy <at> qq.com>:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org.
(Sun, 16 Nov 2025 15:54:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello Emacs maintainers,
During a random key press, I noticed that C-c ^ did not explicitly
display "xxx is undefined" in the echo area. I was curious, so I
evaluated the expression mentioned in the title (referring to the key
binding for C-c ^) and got an empty keymap.
(key-binding (kbd "C-c ^")) => (keymap)
I did not observe this result in 30.2, where its value was the normal
nil. I am aware that this binding is `org-sort' under Org-mode, but the
test environment I chose was fundamental-mode, and I launched Emacs
using emacs -Q.
I would like to ask if this is a new feature introduced in Emacs 31 or
an inadvertently introduced key binding? (It's worth noting that C-h m
does not show this binding in either 30.2 or 31.0.50).
Regards.
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79845; Package
emacs.
(Thu, 20 Nov 2025 15:28:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 79845 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Sun, 16 Nov 2025 23:51:34 +0800, "Yue Yi" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org> said:
Yue> Hello Emacs maintainers,
Yue> During a random key press, I noticed that C-c ^ did not explicitly
Yue> display "xxx is undefined" in the echo area. I was curious, so I
Yue> evaluated the expression mentioned in the title (referring to the key
Yue> binding for C-c ^) and got an empty keymap.
Yue> (key-binding (kbd "C-c ^")) => (keymap)
Yue> I did not observe this result in 30.2, where its value was the normal
Yue> nil. I am aware that this binding is `org-sort' under Org-mode, but the
Yue> test environment I chose was fundamental-mode, and I launched Emacs
Yue> using emacs -Q.
Yue> I would like to ask if this is a new feature introduced in Emacs 31 or
Yue> an inadvertently introduced key binding? (It's worth noting that C-h m
Yue> does not show this binding in either 30.2 or 31.0.50).
This is the smerge prefix, for which a global binding was added to
avoid errors at the end of an smerge session. Perhaps we can enable it
only when smerge has actually been used? Given that the change came
from Stefan M, I始m sure that was considered. Stefan?
Robert
--
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79845; Package
emacs.
(Thu, 20 Nov 2025 15:56:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 79845 <at> debbugs.gnu.org (full text, mbox):
> Given that the change came from Stefan M, I始m sure that was
> considered. Stefan?
Obviously, I did consider exhaustively every possible angle, but for the
usual security reasons, I also promptly threw away any information about
the alternatives, sorry. 馃檪
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79845; Package
emacs.
(Thu, 20 Nov 2025 16:47:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 79845 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Thu, 20 Nov 2025 10:55:34 -0500, Stefan Monnier <monnier <at> iro.umontreal.ca> said:
>> Given that the change came from Stefan M, I始m sure that was
>> considered. Stefan?
Stefan> Obviously, I did consider exhaustively every possible angle, but for the
Stefan> usual security reasons, I also promptly threw away any information about
Stefan> the alternatives, sorry. 馃檪
I始m sure that falls foul of some public record preservation law
somewhere 馃槈
Yue Yi, does this answer your question? I始m not sure it始s worth the
effort to make any changes here.
Robert
--
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79845; Package
emacs.
(Thu, 20 Nov 2025 17:12:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 79845 <at> debbugs.gnu.org (full text, mbox):
Robert Pluim wrote,
> >>>>> On Thu, 20 Nov 2025 10:55:34 -0500, Stefan Monnier <monnier <at> iro.umontreal.ca> said:
>
> >> Given that the change came from Stefan M, I始m sure that was
> >> considered. Stefan?
>
> Stefan> Obviously, I did consider exhaustively every possible angle, but for the
> Stefan> usual security reasons, I also promptly threw away any information about
> Stefan> the alternatives, sorry. 馃檪
>
> I始m sure that falls foul of some public record preservation law
> somewhere 馃槈
>
> Yue Yi, does this answer your question? I始m not sure it始s worth the
> effort to make any changes here.
Thanks for the explanation. I understand the situation now.
Since this behavior is harmless, I agree that it is not worth the effort
to change. Please feel free to close this bug report.
Reply sent
to
Robert Pluim <rpluim <at> gmail.com>:
You have taken responsibility.
(Thu, 20 Nov 2025 17:18:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Yue Yi" <include_yy <at> qq.com>:
bug acknowledged by developer.
(Thu, 20 Nov 2025 17:18:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 79845-done <at> debbugs.gnu.org (full text, mbox):
>>>>> On Fri, 21 Nov 2025 01:11:27 +0800, "Yue Yi" <include_yy <at> qq.com> said:
>> Yue Yi, does this answer your question? I始m not sure it始s worth the
>> effort to make any changes here.
Yue> Thanks for the explanation. I understand the situation now.
Yue> Since this behavior is harmless, I agree that it is not worth the effort
Yue> to change. Please feel free to close this bug report.
Done with this message
Robert
--
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.