auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot expand string in command on 13.0.3


From: Ikumi Keita
Subject: Re: Cannot expand string in command on 13.0.3
Date: Wed, 13 Jan 2021 15:19:03 +0900

Hi Tak-san,

>>>>> Tak Kunihiro <homeros.misasa@gmail.com> writes:
> I got a recipe as described below.
 
>  (defun sesame-TeX-jobname ()
>    "Return option `-jobname' or empty string."
>    (TeX-active-master-with-quotes nil t)
>    ;; " -jobname=LaTexMkJob"
>    "")
 
>  (defun sesame-TeX-outdir (&optional looptex-p)
>    "Return option `-outdir' or empty string."
>    (TeX-active-master-with-quotes nil t)
>    " -outdir=~/deleteme.d")

Please remove `(TeX-active-master-with-quotes nil t)' from the both
functions.  The return value of the form is not used at all and this
moves forward the position in the expanding string where analysis takes
place at wrong position.

> It seems that when TeX-active-master-with-quotes is called
> from TeX-command-expand, something happens.

Yes, that's the reason.

Regards,
Ikumi Keita



reply via email to

[Prev in Thread] Current Thread [Next in Thread]