From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: Poll: Who is using these commands Date: Sun, 09 May 2010 17:23:46 +0100 Message-ID: References: <20100508202159.GA32505@taupan.ath.cx> <4BE5DF9C.909@gmail.com> <245881E6-B69D-4E6F-A1B1-C4EFA39AF7BC@gmail.com> <3634.1273420760@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OB9IU-0006t4-Js for emacs-orgmode@gnu.org; Sun, 09 May 2010 12:24:06 -0400 Received: from [140.186.70.92] (port=33981 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OB9IS-0006sw-4t for emacs-orgmode@gnu.org; Sun, 09 May 2010 12:24:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OB9IQ-0004vg-KM for emacs-orgmode@gnu.org; Sun, 09 May 2010 12:24:04 -0400 Received: from lo.gmane.org ([80.91.229.12]:55759) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OB9IQ-0004vQ-Ac for emacs-orgmode@gnu.org; Sun, 09 May 2010 12:24:02 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OB9IN-00010C-Px for emacs-orgmode@gnu.org; Sun, 09 May 2010 18:23:59 +0200 Received: from cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com ([86.9.122.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 May 2010 18:23:59 +0200 Received: from sdl.web by cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 May 2010 18:23:59 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 2010-05-09 16:59 +0100, Nick Dokos wrote: > I disagree: they are not parenthesis movement bindings - they are > structure-navigation bindings. For example, C-M-f is forward-sexp. > In lisp, an sexp has some relationship to parentheses, but it is > incidental; in other programming modes, an sexp is whatever makes > sense in that language and these commands are redefined appropriately. Perhaps you haven't noticed. SEXP is a useful abstract. For example, it allows you to move across some_long_function_name in C and even in the message-mode I'm currently using, not just parenthesis. Situation like this will arise when editing org files too. It is a key binding that you can rely on in various modes and they happen to do the right thing. They are not re-defined, in most modes once you have a proper syntax table, they just work. On the other hand, the defun abstraction is not as universal as sexp so redefine them is fine. C-M-f and C-M-b are keys that I use extensively. I haven't used C-M-n and C-M-p much. > I think it is entirely appropriate to use these bindings to navigate > structure in org-mode as well. I am not against binding suitable keys to structure movement. Leo -- CCL-USER> _