Subject: bug#70369: closed (Re: bug#70369: [PATCH] Fix folding glitch with tmm disabled)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 17 Apr 2024 20:37:02 +0000

Your bug report

#70369: [PATCH] Fix folding glitch with tmm disabled

which was filed against the auctex package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
70369: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70369
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#70369: [PATCH] Fix folding glitch with tmm disabled
From: Arash Esbati <[email-masked]>
To: Paul Nelson <[email-masked]>
Cc: [email-masked]
Date: Wed, 17 Apr 2024 22:35:48 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Arash Esbati <[email-masked]> writes:

> Again, can't apply the patch.  Can you please try to fix as well?

Scratch that, my bad, sorry.  Installed with commit 5abc3d7f68.  Thanks
for your contribution.  Closing.

Best, Arash

Subject: [PATCH] Fix folding glitch with tmm disabled
From: Paul Nelson <[email-masked]>
To: [email-masked]
Date: Sat, 13 Apr 2024 23:58:50 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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