I am using Aquamacs 3.4 in macOS 10.14.3, and have been using Aquamacs for years. When I insert an
enumerate environment into a LaTeX document using C-c C-e, I get the expected prompt:
(Optional) Options (k=v):
If I press RET, then the environment appears in my document. Until today, this would also insert the first
\item. Since today (without having updated Aquamacs, macOS, or my LaTeX distribution), I instead get the mystifying status message:
Symbol's function definition is void: TeX-deactivate-mark
What does this message mean? What is going wrong, and how do I fix it and get my
\item back? I've tried searching online, but haven't found anything useful regarding
TeX-deactivate-mark. C-h v and C-h f in Aquamacs don't seem to know about
TeX-deactivate-mark either. I'm not sure whether this is an issue with Aquamacs, AUCTeX, or my LaTeX distribution.
Curiously, M-RET within the environment DOES create an
\item as expected.
Thanks for any help; this is my first Stack Exchange post.
UPDATE: In a comment below, @ArashEsbati has helped pin down the problem, and has addressed all of my questions except for "how do I fix it?". As suggested, I entered
M-x load-list-path-shadows, which gave an output:
/Users/[username]/Library/Preferences/Aquamacs Emacs/Packages/elpa/auctex-12.1.2/tex-site hides /Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/tex-site
followed by 26 similar lines. Each line involves an item in
/Users/.../auctex-12.1.2 "hiding" a corresponding item in
/Applications/.../edit-modes. It seems the items in
/Applications/.../edit-modes/ are out of date, and are the source of my problem. How do I resolve this conflict? (e.g. is it safe to delete the folder