auctex
[Top][All Lists]
Advanced

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

Re: Adding to TeX-clean-default-intermediate-suffixes


From: Joost Kremers
Subject: Re: Adding to TeX-clean-default-intermediate-suffixes
Date: Mon, 30 Mar 2020 21:30:39 +0200
User-agent: mu4e 1.3.10; emacs 26.3


On Mon, Mar 30 2020, Greg Bognar wrote:
In my config, I have

(setq TeX-clean-default-intermediate-suffixes
'("\\.aux" "\\.bbl" "\\.bcf" "\\.blg" "\\.brf" "\\.dvi" "\\.ent" "\\.fdb_latexmk" "\\.fls" "\\.fmt" "\\.fot" "\\.glo" "\\.gls" "\\.synctex\\.gz" "\\.idx" "\\.ilg" "\\.ind" "\\.lof" "\\.log" "\\.lot" "\\.nav" "\\.out" "\\.rel" "\\.rip" "\\.snm" "\\.tags"
          "\\.toc" "\\.url" "\\.vrb" "\\.run\\.xml"))

I added a number of extra extensions to the default value for files created by RefTeX, Beamer, Synctex, etc. I want to clean up all these files once I'm done
with a document.

However, this does not work. E.g., it leaves RefTeX's .rel files around. Why is that? Is it because TeX-clean-default-intermediate-suffixes is defined by a defvar in tex.el, rather than a defcustom? Shouldn't this be a customizable option in the first place? If not, what is the proper way to add the extra
extensions?

You should probably customize `LaTeX-clean-intermediate-suffixes`. `TeX-clean-default-intermediate-suffixes` just provides the default value for `LaTeX-clean-intermediate-suffixes`, which is why it's not a defcustom. (I assume that setting it doesn't have any effect because its value is not checked when cleaning out files. The value of `LaTeX-clean-intermediate-suffixes` is used for that.

--
Joost Kremers
Life has its moments



reply via email to

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