[Top][All Lists]

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

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

From: eminmn
Subject: Re: Adding to TeX-clean-default-intermediate-suffixes
Date: Mon, 30 Mar 2020 14:39:29 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

On 3/30/2020 14:12, 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


Why not just edit the defvar in tex.el and recompile to .elc? Maybe your setq is being overwritten each time you run auctex. By your "config" do you mean .emacs? List length of your variable is 30 and the default is 18. Here AUCTeX-version is a variable defined in `tex-site.el'.
Its value is "2007-01-23". Emacs version in 24.3


reply via email to

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