[OS X Emacs] Aquamacs: bitten by "Application Support" file (here: calc-preferences)
vollmar at nf.mpg.de
Fri Sep 2 03:17:46 EDT 2011
I was a happy Aquamacs 2.3a user until I noticed that everything except Emacs Calculator mode seemed to work fine. I was able to fix the problem by removing the calc preferences file in "~/Library/Application Support/Aquamacs Emacs" which, apparently, confuses the autoload mechanism. As it took me some time to find the problem and I think that other packages might be affected by what is, possibly, a migration issue, here is the full story:
The wonderful Calculator mode is usually started with M-x calc. It offers a menu entry "Save mode settings" (m m) which, also in Aquamacs 2.3a, will write a file "~/Library/Application Support/Aquamacs Emacs/calc.el". After that file is in place, further calls to M-x calc in a fresh incarnation of Aquamacs will yield this error message:
"call-interactively: Autoloading failed to define function calc"
However, calc will continue to work, if Aquamacs is started using the "without any customization" option. I checked the load-path and found that
is available, however the "~/Library/Application Support/Aquamacs Emacs" entry comes first and - this is my interpretation - confuses the autoload mechanism by providing a calc.el file which (here) is a preferences file and not a package ending with a "(provide 'calc)" line.
I can currently do without the calc-preferences file (and am a happy Aquamacs user again), but surely there must be better solutions?
Many thanks in advance.
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleueler Str. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
E-Mail: vollmar at nf.mpg.de http://www.nf.mpg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4409 bytes
Desc: not available
More information about the MacOSX-Emacs