Subject: Re: bug#65591: 30.0.50; ELPA pgk expreg: marking paragraph doesn't work in AUCTeX LaTeX-mode

From: Tassilo Horn <[email-masked]>
Date: Wed, 30 Aug 2023 17:54:58 +0200

Yuan Fu <[email-masked]> writes:

Hi Yuan,

> I make expreg—paragraph to process both defun and paragraph, rather
> exclusively one of them. This should fix It for TeX modes. Please see
> if works :-)

Not quite.  The problem is that expreg--paragraph-defun now first tries
"defun" and thereby might move point so that the "paragraph" part starts
at a completely different position as where point was originally.

Bye,
Tassilo