Sorry,
my example contents does not seem to be proper. Dots are missing after all
the bodyX. correct one looks like following:

* head1

  body1.<C-1->

* head2

  body2.<C-3->

* head3

  body3.

calling `org-forward-sentence' from <C-1-> goes to <C-3->, while it should
to to somewhere after head2 and before body2. Calling
`org-backward-sentence' from <C-3-> goes before body2 and after head2,
which is correct.

regards,
Mat


On Sat, Oct 7, 2017 at 11:13 PM, Mat Vibrys <vibry...@gmail.com> wrote:

> Nicolas,
> thank You for fix, I've just did some testing on it and found some
> contents where assymetry still persists. cursor position is marked with
> <C-N-> and IT IS NOT PART OF FILE CONTENTS.
>
>
> * head1
>
>   body1<C-1->
>
> * head2
>
>   body2<C-3->
>
> * head3.
>
>   body3
>
>
> calling `org-forward-sentence' from <C-1-> will go to <C-3->, while IMO it
> should not go that far, I mean it should stop somewhere BEFORE body2 line
> and AFTER head2 line. This is where cursor is stopped when You travel from
> <C-3-> using `org-backward-sentence'.
>
> regards.
>
>
> On Tue, Sep 12, 2017 at 9:07 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr>
> wrote:
>
>> Hello,
>>
>> Mat Vibrys <vibry...@gmail.com> writes:
>>
>> >   Org file looks like following:
>> >
>> >   * heading
>> >     my line.
>> >
>> >   when cursor is at beginning of file, `org-forward-sentence' goes to
>> the
>> > end of "my line.", which does not seem to be correct (heading is special
>> > outline). Then calling `org-backward-sentence' behaves correctly, ie it
>> > goes to the beginning of "my line.".
>>
>> Fixed. Thank you.
>>
>> Regards,
>>
>> --
>> Nicolas Goaziou
>>
>
>

Reply via email to