Hello, Steps to reproduce: - Disable transient-mark-mode. - Create test.tex containing "\emph{foo} \emph{bar}". - Move point inside "foo" and set the mark (C-SPC). Note that this does not "activate the region". - TeX-fold-buffer (C-c C-o C-b). - Move the point into "bar".
What should happen is that the second fold is revealed. Instead, both folds are revealed. The fix is to replace mark-active with (TeX-active-mark) inside TeX-fold-post-command. I looked for other places where "mark-active" was used incorrectly, and fixed a couple minor ones, involving menu entries. Thanks, best, Paul
0001-Change-some-mark-active-to-TeX-active-mark.patch
Description: Binary data
_______________________________________________ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex