GNU bug report logs - #52872
13.0.15; wrong type argument error on calling ‘LaTeX-xparse-macro-parse’

Previous Next

Package: auctex;

Reported by: Andrea Greselin <greselin.andrea <at> gmail.com>

Date: Wed, 29 Dec 2021 15:22:02 UTC

Severity: normal

Tags: notabug

Found in version 13.0.15

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#52872: closed (13.0.15; wrong type argument error on calling
 ‘LaTeX-xparse-macro-parse’)
Date: Wed, 29 Dec 2021 16:59:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 29 Dec 2021 17:49:25 +0100
with message-id <871r1vnyar.fsf <at> gnu.org>
and subject line Re: bug#52872: 13.0.15; wrong type argument error on calling ‘LaTeX-xparse-macro-parse’
has caused the debbugs.gnu.org bug report #52872,
regarding 13.0.15; wrong type argument error on calling ‘LaTeX-xparse-macro-parse’
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
52872: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52872
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andrea Greselin <greselin.andrea <at> gmail.com>
To: bug-auctex <at> gnu.org
Subject: 13.0.15; wrong type argument error on calling ‘LaTeX-xparse-macro-parse’
Date: Wed, 29 Dec 2021 16:20:33 +0100
[Message part 3 (text/plain, inline)]
Hello,
after updating to AUCTeX 13.0.15 I started getting a wrong type
argument error on opening certain .tex files. The traceback showed
that the culprit was ‘LaTeX-xparse-macro-parse’ calling
‘replace-regexp-in-string’ with a nil ‘spec’ argument. If I understand
correctly, the function is reading the ‘name’, ‘spec’ and ‘what’ local
variables from the ‘xcmd’ list with an offset wrt to v. 13.0.14. The
attached patch removes the offset and it’s fixed the issue for me.
[Message part 4 (text/html, inline)]
[xparse_patch.txt (text/plain, attachment)]
[Message part 6 (message/rfc822, inline)]
From: Tassilo Horn <tsdh <at> gnu.org>
To: Andrea Greselin <greselin.andrea <at> gmail.com>
Cc: bug-auctex <at> gnu.org, 52872-done <at> debbugs.gnu.org
Subject: Re: bug#52872: 13.0.15; wrong type argument error on calling
 ‘LaTeX-xparse-macro-parse’
Date: Wed, 29 Dec 2021 17:49:25 +0100
Andrea Greselin <greselin.andrea <at> gmail.com> writes:

Hi Andrea,

> after updating to AUCTeX 13.0.15 I started getting a wrong type
> argument error on opening certain .tex files. The traceback showed
> that the culprit was ‘LaTeX-xparse-macro-parse’ calling
> ‘replace-regexp-in-string’ with a nil ‘spec’ argument. If I understand
> correctly, the function is reading the ‘name’, ‘spec’ and ‘what’ local
> variables from the ‘xcmd’ list with an offset wrt to v. 13.0.14. The
> attached patch removes the offset and it’s fixed the issue for me.

Oh, thanks!  I've applied your patch which is small enough for not
requiring a copyright assignment.  If you plan to contribute more in the
future, feel free to ping me and I'll send you the CA form. :-)

Bye,
Tassilo


This bug report was last modified 3 years and 193 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.