返回的"句子"并不在句号处断开. 我使用的场景是英文.
在 emacs -Q 中定义如下一个interactive函数能复现:
(defun my-sentence-at-point ()
"Display the sentence at point interactively."
(interactive)
(let ((sentence (thing-at-point 'sentence t)))
(if sentence
(message "The sentence at point is: %s" sentence)
(message "No sentence found at point"))))
我的Emacs是29.2. 不知道是什么原因?