Le 03/07/2014 15:42, Mosè Giordano a écrit :
> Hi!
> 
> 2014-07-03 12:49 GMT+02:00 TeXnicien de Surface
> <[email protected]>:
>> hello all
>>
>> Since today I've used an 'old' version of AucTeX installed from tarball
>> and it worked almost fine.
>>
>> Since I'm in a period where I can take some time to better my ubuntu box
>> I've decided to upgrade with elpa.
>>
>> On
>> GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
>> of 2013-09-03 on novatux-laptop
>>
>> I've put this in my .emacs:
>>
>> <.emacs>
>> (add-to-list 'load-path
>>              (expand-file-name
>>                 "/home/novatux/.emacs.d/elpa/auctex-11.87.5/"))
>>
>> (load "auctex.el" nil t t)
>>
>> ;; Make AUCTeX aware of style files and multi-file documents
>> (setq TeX-parse-self t) ; Enable parse on load.
>> (setq TeX-auto-save t) ; Enable parse on save.
>> (setq-default TeX-master nil) ; demande le maitre
>>
>> </.emacs>
>>
>> Now for the strange behaviour:
>>
>> when I try to open a tex file (with C-x C-f)
>> I get the message:
>> Symbol's function definition is void: TeX-add-to-alist
>>
>> The file is nonetheless opened, I see it in the list of buffers.
>> I can go to the buffer and then auctex seems to work fine.
>>
>> But this is quite an annoying behaviour.
>>
>> What could I do to make things right?
> 
> Have you ever used the git version of AUCTeX?  The function
> `TeX-add-to-alist' has been introduced there, it seems you have a .el
> style file parsed by the development version of the package.

I had. A message came directly in my ebox gave me a solution: just
delete the auto directory. There be the dragons!

Thanks a lot for all the good work and sound advices.

all the best

-- 
Le TeXnicien de Surface


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

Reply via email to