emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62673: closed (28.2; The example in "(elisp) Prefix Keys" is wrong)


From: GNU bug Tracking System
Subject: bug#62673: closed (28.2; The example in "(elisp) Prefix Keys" is wrong)
Date: Wed, 05 Apr 2023 08:35:02 +0000

Your message dated Wed, 05 Apr 2023 11:35:11 +0300
with message-id <83y1n6sp4w.fsf@gnu.org>
and subject line Re: bug#62673: 28.2; The example in "(elisp) Prefix Keys" is 
wrong
has caused the debbugs.gnu.org bug report #62673,
regarding 28.2; The example in "(elisp) Prefix Keys" is wrong
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62673: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62673
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.2; The example in "(elisp) Prefix Keys" is wrong Date: Wed, 05 Apr 2023 14:43:43 +0800
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#62673: 28.2; The example in "(elisp) Prefix Keys" is wrong Date: Wed, 05 Apr 2023 11:35:11 +0300
> 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]