[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] Let it byte compile even with GNU Emacs 29.3
From: |
Arash Esbati |
Subject: |
Re: [PATCH 1/3] Let it byte compile even with GNU Emacs 29.3 |
Date: |
Wed, 15 May 2024 13:16:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
"Dr. Werner Fink" <werner@suse.de> writes:
> That help a lot but at the end it stumbles over lwarp.sty with an other
> error:
>
> [ 109s] Error: scan-error ("Containing expression ends prematurely" 4 5)
>
> I'll attach the lisp backtrace
I think this is an issue within lwarp.sty which has entries like this:
\NewDocumentCommand{\LWR@htmlspanclass}{o D(){} m +m}{%
which are parsed correctly and entries like this:
\NewDocumentCommand{\LWR@HTML@InlineClass}{D{(}{)}{} o m +m}{%
which break AUCTeX. Note the extra pair of braces around the
parenthesis. `LaTeX-xparse-macro-parse' expects the specifier like
this:
D(){}
which is how it is documented in usrguide.tex. So D{(}{)}{} might be
valid LaTeX code, but it is not the way it is expected. For me, this is
currently "won't fix" until I see more examples that AUCTeX really has
to cater for extra pair of braces around the delimiter tokens.
> Meanwhile I've send via git a futher patch for dinbrief.el
Thanks, I saw that, I will respond so that message separately.
Best, Arash