unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4472: 23.1; Emacs manual not too helpful about binding keys
@ 2009-09-18 23:11 Chong Yidong
  2009-09-18 23:27 ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2009-09-18 23:11 UTC (permalink / raw
  To: Drew Adams; +Cc: 4472

> I couldn't even find the form (kbd...) in the manual, and I thought
> that was what we are now recommending in general (no?).

From the manual:

     There are several ways to write a key binding using Lisp.  The
  simplest is to use the `kbd' macro, which converts a textual
  representation of a key sequence--similar to how we have written key
  sequences in this manual--into a form that can be passed as an argument
  to `global-set-key'.  For example, here's how to bind `C-z' to `shell'
  (*note Interactive Shell::):

       (global-set-key (kbd "C-z") 'shell)

etc., etc.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-19 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87ws3ur5d5.fsf@cyd.mit.edu>
2009-09-17 22:51 ` bug#4472: 23.1; Emacs manual not too helpful about binding keys Drew Adams
2009-09-19 21:35   ` bug#4472: marked as done (23.1; Emacs manual not too helpful about binding keys) Emacs bug Tracking System
2009-09-18 23:11 bug#4472: 23.1; Emacs manual not too helpful about binding keys Chong Yidong
2009-09-18 23:27 ` Drew Adams

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).