From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Defining key onto copied global map problem Date: Tue, 24 Feb 2009 17:14:26 -0500 Message-ID: References: <3c863ca40902240119s41b53caah3824d4679619d534@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235513811 22826 80.91.229.12 (24 Feb 2009 22:16:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2009 22:16:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tomohiro MATSUYAMA Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 24 23:18:07 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lc5bG-0002LH-LY for ged-emacs-devel@m.gmane.org; Tue, 24 Feb 2009 23:18:03 +0100 Original-Received: from localhost ([127.0.0.1]:36890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lc5Zv-0006k4-Mc for ged-emacs-devel@m.gmane.org; Tue, 24 Feb 2009 17:16:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lc5Xu-0005vP-6m for emacs-devel@gnu.org; Tue, 24 Feb 2009 17:14:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lc5Xr-0005uF-GW for emacs-devel@gnu.org; Tue, 24 Feb 2009 17:14:33 -0500 Original-Received: from [199.232.76.173] (port=40253 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lc5Xr-0005u9-5V for emacs-devel@gnu.org; Tue, 24 Feb 2009 17:14:31 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:22785) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lc5Xq-0007Dp-S8 for emacs-devel@gnu.org; Tue, 24 Feb 2009 17:14:31 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQEAHoApElFxKYM/2dsb2JhbACBb9ZjhBEGg1s X-IronPort-AV: E=Sophos;i="4.38,261,1233550800"; d="scan'208";a="34325798" Original-Received: from 69-196-166-12.dsl.teksavvy.com (HELO ceviche.home) ([69.196.166.12]) by ironport2-out.teksavvy.com with ESMTP; 24 Feb 2009 17:14:26 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 46DEBB419A; Tue, 24 Feb 2009 17:14:26 -0500 (EST) In-Reply-To: <3c863ca40902240119s41b53caah3824d4679619d534@mail.gmail.com> (Tomohiro MATSUYAMA's message of "Tue, 24 Feb 2009 18:19:36 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109318 Archived-At: > (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