[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot expand string in command on 13.0.3
From: |
Tassilo Horn |
Subject: |
Re: Cannot expand string in command on 13.0.3 |
Date: |
Tue, 12 Jan 2021 16:37:29 +0100 |
User-agent: |
mu4e 1.5.7; emacs 28.0.50 |
Tak Kunihiro <tkk@misasa.okayama-u.ac.jp> 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
- Cannot expand string in command on 13.0.3, Tak Kunihiro, 2021/01/12
- Re: Cannot expand string in command on 13.0.3,
Tassilo Horn <=
- Re: Cannot expand string in command on 13.0.3, Tak Kunihiro, 2021/01/12
- Re: Cannot expand string in command on 13.0.3, Tassilo Horn, 2021/01/13
- Re: Cannot expand string in command on 13.0.3, Tak Kunihiro, 2021/01/13
- Re: Cannot expand string in command on 13.0.3, Ikumi Keita, 2021/01/13
- Re: Cannot expand string in command on 13.0.3, Tak Kunihiro, 2021/01/13
- Re: Cannot expand string in command on 13.0.3, Ikumi Keita, 2021/01/14