From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: org-mode, please change the name of function org-metaleft etc Date: Wed, 31 Oct 2007 16:25:07 +0000 Message-ID: <87y7djgskc.fsf@bzg.ath.cx> References: <47279F39.2010401@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193844333 675 80.91.229.12 (31 Oct 2007 15:25:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2007 15:25:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 31 16:25:35 2007 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 1InFRm-0005gU-HI for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 16:25:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InFRc-0002mc-RY for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 11:25:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1InFRZ-0002ju-B3 for emacs-devel@gnu.org; Wed, 31 Oct 2007 11:25:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1InFRW-0002iy-Kg for emacs-devel@gnu.org; Wed, 31 Oct 2007 11:25:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InFRW-0002io-AF for emacs-devel@gnu.org; Wed, 31 Oct 2007 11:25:18 -0400 Original-Received: from fk-out-0910.google.com ([209.85.128.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1InFRV-0008G1-Je for emacs-devel@gnu.org; Wed, 31 Oct 2007 11:25:17 -0400 Original-Received: by fk-out-0910.google.com with SMTP id 19so198562fkr for ; Wed, 31 Oct 2007 08:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:received:from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=hapOp0p5Q9I6E3jBKvergGg+7TbM6dEa1XJzAW6g0gU=; b=EB+Ji0rSvp5djSORAXk/sEHQzoapYMIB4HsjJUAxgM0XjlY4+JcCzHoQ6b8u5hjbkKNdaOPhVk7/MH0mf1KeMwD+PB/m4USTZTsN5tSOP34VSYQv45jnq1/SrcX3/pstCV1V0+BJmrzB5N9vrTkLTrenLQlHYGbVZQBzX6hxXtA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=FOlUT3yi8R42JL7y7Ja3FgqK92zszY2U9yWj12EVTtOUP+ogejq8+3UKkvn2Gpo8YT42Se0dDkht+5zPeIJPIVXtJiuva46cs8UMR230mIZhkSpzZ2zP4j1/9FFSsc8OCbmcLG4bW/DKL43+Ywlu5663etsx9eBuIPQ2CiZvk4g= Original-Received: by 10.82.155.10 with SMTP id c10mr885384bue.1193844315701; Wed, 31 Oct 2007 08:25:15 -0700 (PDT) Original-Received: from bzg.ath.cx ( [78.113.180.159]) by mx.google.com with ESMTPS id y2sm1469109mug.2007.10.31.08.25.12 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 31 Oct 2007 08:25:13 -0700 (PDT) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id F2C691575BA; Wed, 31 Oct 2007 16:25:07 +0000 (GMT) In-Reply-To: (Richard Stallman's message of "Wed, 31 Oct 2007 03:47:51 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:82221 Archived-At: Richard Stallman writes: > In org-mode the functions that are bound to some keys are named > after the key binding, for example: > > org-metaleft > > M-left is a basic cursor motion key which runs backward-word. > It is not good for any major mode to rebind such keys, > unless the new binding is a sort of extension or adaptation > of the standard binding. It is hard to see how backward-word > could require any adaptation to a given major mode. > > What's up here? Just a few remarks: 1. `org-metaleft' falls back on `backward-word' in the vaste majority of cases. It calls the two other commands only when the point is at a table or a subtree -- so no surprise for the user. 2. the historical key for `backward-word' (M-b) remains unchanged. 3. this rebinding doesn't seem conceptually different to the one affecting the C-a key in message-mode: `message-beginning-of-line' redefines `beginning-of-line' so that the command is aware of the implicit field the line may contain. 4. the way Org handles all the commands associated with the arrow keys is very coherent; changing one binding among arrow keys commands may affect the whole equilibrum. -- Bastien