unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problem binding to a key
@ 2007-04-20 14:54 Cecil Westerhof
  2007-04-20 15:54 ` weber
  2007-04-20 16:27 ` Eric Hanchrow
  0 siblings, 2 replies; 14+ messages in thread
From: Cecil Westerhof @ 2007-04-20 14:54 UTC (permalink / raw)
  To: help-gnu-emacs

I have the following two lines in my .emacs:
  (define-key global-map "\C-cw" 'clipboard-kill-ring-save)
  (define-key global-map "\C-x\C-kw" 'clipboard-kill-ring-save)

The first line is no problem, the second gives:
  error: "Key sequence C-x C-k w uses invalid prefix characters"

What I understood from 'Learning GNU Emacs' is the second way, the way you
should bind your own definitions. Why does it not work?

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

end of thread, other threads:[~2007-04-22 11:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 14:54 Problem binding to a key Cecil Westerhof
2007-04-20 15:54 ` weber
2007-04-20 16:14   ` Rjjd
2007-04-20 21:14     ` Cecil Westerhof
2007-04-21  4:09       ` Tim X
2007-04-21  7:33         ` Cecil Westerhof
2007-04-21  7:59           ` Cecil Westerhof
2007-04-21 12:57             ` Johan Bockgård
2007-04-21 16:19               ` Reiner Steib
2007-04-22 11:28               ` Cecil Westerhof
2007-04-22  6:46             ` Tim X
2007-04-22 11:33               ` Cecil Westerhof
2007-04-21  4:04   ` Tim X
2007-04-20 16:27 ` Eric Hanchrow

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).