From: Eli Zaretskii <eliz@gnu.org>
To: Hong Xu <hong@topbug.net>
Cc: 75366@debbugs.gnu.org
Subject: bug#75366: [PATCH] Improve the doc of key-valid-p
Date: Sat, 04 Jan 2025 22:49:37 +0200 [thread overview]
Message-ID: <864j2eb8ym.fsf@gnu.org> (raw)
In-Reply-To: <20250104203955.139589-1-hong@topbug.net> (message from Hong Xu on Sat, 4 Jan 2025 12:37:53 -0800)
> From: Hong Xu <hong@topbug.net>
> Date: Sat, 4 Jan 2025 12:37:53 -0800
>
> * lisp/keymap.el (key-valid-p): Add an function key example. Mention
> <left> as a cursor control key instead of a function key. Rename
> some "characters" to "key strokes" to be consistent with the terminology
> in the first paragraph. Briefly explain what an event may be.
Thanks, but the changes you suggest to make are not really correct or
at least inaccurate (with the exception of adding "<f6>"). For
example, saying that "event may be a key stroke or a menu item" is
inaccurate, because <mouse-1> is neither and so is <sigusr1>.
What is wrong with the current text that you think it needs these
changes?
> -These are the characters that have special shorthand syntax:
> +These key strokes have special shorthand syntax:
> NUL, RET, TAB, LFD, ESC, SPC, DEL.
They are all characters, not key strokes.
next prev parent reply other threads:[~2025-01-04 20:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-04 20:37 bug#75366: [PATCH] Improve the doc of key-valid-p Hong Xu
2025-01-04 20:44 ` Hong Xu
2025-01-04 20:49 ` Eli Zaretskii [this message]
2025-01-04 21:43 ` Hong Xu
2025-01-05 6: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=864j2eb8ym.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=75366@debbugs.gnu.org \
--cc=hong@topbug.net \
/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.