From: Miles Bader <miles@gnu.org>
To: Steve Revilak <steve@srevilak.net>
Cc: emacs-devel@gnu.org
Subject: Re: (kbd) for key bindings
Date: Thu, 18 Feb 2010 16:18:48 +0900 [thread overview]
Message-ID: <buobpfnggfb.fsf@dhlpc061.dev.necel.com> (raw)
In-Reply-To: <20100218032947.GB21339@srevilak.net> (Steve Revilak's message of "Wed, 17 Feb 2010 22:29:48 -0500")
Steve Revilak <steve@srevilak.net> writes:
> I'd never heard of (kbd) before, but I like that representation a lot.
> It's the same syntax that describe-key outputs, and it's also the same
> syntax that people use when writing about emacs key bindings (e.g.,
> the emacs tutorial). If you understand what "C-x C-f" means, then you
> basically know how to supply arguments to kbd.
I'm not sure kbd is really the best "universal solution" though.
The fact that it's a macro can be annoying and surprising (you can't
funcall it, for instance) and its key syntax seems worryingly ad-hoc --
the "output format" that kbd purports to parse is meant for easy human
readability, not unambiguous machine parsing.
-Miles
--
Happiness, n. An agreeable sensation arising from contemplating the misery of
another.
next prev parent reply other threads:[~2010-02-18 7:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2AADFE343D601545A6F8F2B49E144A37EDE0118C4A@STAWINCOEXMAIL1.staff.vuw.ac.nz>
[not found] ` <4B5DEEF6.6050006@uleth.ca>
[not found] ` <4B5E44A6.1060908@o2.pl>
[not found] ` <4B5EFD50.6050802@durusau.net>
[not found] ` <4B5F49D9.5000107@vuw.ac.nz>
[not found] ` <2BBFBDCDF4296C4482D60C88E47A0707046C841B56@PITT-EXCH-14.univ.pitt.edu>
[not found] ` <4B7748F4.4050109@mars.ucc.ie>
[not found] ` <2AADFE343D601545A6F8F2B49E144A37EDE0118CAF@STAWINCOEXMAIL1.staff.vuw.ac.nz>
[not found] ` <4B79AD6C.2090203@mars.ucc.ie>
[not found] ` <4B79B0EA.3020503@virginia.edu>
[not found] ` <20100216015847.GW9945@proliant.indica-et-buddhica.org>
[not found] ` <4B7A4309.6040101@oxygenxml.com>
[not found] ` <4B7B3562.8030604@jj.em-net.ne.jp>
2010-02-17 8:27 ` editor for large xml files? Andreas Roehler
2010-02-17 8:27 ` Andreas Roehler
[not found] ` <4B7BA887.4000100@online.de>
2010-02-17 9:20 ` Tassilo Horn
2010-02-17 9:53 ` Andreas Roehler
2010-02-18 3:29 ` (kbd) for key bindings (was: editor for large xml files?) Steve Revilak
2010-02-18 7:18 ` Miles Bader [this message]
2010-02-18 10:17 ` (kbd) for key bindings Stephen J. Turnbull
2010-02-18 11:18 ` Andreas Roehler
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=buobpfnggfb.fsf@dhlpc061.dev.necel.com \
--to=miles@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=steve@srevilak.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.