[Top][All Lists]

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

Re: TeX-master and TeX-output-master

From: Al Haji-Ali
Subject: Re: TeX-master and TeX-output-master
Date: Wed, 09 Sep 2020 11:05:21 +0100
User-agent: mu4e 1.5.5; emacs 28.0.50

Hello Ikumi,
> Though I haven't tested the new feature discussed here, it seems that
> the proposed patch still needs refinement. AUCTeX falls into infinite
> loop after C-c C-c latex RET, if I let `TeX-output-dir' to be default
> value of nil. In addition, C-c C-c claen RET gives the error "Symbol's
> value as variable is void: mode-prefix".
> And after I set `TeX-output-dir' to "build", just C-c C-c gives the
> error "Symbol's value as variable is void: mode-prefix".

Apologies! For some reason on my private emacs configuration `when-let*` 
behaves differently than on a clean emacs. Attached is a corrected patch that 
resolves all these issues (the patch is also based on the latest commit on the 
master branch). Tested on a non-configured Emacs 28.0.50.

One thing to discuss is the correct place to create the output directory if it 
does not exists. I personally use `latexmk` which creates the output directory 
automatically but it seems `pdflatex` requires the directory to exist. Right 
now I create the directory when expanding `%output-dir` but it can be argued 
that it is not the best place.

Best regards,

Attachment: auctex-output-dir.patch
Description: Text Data

reply via email to

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