GNU bug report logs -
#24866
AucTeX not working on Emacs 25.1.1 for Mac
Previous Next
Reported by: Lars Eriksson <larer <at> isy.liu.se>
Date: Thu, 3 Nov 2016 15:27:02 UTC
Severity: normal
Done: Tassilo Horn <tsdh <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#24866: AucTeX not working on Emacs 25.1.1 for Mac
which was filed against the auctex package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 24866 <at> debbugs.gnu.org.
--
24866: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24866
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Lars Eriksson <larer <at> isy.liu.se> writes:
Hi Lars,
> I have now uninstalled it and installed the ELPA version and it worked
> out of the box…
Good, then I close this bug. Although it is really strange that you
could pin this one single commit which seems to have broken things for
you. The code in question is exactly the same in the ELPA version.
> How does emacs generate the search path to ELPA? Is the search path
> ~/emacs.d/elpa/ hardcoded into Emacs? I have not added anything to my
> .emacs but it finds auctex without my intervention…
package.el, the Emacs package manager, generates a
<package>-autoloads.el file in case it's not already contained in a
package (which it is not in the case of auctex). That file contains an
appropriate load-path addition.
> My load path now has the following entries:
> "/Users/larer/.emacs.d/elpa/auctex-11.89.6/"
> "/Users/larer/.emacs.d/elpa/auctex-11.89.6” as a followup should there be two,
> one with trailing slash and one without?
Oh, right. In the case of auctex, the generated autoloads file adds the
latter entry and in tex-site.el there's also code that adds the former
entry. That shouldn't cause any harm but I should probably change the
code in tex-site.el so that no duplicate entry will be added.
Bye,
Tassilo
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Hi,
Might be Emacs and not AucTeX that cause the problems but it was AucTeX that triggered my problems, and I wanted to make you aware...
I have a clean installation of Emacs for Mac 25.1.1 and pulled a fresh auctex from github (see script below).
In my .emacs I have reduced everything to to (load "auctex.el" nil t t)
When I try to open a LaTeX-file I get the message:
File mode specification error: (void-variable LaTeX-preview-setup)
Any clues or instructions?
As a follow-up: I have downgraded to Emacs 24.5 and AucTeX pulled from git works fine there.
Best,
Lars
#!/bin/sh
git clone git://git.savannah.gnu.org/auctex.git
export EMACSMAIN=/Applications/Emacs.app/Contents/Resources
export SITELISPDIR=$EMACSMAIN/site-lisp
export INFODIR=$EMACSMAIN/info
cd auctex
./autogen.sh
./configure --with-emacs --with-lispdir=$SITELISPDIR \
--with-auto-dir=$SITELISPDIR/auctex/auto \
--infodir=$INFODIR --without-texmf-dir
make
sudo make install
[Message part 5 (text/html, inline)]
This bug report was last modified 8 years and 242 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.