I wanted to use hl-sentences module and discovered in the process that the sentence detection, and thus move between sentence is buggy inside org-mode.
* Title
some text:
- bullet 1
- bullet 2
- bullet 3
** sub-title
If I do an org-forward-sentence
when my cursor is positioned in the second bullet for instance. I'm jumping to the end of sub-title
.
Worse if I do a org-backward-sentence
when I'm in the middle of bullet 2
, the first time I'm going back to the beginning (the b
) of bullet 2
(which is ok) but if I do another org-backward-sentence
I'm jumping back to the start of some text:
.
This feel very wrong as by intuition I would imagine that org-backward-sentence
should be a projection.
I would prefer that org-mode treat each bullet as a single sentence. And also that starting a new "heading" means the end of any previous sentence.
So perhaps there are good reason for these behaviour if not I would appreciate a pointer on how to fix that problem. Perhaps even propose a PR to org-mode.