all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lin Jian <me@linj.tech>
Cc: 62673@debbugs.gnu.org
Subject: bug#62673: 28.2; The example in "(elisp) Prefix Keys" is wrong
Date: Wed, 05 Apr 2023 10:25:37 +0300	[thread overview]
Message-ID: <83zg7msscu.fsf@gnu.org> (raw)
In-Reply-To: <87pm8iu8jr.fsf@linj.tech> (bug-gnu-emacs@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).





  reply	other threads:[~2023-04-05  7:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2023-04-05  8:35   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83zg7msscu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=62673@debbugs.gnu.org \
    --cc=me@linj.tech \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.