unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tomohiro MATSUYAMA <t.matsuyama.pub@gmail.com>
To: emacs-devel@gnu.org
Subject: Defining key onto copied global map problem
Date: Tue, 24 Feb 2009 18:19:36 +0900	[thread overview]
Message-ID: <3c863ca40902240119s41b53caah3824d4679619d534@mail.gmail.com> (raw)

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




             reply	other threads:[~2009-02-24  9:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24  9:19 Tomohiro MATSUYAMA [this message]
2009-02-24 22:14 ` Defining key onto copied global map problem Stefan Monnier
2009-02-24 22:39   ` David Reitter
2009-02-25  0:11     ` Miles Bader
2009-02-25  4:54       ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3c863ca40902240119s41b53caah3824d4679619d534@mail.gmail.com \
    --to=t.matsuyama.pub@gmail.com \
    --cc=emacs-devel@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 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).