"Rohit Patnaik" <quanti...@quanticle.net> writes: > I looked up Captain mode and it seems like the problem is that the default > sentence start function =(car (bound-of-thing-at-point 'sentence))= finds the > list marker as the start of the given sentence. > > It is possible to override that behavior. The mode defines a variable, > =captain-sentence-start-function= which can be overridden on a per-buffer > basis. > It should be possible to write a function that ignores org-mode list markers, > by > checking to see if the start of the sentence is one of {-, +, *} and moving > the > point forward to the first alphanumeric character after the marker.
I think that a cleaner solution would be defining 'sentence for thing-at-point. Just as we do for 'url (see setting thing-at-point-provider-alist in org.el). We can use `org-backward-sentence' and `org-forward-sentence'. Would you be interested to submit a patch? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>