[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auctex not loading in Emacs 27.1 from Homebrew on MacOS
From: |
Tassilo Horn |
Subject: |
Re: Auctex not loading in Emacs 27.1 from Homebrew on MacOS |
Date: |
Sat, 15 Aug 2020 08:36:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Benedikt Nordhoff <bnord01@gmail.com> writes:
Hi Benedikt,
> homebrew updated my Emacs to 27.1 today and now auctex 12.2.0 fails to
> load with the following error.
>
> Debugger entered--Lisp error: (wrong-type-argument stringp (require . info))
>
> string-match("\\(\\`\\|/\\)desktop\\(\\.elc\\|\\.el\\|\\.so\\)?\\(\\.gz\\)?\\'"
> (require . info))
>
> load-history-filename-element("\\(\\`\\|/\\)desktop\\(\\.elc\\|\\.el\\|\\.so\\)?\\(\\.gz\\)?\\'")
> eval-after-load("desktop" #f(compiled-function () #<bytecode
> 0x1fe96bd47aa1>))
This looks like you have some invalid entry in load-history, i.e., an
alist entry where the key is not a string but (require . info). AUCTeX
doesn't mess with load-history, so the question is how that entry ends
up there.
It seems to happen when desktop-mode is loaded, so I suggest to disable
that for a moment to see if the error persist.
Do you have an explicit (eval-after-load "desktop" ...) in your .emacs?
And given the's advice-eval-interactive-spec in the backtrace, do you
have a piece of advice on TeX-latex-mode (it should be listed with C-h f
TeX-latex-mode RET).
Bye,
Tassilo