From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Outline cycling does not preserve point's position Date: Tue, 10 Sep 2013 10:36:39 +0530 Message-ID: <87li35jme8.fsf@gmail.com> References: <868uz8sufg.fsf@somewhere.org> <86vc2cqvnb.fsf@somewhere.org> <86y57676t1.fsf@somewhere.org> <89E7FDB6-0F5A-4362-959C-C4B9844A235C@gmail.com> <86txhu7696.fsf@somewhere.org> <0A62C6DE-B3AD-458A-9AB4-92B61A6D3D63@gmail.com> <86ppsi75st.fsf@somewhere.org> <87eh8yo0el.fsf@bzg.ath.cx> <87li365ixg.fsf@gmail.com> <87d2oi57fg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJG8A-0001JT-S6 for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 01:04:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJG82-0007lu-J6 for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 01:04:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:51714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJG82-0007li-CF for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 01:04:42 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VJG7x-0006fX-8C for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 07:04:37 +0200 In-Reply-To: <87d2oi57fg.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 09 Sep 2013 17:41:23 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Bastien , public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org, Sebastien Vauban , Carsten Dominik Nicolas Goaziou writes: > When depth isn't involved When I am within a nested list (any arbitray position) and I C-down what should happen? ---------------------------------------------------------------- When I am on an headline and I C-down, I find it disconcerting that cursor takes a far jump. There are specialized commands to jump between headlines and I don't want a 'paragraph' motion command to do anything fancy. I would much prefer that the paragraph motion commands be really dumbed down. ---------------------------------------------------------------- I really wouldn't mind if paragraph motion commands lands /within/ a src block or I will be surprised if a table, IRL, is not guarded on either sides by blank lines. In the few years, that I have been on this list not a single complained that his cursor ended up within a src block. ---------------------------------------------------------------- I think sexp motion commands - for example, C-M-d - can help me precisely move in to the inner sexps with little thought. This could be useful when I want to surgically move - thinkg, tree traversal - within nested lists (or nested structure) but with little effort. ---------------------------------------------------------------- Bottomline: It is difficult to unlearn. But easier to learn. So, don't "overload" existing paragraph motion commands. Instead, introduce sexp motion and mimic what emacs-lisp-mode does. Try C-down while within a defun and see what happens. ----------------------------------------------------------------