emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Outline cycling does not preserve point's position


From: Nicolas Goaziou
Subject: Re: [O] Outline cycling does not preserve point's position
Date: Mon, 09 Sep 2013 17:27:23 +0200


Hello,

Bastien <address@hidden> writes:

> But you got the idea: use `org-forward-element' when moving
> within structural elements of various kinds make sense and use
> `forward-paragraph' otherwise.

No, I still don't get the idea, really.

> 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.

Sure, but otherwise it would conflict with your point below.

> 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.

You need to return an error when there is no element at the same level.
IIRC, it was initially the case. But then a user complained that, in the
following example, X being the point:

  :PROPERTIES:
  X:PROP1: value
  :END:

`org-forward-element' would return an error "Cannot move further down",
which was difficult to understand.

predictable, intuitive, reversible, pick two.


Regards,

-- 
Nicolas Goaziou




reply via email to

[Prev in Thread] Current Thread [Next in Thread]