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: Key Mapping Proposal Date: Sat, 16 Jan 2010 14:28:23 -0500 Message-ID: References: <16d22e431001151603i5d2fab77u4f3054bb7e708323@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 1263670125 2045 80.91.229.12 (16 Jan 2010 19:28:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jan 2010 19:28:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Noah Lavine Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 16 20:28:37 2010 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 1NWEK3-00088N-6D for ged-emacs-devel@m.gmane.org; Sat, 16 Jan 2010 20:28:35 +0100 Original-Received: from localhost ([127.0.0.1]:45575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWEK3-0007Xo-RY for ged-emacs-devel@m.gmane.org; Sat, 16 Jan 2010 14:28:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWEJz-0007WO-0Q for emacs-devel@gnu.org; Sat, 16 Jan 2010 14:28:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWEJt-0007Ss-Mt for emacs-devel@gnu.org; Sat, 16 Jan 2010 14:28:29 -0500 Original-Received: from [199.232.76.173] (port=35673 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWEJt-0007So-Ej for emacs-devel@gnu.org; Sat, 16 Jan 2010 14:28:25 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:41446 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWEJt-0002WM-7n for emacs-devel@gnu.org; Sat, 16 Jan 2010 14:28:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQEACSiUUvO+LMp/2dsb2JhbACBRNVUhDIEij8 X-IronPort-AV: E=Sophos;i="4.49,287,1262581200"; d="scan'208";a="53897281" Original-Received: from 206-248-179-41.dsl.teksavvy.com (HELO pastel.home) ([206.248.179.41]) by ironport2-out.pppoe.ca with ESMTP; 16 Jan 2010 14:28:24 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 8364A806E; Sat, 16 Jan 2010 14:28:23 -0500 (EST) In-Reply-To: <16d22e431001151603i5d2fab77u4f3054bb7e708323@mail.gmail.com> (Noah Lavine's message of "Fri, 15 Jan 2010 19:03:03 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (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:120116 Archived-At: > My suggestion is this: have one location which stores the user's > keybinding for the "forward" key, whatever "forward" means for a > particular mode. Any given mode would then use this to bind their You can use "remap" for this. It's pretty much exactly what it was created for. Stefan