Tak Kunihiro <[email protected]> writes:

Hi Kunihiro,

> I cannot replace keywords listed in my command in TeX-command-list by
> expansion string in TeX-expand-list.  I have problem under 13.0.3 but
> no problem under 12.3.1.

Yes, we've refactored this quite a bit for auctex 13 in order to be able
to use lexical-binding as mentioned in (info "(auctex) Changes").

> I still cannot reproduce the problem started from emacs -Q.

If you can with a minimal config, a minimal test file, and a
reproduction recipe, that would be enough, I think.

> I found that replace-match on line 568 replaces something that differs
> from matched string on line 553.

That would mean that in between `match-string' in 553 and
`replace-match' in 568, something else changed the match data.  But we
use `save-match-data' when calling the expansion function, so in theory
that must not happen.

Bye,
Tassilo

Reply via email to