-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 23/05/2016 19:40, Tassilo Horn a écrit : > François Patte <[email protected]> writes: > > Hi François, > >>> If I understand correctly, you updated from a manually installed >>> release to the current ELPA version, right? In that case, you >>> have to change your ~/.emacs a bit, too. Namely, with a manually >>> installed AUCTeX, your ~/.emacs contains >>> >>> ;; this line may not be there (add-to-list 'load-path >>> "/path/to/auctex") ;; but those two are probably there (load >>> "auctex.el" nil t t) (load "preview-latex.el" nil t t) >>> >>> With ELPA releases, you must not have those lines but everything >>> will be set up automatically. >>> >>> So please remove those lines and restart emacs. Does that solve >>> the issue? >> >> Thank you for answering but, no, nothing has changed.... I had only >> this line: (add-to-list 'load-path "/path/to/auctex") >> >> which I removed, but I still get the error message. >> >> For auctex, I have this lines in my .emacs: >> >> ;;; Auxtex (require 'tex-site) ;;(require 'beamer) > > Ah, ok. The (require 'tex-site) must also not be there. Basically, > anything that has to do with loading the package is automatically > configured by the ELPA package so anything you do yourself will > probably shoot you in the foot. :-)
Thank you for this answer: I removed everything of the like and still I got the message: (invalid-function TeX-auto-add-type) So, according to this: http://emacs.stackexchange.com/questions/20330/after-upgrading-auctex-latex-mode-is-unusable-invalid-function-tex-auto-add I reinstall the stuff from elpa and it works *but* I lost the automatic addition of local variables at the end of a new file like: %%% Local Variables: %%% mode: latex %%% TeX-master: "journee_monde_indien-beamer" %%% End: 2- I don't know hout to enable the beamer mode with this new version: adding (require 'beamer) is not working! Thank you - -- François Patte UFR de mathématiques et informatique Laboratoire MAP5 --- UMR CNRS 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAldEGrYACgkQdE6C2dhV2JV/1gCeOSzRvMIdBicP1kSqhuKG89vC 0OIAoKP/wjEadklg+HPY0FQ7qaOE2Z3V =+HGr -----END PGP SIGNATURE----- _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
