Julien Cubizolles <[email protected]> writes:

>> You probably have the code using the workgroups package opening
>> recent files before you load AUCTeX in your ~/.emacs.
>
> Actually I just put the line actually loading the recent files
> (wg-load "/home/wilk/.emacs.d/workgroups.el") at the bottom of my
> .emacs file and latex files are still opened in tex-mode, but
> reverting the buffer loads them in latex-mode. I'm confused.

That's hard to diagnose from here.  You could try to comment out the
workgroup stuff and then open some LaTeX file with

  $ emacs file.tex

Is it opened with tex-mode or latex-mode?

Then, comment in the workgroup stuff again and do the same.  (file.tex
should be no file that's opened by workgroup.el of course.)

If in both cases file.tex is opened with latex-mode but in the second
case the other LaTeX files opened by workgroup.el are still in tex-mode,
then something seems to be broken with how workgroup.el opens files.

Bye,
Tassilo


_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to