On Sun, Jun 21, 2009 at 4:57 PM, Ralf Angeli<[email protected]> wrote: > * Damian (2009-06-18) writes: > >> I don't know why, but when I load a tex file, I see the syntax >> highlighted and the mode in emacs reads PDFTex. But auctex seems to be >> inactive. The keyboards shortcuts don't work when editing those files, >> but they work well in the others. > > There is probably nothing in the file which AUCTeX recognizes as an > indicator for LaTeX. (I suppose you mean LaTeX, when you write "tex".) > You can specify the mode with a file-local variable. AUCTeX inserts a > stanza with file-local variables (mainly for the sake of specifying the > master file) if it is set up as described on the first page of its > manual. The stanza can be inserted manually by typing `C-c _'. In that > case you will likely have to modify the "mode:" line. Yes I did that, but it didn't suffice. I had to reinitialize the mode with C-c C-n. Also closing and opening again the file didn't work, even if I close emacs.
Probably it is normal behavior, but it is quite annoying. > -- > Ralf > _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
