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:13:28 +0200 [thread overview]
Message-ID: <CALB8YQjOzJr34qLh-wn6DtZubyht_4MfwxKp1Z1WBNjZVQmwwA@mail.gmail.com> (raw)
In-Reply-To: <87377sz97a.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]
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: 1782 bytes --]
next prev parent reply other threads:[~2017-10-07 21:13 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 [this message]
2017-10-07 21:26 ` Mat Vibrys
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALB8YQjOzJr34qLh-wn6DtZubyht_4MfwxKp1Z1WBNjZVQmwwA@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).