From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mat Vibrys Subject: Re: asymmetry between org-backward-sentence and org-forward-sentence around headings Date: Sat, 7 Oct 2017 23:13:28 +0200 Message-ID: References: <87377sz97a.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c123974d52591055afb6d44" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0wPb-0005Qu-Gy for emacs-orgmode@gnu.org; Sat, 07 Oct 2017 17:13:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0wPa-0001hB-GG for emacs-orgmode@gnu.org; Sat, 07 Oct 2017 17:13:31 -0400 Received: from mail-ua0-x22a.google.com ([2607:f8b0:400c:c08::22a]:47896) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0wPa-0001go-BB for emacs-orgmode@gnu.org; Sat, 07 Oct 2017 17:13:30 -0400 Received: by mail-ua0-x22a.google.com with SMTP id e46so6773131uaa.4 for ; Sat, 07 Oct 2017 14:13:30 -0700 (PDT) In-Reply-To: <87377sz97a.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --94eb2c123974d52591055afb6d44 Content-Type: text/plain; charset="UTF-8" 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 and IT IS NOT PART OF FILE CONTENTS. * head1 body1 * head2 body2 * head3. body3 calling `org-forward-sentence' from will go to , 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 using `org-backward-sentence'. regards. On Tue, Sep 12, 2017 at 9:07 AM, Nicolas Goaziou wrote: > Hello, > > Mat Vibrys 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 > --94eb2c123974d52591055afb6d44 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Nicolas,
thank You for fix, I'= ve just did some testing on it and found some contents where assymetry stil= l persists. cursor position is marked with <C-N-> and IT IS NOT PART = OF FILE CONTENTS.


* head1

=C2=A0 body1<C-1->
* head2

=C2=A0 body2<C-3->

* head3.

=C2=A0 body= 3


calling `org-forward-sentence' from <C-1-> wil= l 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 curso= r is stopped when You travel from <C-3-> using `org-backward-sentence= '.

regards.


On Tue, Sep 12, 2017 at 9:07 AM, Nicolas Goaziou <= span dir=3D"ltr"><mail@nicolasgoaziou.fr> wrote:
Hello,

Mat Vibrys <vibrysec@gmail.com= > writes:

>=C2=A0 =C2=A0Org file looks like following:
>
>=C2=A0 =C2=A0* heading
>=C2=A0 =C2=A0 =C2=A0my line.
>
>=C2=A0 =C2=A0when cursor is at beginning of file, `org-forward-sentence= ' goes to the
> end of "my line.", which does not seem to be correct (headin= g 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

--94eb2c123974d52591055afb6d44--