From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Tomohiro MATSUYAMA <t.matsuyama.pub@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Defining key onto copied global map problem
Date: Tue, 24 Feb 2009 17:14:26 -0500 [thread overview]
Message-ID: <jwvvdqzqy8w.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <3c863ca40902240119s41b53caah3824d4679619d534@mail.gmail.com> (Tomohiro MATSUYAMA's message of "Tue, 24 Feb 2009 18:19:36 +0900")
> (define-key (copy-keymap (current-global-map)) (kbd "M-c") 'ignore)
This creates a new keymap (of same content as the global map), modifies
it and then throws it away.
Stefan
next prev parent reply other threads:[~2009-02-24 22:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-24 9:19 Defining key onto copied global map problem Tomohiro MATSUYAMA
2009-02-24 22:14 ` Stefan Monnier [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvvdqzqy8w.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=t.matsuyama.pub@gmail.com \
/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.