From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Outline cycling does not preserve point's position Date: Mon, 09 Sep 2013 10:33:38 +0200 Message-ID: <86ppsi75st.fsf@somewhere.org> 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> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Carsten, Carsten Dominik wrote: > On 9.9.2013, at 10:23, Sebastien Vauban wrote: >> Carsten Dominik wrote: >>> On 9.9.2013, at 10:11, "Sebastien Vauban" wrote: >>>> Carsten Dominik wrote: >>>>>> - not possible anymore to use C-a or C-e in code blocks to select >>>>>> regions; not reported yet, though I reported similar problems with >>>>>> C-arrows (apparently due to a change which is now officially part of >>>>>> 8.1). IMO, that renders editing of code block in the original buffer >>>>>> much more annoying. >>>> >>>> Regarding C-down, is it possible to get it back working for selecting >>>> parts of code? >>>> >>>> In the video captured at http://screencast.com/t/1WjWohviyjE, we see that >>>> we can move from an heading to the next with C-down (which is a nice >>>> extra addition to the already existing speed commands), but also select >>>> subelements in a region (paragraphs or list items). >>>> >>>> Though, in the code block, C-down still looses the region... >>> >>> is this about loosing the active mark, or about the effect that C-down now >>> jumps elements, not paragraphs? >> >> In fact, both... If we wanna still allow nice editing of code blocks, >> without forcing the users to use the indirect buffer, one must be able to >> quickly select, let's say a defvar, and copy it somewhere else; like we >> would do in the programming mode buffer (and like we did in the Org buffer, >> up to the change with C-down). > > So maybe you just want to bing C-down to forward-paragraph again? This is a possibility, yes, but it completely defeats the nice `C-down' add-on (when outside of code block), and I guess I won't be the only one with that "problem". Of course, the nicest would be to have both: the current `C-down' for text, and the "programmatic" behavior when _in code blocks_. Maybe, that's not possible, though... Best regards, Seb -- Sebastien Vauban