Hi,

I wanted to use templates for latex files, so I tried the solution Ralf Angeli 
proposed some months ago in this mailing list. The problem with it is that 
loading auctex 11.85 causes (add-hook 'find-file-hook 'auto-insert) to fail, 
that is, evaluating find-file-hook when the buffer opens shows no sign of 
auto-insert and no text is added to the buffer. I managed to work around this 
by using 

(add-hook 'find-file-not-found-functions 'auto-insert)
(TeX-tex-mode) 

instead, which works so far, yet doesn't look optimal (actually it causes 
*scratch* to start in latex-mode). Am I the only one with this problem?

By the way, you may count me as a user of the tex-omega mode, although I'm 
thinking about moving to xetex when it becomes less buggy.

Regards


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

Reply via email to