bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Arash Esbati
Subject: bug#70369: [PATCH] Fix folding glitch with tmm disabled
Date: Wed, 17 Apr 2024 22:29:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Paul Nelson <ultrono@gmail.com> writes:

> 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.

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

TIA.  Best, Arash





reply via email to

[Prev in Thread] Current Thread [Next in Thread]