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: Tak Kunihiro
Subject: Re: Cannot expand string in command on 13.0.3
Date: Wed, 13 Jan 2021 16:01:12 +0900 (JST)

Dear Ikumi,

I have to call (TeX-active-master-with-quotes nil t) in those
functions (sesame-TeX-jobiname) and (sesame-TeX-outdir) in
the real life.

I think that to call (TeX-active-master-with-quotes nil t) should not
change results and this does not happen on 12.3.1.

Do I miss something?

Tak

From: Ikumi Keita <ikumi@ikumi.que.jp>
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.



reply via email to

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