auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] file mode specification error


From: Ralf Angeli
Subject: Re: [AUCTeX] file mode specification error
Date: Fri, 07 Jul 2006 18:32:37 +0200

[Oops, resend.  Note to self: Adding a Cc header is done with `C-c C-f
C-c', not `C-c C-c C-f'.]

Please keep the mailing list copied.  I'm quoting everything (except
for the soccer talk (c;) for other people on the list.  Maybe somebody
else has an idea what the problem might be.

* Peter Rayner (2006-07-06) writes:

>>Do you have an old AUCTeX installation somewhere in your load-path?
> Don't think so.  I have an old installation around for sure from my
> emacs-21 set-up but it doesn't appear to be in the load-path
> ("/usr/local/share/emacs/site-lisp/auctex"
> "/home/rayner/packages/dismal-1.4" "/usr/local/share/emacs/site-lisp"
> "/usr/local/lib/emacs/site-lisp"
> "/home/rayner/packages/emacspeak/lisp/atom-blogger"
> "/home/rayner/packages/emacspeak/lisp/"
> "/usr/local/share/emacs/22.0.50/site-lisp"
> "/usr/local/share/emacs/site-lisp"
> "/usr/local/share/emacs/site-lisp/w3"
> "/usr/local/share/emacs/22.0.50/leim"
> "/usr/local/share/emacs/22.0.50/lisp"
> "/usr/local/share/emacs/22.0.50/lisp/url"
> "/usr/local/share/emacs/22.0.50/lisp/toolbar"
> "/usr/local/share/emacs/22.0.50/lisp/textmodes"
> "/usr/local/share/emacs/22.0.50/lisp/progmodes"
> "/usr/local/share/emacs/22.0.50/lisp/play"
> "/usr/local/share/emacs/22.0.50/lisp/obsolete"
> "/usr/local/share/emacs/22.0.50/lisp/net"
> "/usr/local/share/emacs/22.0.50/lisp/mh-e"
> "/usr/local/share/emacs/22.0.50/lisp/mail"
> "/usr/local/share/emacs/22.0.50/lisp/language"
> "/usr/local/share/emacs/22.0.50/lisp/international"
> "/usr/local/share/emacs/22.0.50/lisp/gnus"
> "/usr/local/share/emacs/22.0.50/lisp/eshell"
> "/usr/local/share/emacs/22.0.50/lisp/erc"
> "/usr/local/share/emacs/22.0.50/lisp/emulation"
> "/usr/local/share/emacs/22.0.50/lisp/emacs-lisp"
> "/usr/local/share/emacs/22.0.50/lisp/calendar"
> "/usr/local/share/emacs/22.0.50/lisp/calc")
> and I've removed the emacs-21 lisp directories and it didn't seem to
> elp.  I'm betting I've left something from the emacs21 set-up in my
> .emacs that's causing the problem ...
>>Does `M-x list-load-path-shadows RET' show something suspicious,
>>especially with regard to tex-site.el?
> No, here's that buffer
> ----------------------------------------------------------------------
> /usr/local/lib/emacs/site-lisp/tapestry hides 
> /home/rayner/packages/emacspeak/lisp/tapestry
> /usr/local/share/emacs/site-lisp/url-misc hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-misc
> /usr/local/share/emacs/site-lisp/url-handlers hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-handlers
> /usr/local/share/emacs/site-lisp/url-imap hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-imap
> /usr/local/share/emacs/site-lisp/url-ftp hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-ftp
> /usr/local/share/emacs/site-lisp/url-expand hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-expand
> /usr/local/share/emacs/site-lisp/url-cid hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-cid
> /usr/local/share/emacs/site-lisp/url-vars hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-vars
> /usr/local/share/emacs/site-lisp/url-gw hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-gw
> /usr/local/share/emacs/site-lisp/url-ldap hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-ldap
> /usr/local/share/emacs/site-lisp/url-irc hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-irc
> /usr/local/share/emacs/site-lisp/url-file hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-file
> /usr/local/share/emacs/site-lisp/url-cache hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-cache
> /usr/local/share/emacs/site-lisp/url-ns hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-ns
> /usr/local/share/emacs/site-lisp/url-util hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-util
> /usr/local/share/emacs/site-lisp/url-auth hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-auth
> /usr/local/share/emacs/site-lisp/url-news hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-news
> /usr/local/share/emacs/site-lisp/url-history hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-history
> /usr/local/share/emacs/site-lisp/url-dired hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-dired
> /usr/local/share/emacs/site-lisp/url-privacy hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-privacy
> /usr/local/share/emacs/site-lisp/url-cookie hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-cookie
> /usr/local/share/emacs/site-lisp/url-proxy hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-proxy
> /usr/local/share/emacs/site-lisp/url hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url
> /usr/local/share/emacs/site-lisp/vc-dav hides 
> /usr/local/share/emacs/22.0.50/lisp/url/vc-dav
> /usr/local/share/emacs/site-lisp/url-dav hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-dav
> /usr/local/share/emacs/site-lisp/url-methods hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-methods
> /usr/local/share/emacs/site-lisp/url-about hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-about
> /usr/local/share/emacs/site-lisp/url-http hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-http
> /usr/local/share/emacs/site-lisp/url-https hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-https
> /usr/local/share/emacs/site-lisp/url-nfs hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-nfs
> /usr/local/share/emacs/site-lisp/url-parse hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-parse
> /usr/local/share/emacs/site-lisp/url-mailto hides 
> /usr/local/share/emacs/22.0.50/lisp/url/url-mailto
>
> 32 Emacs Lisp load-path shadowings were found
> ----------------------------------------------------------------------
> Nothing there I can see ...

Hm, do you get a backtrace when starting Emacs or loading a LaTeX file
if you put the line
(setq debug-on-error t)
as the first line into your .emacs file and restart Emacs?  Do you see
a line like
Loading /usr/local/share/emacs/site-lisp/tex-site.el (source)...done
in the *Messages* buffer after loading the first LaTeX file right
after a restart?  If you see one, does the file mentioned in this line
contain a `TeX-modes-set' function?

-- 
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]