From: Drew Adams <drew.adams@oracle.com>
To: 17039@debbugs.gnu.org
Subject: bug#17039: 24.3.50; doc of `kbd`: arg format
Date: Tue, 18 Mar 2014 19:20:44 -0700 (PDT) [thread overview]
Message-ID: <5a23b8ad-807e-4627-9764-8c804a03850a@default> (raw)
1. The doc string says this:
KEYS should be a string constant in the format used for
saving keyboard macros (see `edmacro-mode').
That's all well and good, and it should be kept: the link provides
valuable and complete info.
However, most people consulting this doc will not be interested so much
in `edmacro-mode' or even the complete description its doc string
provides. They will be helped most (or at least additionally) by
telling them that the format of argument KEYS is the format that `C-h k'
uses to describe a key sequence.
Please add that information, and please put it first, before adding the
`edmacro-mode' link for more complete information about the format.
2. (emacs) `Init Rebinding' at least says, in passing, that the
representation is "similar to how we have written key sequences in this
manual".
I'm not sure why it says "similar to" instead of the same as, unless
that is a reference to the fact that keys are written a bit differently
in a printed manual. Also confusing is the fact that the manual writes
key sequences in different ways in the manual, only some of which
correspond to the syntax expected by `kbd'. An example is given in the
same node: (global-set-key "\C-x\M-l" ...).
I don't really have a problem with what is said in that regard, though
it is not too clear. But things would be much clearer if you would
please add that the format is what `C-h k' shows in its help. `C-h k'
is something that even newbies learn quickly. It gives them a point of
reference, even if it does not detail the syntax rules (as does `C-h f
edmacro-mode').
In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
of 2014-03-10 on ODIEONE
Bzr revision: 116730 lekktu@gmail.com-20140311014451-rxr9uapugo5bedft
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
-Ic:/Devel/emacs/include''
next reply other threads:[~2014-03-19 2:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-19 2:20 Drew Adams [this message]
2016-04-29 18:27 ` bug#17039: 24.3.50; doc of `kbd`: arg format Lars Ingebrigtsen
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=5a23b8ad-807e-4627-9764-8c804a03850a@default \
--to=drew.adams@oracle.com \
--cc=17039@debbugs.gnu.org \
/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.