Per Starbäck writes: Also I figured out why I wasn't getting the %%% local variables: automatically in my LaTeX files -- I've been using TeX and LaTeX for so long, that rarely/never do I start a "new tex" file -- I always copy over something with a similar template to what I used and tweak it. So the magic in auctex that inserts the %%% magic -- which is perhaps newer than most of my existing template docs never got a chance. 1+ on making all this work "out of the box" to use a modern term, though I have never had to take Emacs out of any box as long as I can remember. > It would certainly be good if AucTeX recognized that file as a LaTeX > file. It would be a simple fix to add PassOptionsToPackage to a list > of commands in the function tex--guess-mode in tex-mode.el > (Maintainer: emacs-devel@gnu.org). > > For what it's worth I still think it would be really good if AucTeX > was merged into Emacs. Let's avoid the feeling of "when you use Emacs > you really should first customize it like this and this and this". > When I use Emacs in demos for students I use a plain no-frills Emacs, > because I want it to be what they get themselves if they install on > their own computers, but I've "had to" make an exception for TeX, > because not using AucTeX would be too hard for me. > > Den mån 8 aug. 2022 kl 17:34 skrev T.V Raman : > > Thanks for your config, it's different from mine. > > 1. I install auctex from melpa > and do everything else via custom and let emacs find auctex on > its > own. > > In that world, I believe emacs pulls in the autoloads file from > auctex > -- > > Thanks, > > --Raman(I Search, I Find, I Misplace, I Research) > ♈ Id: kg:/m/0285kf1 🦮 > > -- > > Thanks, > > --Raman(I Search, I Find, I Misplace, I Research) > ♈ Id: kg:/m/0285kf1 🦮 > > -- > > Thanks, > > --Raman(I Search, I Find, I Misplace, I Research) > ♈ Id: kg:/m/0285kf1 🦮 > -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♈ Id: kg:/m/0285kf1 🦮