* bug#62673: 28.2; The example in "(elisp) Prefix Keys" is wrong
@ 2023-04-05 6:43 Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-05 7:25 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-04-05 6:43 UTC (permalink / raw)
To: 62673
Reproducing steps:
1. emacs -Q
2. eval the example in the *scratch* buffer
2.1. (use-local-map (make-sparse-keymap))
=> nil ;; good
2.2. (local-set-key "\C-p" ctl-x-map)
=> (keymap ...) ;; bad: manual says it returns nil
2.3. (key-binding "\C-p\C-f")
=> find-file ;; good
2.4. (key-binding "\C-p6")
=> 2C-command ;; bad: manual says it returns nil
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#62673: 28.2; The example in "(elisp) Prefix Keys" is wrong
2023-04-05 6:43 bug#62673: 28.2; The example in "(elisp) Prefix Keys" is wrong Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-04-05 7:25 ` Eli Zaretskii
2023-04-05 8:35 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2023-04-05 7:25 UTC (permalink / raw)
To: Lin Jian; +Cc: 62673
> Date: Wed, 05 Apr 2023 14:43:43 +0800
> From: Lin Jian via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
>
> Reproducing steps:
> 1. emacs -Q
> 2. eval the example in the *scratch* buffer
> 2.1. (use-local-map (make-sparse-keymap))
> => nil ;; good
> 2.2. (local-set-key "\C-p" ctl-x-map)
> => (keymap ...) ;; bad: manual says it returns nil
> 2.3. (key-binding "\C-p\C-f")
> => find-file ;; good
> 2.4. (key-binding "\C-p6")
> => 2C-command ;; bad: manual says it returns nil
That section was meanwhile rewritten (with new exciting mistakes).
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#62673: 28.2; The example in "(elisp) Prefix Keys" is wrong
2023-04-05 7:25 ` Eli Zaretskii
@ 2023-04-05 8:35 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2023-04-05 8:35 UTC (permalink / raw)
To: me; +Cc: 62673-done
> Cc: 62673@debbugs.gnu.org
> Date: Wed, 05 Apr 2023 10:25:37 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Date: Wed, 05 Apr 2023 14:43:43 +0800
> > From: Lin Jian via "Bug reports for GNU Emacs,
> > the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> >
> >
> > Reproducing steps:
> > 1. emacs -Q
> > 2. eval the example in the *scratch* buffer
> > 2.1. (use-local-map (make-sparse-keymap))
> > => nil ;; good
> > 2.2. (local-set-key "\C-p" ctl-x-map)
> > => (keymap ...) ;; bad: manual says it returns nil
> > 2.3. (key-binding "\C-p\C-f")
> > => find-file ;; good
> > 2.4. (key-binding "\C-p6")
> > => 2C-command ;; bad: manual says it returns nil
>
> That section was meanwhile rewritten (with new exciting mistakes).
Should be fixed now on the emacs-29 branch, so I'm closing the bug.
Thanks for reporting these discrepancies.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-05 8:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 6:43 bug#62673: 28.2; The example in "(elisp) Prefix Keys" is wrong Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-05 7:25 ` Eli Zaretskii
2023-04-05 8:35 ` Eli Zaretskii
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).