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 bindings proposal Date: Tue, 27 Jul 2010 14:03:24 +0200 Message-ID: References: <19534.1494.627000.357123@gargle.gargle.HOWL> <87sk35upn2.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280232321 24416 80.91.229.12 (27 Jul 2010 12:05:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Jul 2010 12:05:21 +0000 (UTC) Cc: Uday S Reddy , Teemu Likonen , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 27 14:05:20 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.69) (envelope-from ) id 1OdiuN-0006Zb-4K for ged-emacs-devel@m.gmane.org; Tue, 27 Jul 2010 14:05:19 +0200 Original-Received: from localhost ([127.0.0.1]:49028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdiuM-0005CQ-Kt for ged-emacs-devel@m.gmane.org; Tue, 27 Jul 2010 08:05:18 -0400 Original-Received: from [140.186.70.92] (port=48233 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Odisp-0004kn-Br for emacs-devel@gnu.org; Tue, 27 Jul 2010 08:03:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Odisn-00077i-UC for emacs-devel@gnu.org; Tue, 27 Jul 2010 08:03:43 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:54854) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odisn-00077D-QQ for emacs-devel@gnu.org; Tue, 27 Jul 2010 08:03:41 -0400 Original-Received: from ceviche.home (vpn-132-204-232-74.acd.umontreal.ca [132.204.232.74]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o6RC3P6r005264; Tue, 27 Jul 2010 08:03:26 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7562A6611D; Tue, 27 Jul 2010 14:03:24 +0200 (CEST) In-Reply-To: <87sk35upn2.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Tue, 27 Jul 2010 20:32:01 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3586=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:127872 Archived-At: > In most cases the intention is "bind it to a short sequence > I personally don't use otherwise, and otherwise arbitrary," > I would expect. Indeed, that's how it's been used, and it works OK for such uses. >> Using `remap' is one way to express such an intention. > Not really. Remap is about deprecating a command, not really about > key sequence choice. Not at all. `remap' is typically not used by the user in his .emacs but by major/minor modes to locally/temporarily replace particular commands by other ones (and to do so in a declarative way ;-), so that if the user (or some other mode) has rebound this command elsewhere, the remapping still works as intended. Before that, packages used substitute-key-definition for that purpose, but that was not as declarative and it only adapted to changes in global bindings. Stefan