I have some customisation in my ~/.emacs.d/init.el
. My command line emacs can pick up the init.el
as expected. However Aquamacs does not seem to read the file at all. Here is the buffer of the *message*
Loading prestart plugin files ...
... done.
Wrote /Users/antkong/Library/Preferences/Aquamacs Emacs/Packages/.nosearch
Shell: /bin/zsh
Loading /Users/antkong/Library/Preferences/Aquamacs Emacs/Recent Files.el (source)...done
Cleaning up the recentf list...done (0 removed)
22 environment variables imported from login shell (/bin/zsh).
Loading /opt/homebrew-cask/Caskroom/aquamacs/3.2/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex.el (source)...done
Loading plugins ...
Loading /opt/homebrew-cask/Caskroom/aquamacs/3.2/Aquamacs.app/Contents/Resources/lisp/aquamacs/site-start.el (source)...done
... done.
Loading `custom-file' failed.
Loading /Users/antkong/Library/Preferences/Aquamacs Emacs/Preferences.el (source)...done
Mark set
one-buffer-one-frame-mode disabled.
Mark set [26 times]
Loading /Users/antkong/Library/Preferences/Aquamacs Emacs/frame-positions.el (source)...done
file-error: (Opening directory no such file or directory /Users/antkong/Library/Logs/CrashReporter)
Mark set [5 times]
Aquamacs is based on GNU Emacs, a part of the GNU/Linux system. It is Free Software: you can improve and redistribute it under the GNU General Public License, version 3 or later. (C) 2014 Free Software Foundation, and D. Reitter. No Warranty.
Why Aqacmacs does not read the init.el file?
init.el
file at~/.emacs.d/init.el
containing that one line of code(message "Hello-world -- this is my init.el file loading!")
. If it doesn't work for you, then something in your configuration has most likely altered the default behavior. Try stripping everything down to the bear minimum and once you see that works out-of-the-box, you can start working towards tracking down the conflict. – lawlist Jul 14 '15 at 20:27funnily enough I had to switch to plain ol' emacs due to problems with aquamacs and ensime.
– ari gold Jul 15 '15 at 20:51init.el
out of the box. I do not have an.emacs
file. I worked around this by adding(load-file "~/.emacs.d/init.el")
to~/Library/Preferences/Aquamacs Emacs/Preferences.el
which has a comment saying it will read.emacs
... but no mention ofinit.el
. – tripleee Nov 06 '15 at 11:53startup.el
. tripleee has a suggestion/workaround a few comments above that can be used in the meantime which you may wish to try out -- i.e.,load-file
... – lawlist Dec 16 '17 at 22:40