[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] AucTeX activation of latex-mode
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] AucTeX activation of latex-mode |
Date: |
Fri, 15 Feb 2013 09:43:40 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Julien Cubizolles <address@hidden> 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