<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
And following up on my last email, it looks like the warning first appears in font-latex.el in auctex-12.2.4 (it is not in 12.2.2).  So that is being run.  Maybe Aquamacs is still running the built-in  expl3.el (and other style files?) even after upgrading
 to a later AucTeX?<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Aug 10, 2020, at 12:54 PM, Braun, Michael <<a href="mailto:braunm@mail.smu.edu" class="">braunm@mail.smu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Two things:</div>
<div class=""><br class="">
</div>
<div class="">1.  Adding (unload-feature ’tex-site) anywhere in Preferences.el generates the following error on launch of Aquamacs:</div>
<div class=""><br class="">
</div>
<div class="">error: Loaded libraries ("/Users/braunm/Library/Preferences/Aquamacs Emacs/Packages/elpa/auctex-12.2.4/auctex-autoloads.el") depend on /Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/tex-site.el</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">2.  I’ve narrowed the source of the font-latex warnings to opening LaTeX documents that use packages that then use the  expl3 package.  For example, I use both the fontspec and biblatex packages in my work.  Both of them load expl3, so when I
 open a tex document that loads them, I get the warning twice.  The code below generates the warning once.  It goes away after removing \usepackage{expl3}.</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">\documentclass{article}</div>
<div class=""><br class="">
</div>
<div class="">% \usepackage{fontspec}</div>
<div class="">% \usepackage{biblatex}</div>
<div class="">\usepackage{expl3}  % This package alone triggers the error</div>
<div class=""><br class="">
</div>
<div class="">\begin{document}</div>
<div class=""><br class="">
</div>
<div class="">Text here.</div>
<div class="">$\alpha+\beta$</div>
<div class=""><br class="">
</div>
<div class="">\end{document}</div>
</div>
<div class=""><br class="">
</div>
<div class="">So it appears the “trigger” is in edit-modes/auctex/style/expl3.el .</div>
<div class=""><br class="">
</div>
<div class="">I hope this helps with further diagnostics.  I am not a lisp programmer, so I’m now working at the edge of my capabilities.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="orphans: 2; widows: 2;" class="">--------------------------</div>
<div style="orphans: 2; widows: 2;" class="">Michael Braun</div>
<div style="orphans: 2; widows: 2;" class="">Associate Professor of Marketing, and</div>
<div style="orphans: 2; widows: 2;" class="">  Corrigan Research Professor</div>
<div style="orphans: 2; widows: 2;" class="">Cox School of Business</div>
<div style="orphans: 2; widows: 2;" class="">Southern Methodist University</div>
<div style="orphans: 2; widows: 2;" class="">Dallas, TX 75275</div>
<div style="orphans: 2; widows: 2;" class=""><a href="mailto:braunm@smu.edu" class="">braunm@smu.edu</a></div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Aug 10, 2020, at 11:47 AM, Win Treese <<a href="mailto:treese@acm.org" class="">treese@acm.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class=""><br class="">
To follow up: the documentation for AUCTeX says:<br class="">
<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>If you want to remove a preinstalled AUCTeX completely before any of its modes have been used,<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span><br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>   (unload-feature 'tex-site)<br class="">
<br class="">
So you might want to try that before loading any TeX-related things in your configuration.<br class="">
<br class="">
Best,<br class="">
<br class="">
- Win<br class="">
<br class="">
<blockquote type="cite" class="">On Aug 10, 2020, at 12:28 PM, Win Treese <<a href="mailto:treese@acm.org" class="">treese@acm.org</a>> wrote:<br class="">
<br class="">
Hi, Johannes and Michael. I think this may be a collision between the pre-installed AucTeX in Aquamacs and using 12.2.4, but I haven’t figured out exactly why yet. So it’s not something the AucTeX mailing list may know much about.<br class="">
<br class="">
In the meantime, I think that the “obsolete” part is just a warning that it’s going away, so it shouldn’t be causing any actual problems. Or you can stick with 12.2.1 for the moment.<br class="">
<br class="">
Best,<br class="">
<br class="">
- Win<br class="">
<br class="">
Win Treese<br class="">
<a href="mailto:treese@acm.org" class="">treese@acm.org</a><br class="">
Aquamacs maintainer<br class="">
<br class="">
<blockquote type="cite" class="">On Aug 10, 2020, at 10:18 AM, Johannes Brauer <<a href="mailto:brauer@nordakademie.de" class="">brauer@nordakademie.de</a>> wrote:<br class="">
<br class="">
<br class="">
I could not find your post on the AucTex mailing list. Did you get an answer?<br class="">
<br class="">
<blockquote type="cite" class="">Am 10.08.2020 um 00:03 schrieb Braun, Michael <<a href="mailto:braunm@mail.smu.edu" class="">braunm@mail.smu.edu</a>>:<br class="">
<br class="">
I started getting this exact same message after an update of AucTeX to version 12.2.4 from the GNU package repository. Rolling back your version will get rid of the message (I went back to 12.2.1).  I have been meaning to post to the AucTeX mailing list about
 this.<br class="">
<br class="">
<br class="">
<br class="">
<blockquote type="cite" class="">On Aug 9, 2020, at 6:44 AM, Johannes Brauer <<a href="mailto:brauer@nordakademie.de" class="">brauer@nordakademie.de</a>> wrote:<br class="">
<br class="">
Hi!<br class="">
<br class="">
opening a latex file I get the following warning:<br class="">
<br class="">
Warning (auctex): `font-latex-update-font-lock' should not be called.<br class="">
It is obsolete and going to be removed.<br class="">
If you have called `font-latex-add-keywords' and want to refresh fontification,<br class="">
call `font-lock-flush' instead.<br class="">
If you changed syntactic fontification, e.g., one of the variables<br class="">
- `LaTeX-verbatim-macros-with-delims'<br class="">
- `LaTeX-verbatim-macros-with-delims-local'<br class="">
- `LaTeX-verbatim-macros-with-braces'<br class="">
- `LaTeX-verbatim-macros-with-braces-local'<br class="">
- `LaTeX-verbatim-environments'<br class="">
- `LaTeX-verbatim-environments-local'<br class="">
- `font-latex-syntactic-keywords-extra'<br class="">
then call `font-latex-set-syntactic-keywords'.<br class="">
<br class="">
I am using Aquamacs 3.5  GNU Emacs 25.3.50.1 (x86_64-apple-darwin16.7.0, NS, macOs 10.15.4<br class="">
<br class="">
I have no idea what I could do. Any help?<br class="">
<br class="">
Johannes<br class="">
<br class="">
_____________________________________________________________<br class="">
MacOSX-Emacs mailing list<br class="">
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu" class="">MacOSX-Emacs@email.esm.psu.edu</a><br class="">
<a href="https://email.esm.psu.edu/mailman/listinfo/macosx-emacs" class="">https://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br class="">
List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" class="">
http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br class="">
</blockquote>
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
_____________________________________________________________<br class="">
MacOSX-Emacs mailing list<br class="">
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu" class="">MacOSX-Emacs@email.esm.psu.edu</a><br class="">
<a href="https://email.esm.psu.edu/mailman/listinfo/macosx-emacs" class="">https://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br class="">
List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" class="">
http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br class="">
</blockquote>
<br class="">
<br class="">
_____________________________________________________________<br class="">
MacOSX-Emacs mailing list<br class="">
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu" class="">MacOSX-Emacs@email.esm.psu.edu</a><br class="">
<a href="https://email.esm.psu.edu/mailman/listinfo/macosx-emacs" class="">https://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br class="">
List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" class="">
http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br class="">
</blockquote>
<br class="">
<br class="">
_____________________________________________________________<br class="">
MacOSX-Emacs mailing list<br class="">
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu" class="">MacOSX-Emacs@email.esm.psu.edu</a><br class="">
<a href="https://email.esm.psu.edu/mailman/listinfo/macosx-emacs" class="">https://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br class="">
List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" class="">
http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br class="">
</blockquote>
<br class="">
<br class="">
_____________________________________________________________<br class="">
MacOSX-Emacs mailing list<br class="">
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu" class="">MacOSX-Emacs@email.esm.psu.edu</a><br class="">
<a href="https://email.esm.psu.edu/mailman/listinfo/macosx-emacs" class="">https://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br class="">
List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" class="">
http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
<br class="">
_____________________________________________________________<br class="">
MacOSX-Emacs mailing list<br class="">
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu" class="">MacOSX-Emacs@email.esm.psu.edu</a><br class="">
https://email.esm.psu.edu/mailman/listinfo/macosx-emacs<br class="">
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx<br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>