Skip to main content
10 events
when toggle format what by license comment
Nov 27, 2023 at 6:20 comment added Arash Esbati Thanks for the clarification. I think you have 2 possibilities then: 1) Ask Debian people if it's possible to disable their update-auctex-elisp script, or 2) Remove the target directory of that script from TeX-style-path as suggested below in the answer. Personally, I think it's not a good choice to run TeX-auto-generate-global and such on a regular basis, but that's only me.
Nov 24, 2023 at 0:56 comment added Janet I'm running debian, and the auctex package includes a file update-auctex-elisp, which apparently runs automatically whenever new style files are installed. One of the other debian packages installed a notes.sty file, which I guess triggered the creation of this notes.elc file. What I would prefer is that AUCTeX not apply a style based on the name of the TeX file, but I'm not sure there's a way to change that behavior.
Nov 23, 2023 at 18:51 comment added Arash Esbati That's puzzling. I wonder how that notes.el was generated. AUCTeX itself doesn't contain a notes.el, as you can see here. Maybe you've generated that last time you created another notes.tex? In that case, you can probably remove that .el file.
Nov 23, 2023 at 15:13 comment added Janet TeX-auto-save is nil
Nov 23, 2023 at 14:57 comment added Arash Esbati When you create/open your .tex file, what's the value of TeX-auto-save in that buffer?
Nov 22, 2023 at 20:00 vote accept Janet
Nov 22, 2023 at 19:04 answer added Tyler timeline score: 1
Nov 22, 2023 at 16:38 comment added Janet It's when I use the name notes.tex. More generally, it seems to be when I use files whose name matches something in /var/lib/auctex/emacs/ For example, there's a file in there named postnotes.elc, and if I make a file named postnotes.tex, then AUCTeX gives is the style "postnotes"
Nov 22, 2023 at 15:41 comment added Tyler Does this happen for all LaTeX files, or just when you use the name notes.tex?
Nov 22, 2023 at 15:35 history asked Janet CC BY-SA 4.0