unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Defining key onto copied global map problem
@ 2009-02-24  9:19 Tomohiro MATSUYAMA
  2009-02-24 22:14 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Tomohiro MATSUYAMA @ 2009-02-24  9:19 UTC (permalink / raw)
  To: emacs-devel

Hi, all

I faced a problem when I define a key onto the copied global map.

After executing following code:

    (define-key (copy-keymap (current-global-map)) (kbd "M-c") 'ignore)

"M-c" won't work and just ignores.
I expected that "M-c" just works as defined in (current-global-map).

I'm using:
GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
of 2009-01-27 on macbook.local

Regards,

MATSUYAMA Tomohiro




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

end of thread, other threads:[~2009-02-25  4:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-24  9:19 Defining key onto copied global map problem Tomohiro MATSUYAMA
2009-02-24 22:14 ` Stefan Monnier
2009-02-24 22:39   ` David Reitter
2009-02-25  0:11     ` Miles Bader
2009-02-25  4:54       ` Stefan Monnier

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