GNU bug report logs -
#76116
14.0.8; hyperref command bug
Previous Next
Reported by: Lei Zhao <leizh26 <at> gmail.com>
Date: Fri, 7 Feb 2025 07:47:03 UTC
Severity: normal
Merged with 76115
Found in version 14.0.8
Done: Ikumi Keita <ikumi <at> ikumi.que.jp>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 76116 <at> debbugs.gnu.org (full text, mbox):
Hi Lei,
>>>>> Lei Zhao <leizh26 <at> gmail.com> writes:
> I have found the cause of the bug. It was caused by the function
> `TeX-arg-label`. After I add the following advice, the bug goes away.
> (defun lfj-TeX-arg-label (optional &optional prompt definition)
> (TeX-argument-insert
> (TeX-read-label optional prompt definition) optional))
> (advice-add 'TeX-arg-label :override 'lfj-TeX-arg-label)
> The original function was trying to add `t` as a prefix for
> `TeX-argument-insert`, which results in the aforementioned bug.
Thank you. It's definitely wrong to pass `optional' as PREFIX argument
to `TeX-argument-insert'. I'll fix this.
I noticed that `TeX-arg-index' and `TeX-arg-cite' share this bug as
well. Maybe there are still more.
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW
This bug report was last modified 163 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.