From: Mat Vibrys <vibrysec@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: asymmetry between org-backward-sentence and org-forward-sentence around headings
Date: Sat, 7 Oct 2017 23:26:45 +0200 [thread overview]
Message-ID: <CALB8YQjkX7QP4=tS97M-P3umWNLrGpweYVMVXCMhUHLRKr=a7Q@mail.gmail.com> (raw)
In-Reply-To: <CALB8YQjOzJr34qLh-wn6DtZubyht_4MfwxKp1Z1WBNjZVQmwwA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1664 bytes --]
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 <vibrysec@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 <mail@nicolasgoaziou.fr>
> wrote:
>
>> Hello,
>>
>> Mat Vibrys <vibrysec@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
>>
>
>
[-- Attachment #2: Type: text/html, Size: 2835 bytes --]
next prev parent reply other threads:[~2017-10-07 21:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 19:04 asymmetry between org-backward-sentence and org-forward-sentence around headings Mat Vibrys
2017-09-12 7:07 ` Nicolas Goaziou
2017-10-07 21:13 ` Mat Vibrys
2017-10-07 21:26 ` Mat Vibrys [this message]
2017-10-08 8:37 ` Nicolas Goaziou
2017-10-29 9:54 ` Mat Vibrys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALB8YQjkX7QP4=tS97M-P3umWNLrGpweYVMVXCMhUHLRKr=a7Q@mail.gmail.com' \
--to=vibrysec@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.