From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mat Vibrys Subject: asymmetry between org-backward-sentence and org-forward-sentence around headings Date: Mon, 11 Sep 2017 21:04:40 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114e259245fbc50558ee990e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drU0k-0006ip-S0 for emacs-orgmode@gnu.org; Mon, 11 Sep 2017 15:04:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drU0g-0000nL-US for emacs-orgmode@gnu.org; Mon, 11 Sep 2017 15:04:46 -0400 Received: from mail-vk0-x231.google.com ([2607:f8b0:400c:c05::231]:35812) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drU0g-0000m7-PM for emacs-orgmode@gnu.org; Mon, 11 Sep 2017 15:04:42 -0400 Received: by mail-vk0-x231.google.com with SMTP id w23so1951633vkw.2 for ; Mon, 11 Sep 2017 12:04:41 -0700 (PDT) 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: emacs-orgmode@gnu.org --001a114e259245fbc50558ee990e Content-Type: text/plain; charset="UTF-8" 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.". To workaround the problem I kept on inserting dot at the end of each heading. Until yesterday where I wanted to add link to heading from another file. When dot is at the end of heading, then adding dot to the end of link does not work. file:./fil.org::heading. correct behavior of `org-forward-sentence' would probably fix the problem, ie I could remove dots from ends of all the headings regards, Mat --001a114e259245fbc50558ee990e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0 Org file looks like following:

=C2= =A0 * heading
=C2=A0=C2=A0=C2=A0 my line.

=C2=A0 when cursor is a= t 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 t= o the beginning of "my line.".

=C2=A0 To workaround the pr= oblem I kept on inserting dot at the end of each heading. Until yesterday w= here I wanted to add link to heading from another file. When dot is at the = end of heading, then adding dot to the end of link does not work.

= =C2=A0 file:./fil.org::heading.
=C2=A0
=C2=A0 correct behavior of `o= rg-forward-sentence' would probably fix the problem, ie I could remove = dots from ends of all the headings

regards,
Mat

--001a114e259245fbc50558ee990e--