From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Outline cycling does not preserve point's position Date: Mon, 9 Sep 2013 16:23:21 +0200 Message-ID: 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> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ2NU-0001Ew-4z for emacs-orgmode@gnu.org; Mon, 09 Sep 2013 10:23:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJ2NN-0003IG-GF for emacs-orgmode@gnu.org; Mon, 09 Sep 2013 10:23:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:56888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ2NN-0003I6-9p for emacs-orgmode@gnu.org; Mon, 09 Sep 2013 10:23:37 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VJ2NM-0000r6-CL for emacs-orgmode@gnu.org; Mon, 09 Sep 2013 16:23:36 +0200 In-Reply-To: <87li365ixg.fsf@gmail.com> 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 On 9.9.2013, at 13:32, Nicolas Goaziou wrote: > Hello, >=20 > Carsten Dominik writes: >=20 >> On 9.9.2013, at 10:38, Bastien wrote: >=20 >>> We could have org-ctrldown and friends the same way we have = org-shift* >>> commands. org-ctrldown would use `org-forward-element' when on some >>> Org element, and `forward-paragraph' elsewhere. >=20 > "elsewhere" doesn't make sense here since point is _always_ on an = element > (except on the first blank lines in a buffer). >=20 >>> I acknowledge binding C-down to `org-forward-element' instead of >>> `forward-paragraph' is a bit disruptive, and maybe not ideal in all >>> situations. >>=20 >> Yes, it produces unexpected results. >=20 > I find it pretty predictable. May you elaborate on that? Hi Nicolas, It is extremely predictable if you know about the structure of an Org = document and if you think in elements. It is unexpected for a user who is used to C-arrow doing paragraph = motion. In Org, org-backward-element climbs out if a hierarchy. This = is not what happens in other modes with this command. That is what I = mean with unexpected. Don't get me wrong. I love the element motion stuff. But I am = satisfied for it to be available on M-{ and M-}. =20 I like your proposal to introduce a variable for special src behavior. = I personally would also like a variable that allows me to keep the = paragraph commands on C-arrow (because I have almost equally convenient = bindings with M-{}) - but maybe that is just me? Regards - Carsten=