[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Outline cycling does not preserve point's position
From: |
Bastien |
Subject: |
Re: [O] Outline cycling does not preserve point's position |
Date: |
Mon, 09 Sep 2013 13:49:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi Nicolas,
Nicolas Goaziou <address@hidden> writes:
>>> 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.
>
> "elsewhere" doesn't make sense here since point is _always_ on an element
> (except on the first blank lines in a buffer).
Right.
But you got the idea: use `org-forward-element' when moving
within structural elements of various kinds make sense and use
`forward-paragraph' otherwise.
>>> I acknowledge binding C-down to `org-forward-element' instead of
>>> `forward-paragraph' is a bit disruptive, and maybe not ideal in all
>>> situations.
>>
>> Yes, it produces unexpected results.
>
> I find it pretty predictable. May you elaborate on that?
It is predictable, but sometimes counter-intuitive: for example, when
on the first headline, C-up will throw an error instead of moving to
the top of the buffer.
Also, it is predictable but not reversible: hitting C-down three times
then C-up three times will not always go back to the point where the
user was at the beginning.
--
Bastien
- Re: [O] Outline cycling does not preserve point's position, (continued)
- Re: [O] Outline cycling does not preserve point's position, Sebastien Vauban, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Carsten Dominik, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Sebastien Vauban, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Carsten Dominik, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Sebastien Vauban, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Carsten Dominik, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Nicolas Goaziou, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Bastien, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Carsten Dominik, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Nicolas Goaziou, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position,
Bastien <=
- Re: [O] Outline cycling does not preserve point's position, Nicolas Goaziou, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Carsten Dominik, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Jambunathan K, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Nicolas Goaziou, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Sebastien Vauban, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Carsten Dominik, 2013/09/09
- Re: [O] Outline cycling does not preserve point's position, Carsten Dominik, 2013/09/10
- Re: [O] Outline cycling does not preserve point's position, Eric Abrahamsen, 2013/09/10
- Re: [O] Outline cycling does not preserve point's position, Suvayu Ali, 2013/09/10
- Re: [O] Outline cycling does not preserve point's position, Suvayu Ali, 2013/09/10