I'm on Ubuntu 14.04, with:
GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian
and have discovered something disturbing/annoying.
I have been trying to use the latest version of CEDET via el-get but kept getting the error of Emacs' built-in CEDET has already been loaded! Restart Emacs to load CEDET from el-get instead.
This was strange since it happened even after I commented everything in my .emacs out except for el-get code. Upon starting up with --debug-init, I saw that code is being running from /etc/emacs/site-start.d/
. This is before my .emacs
even gets a chance to respond. I'm guessing that something in there is doing a (require 'cedet)
, or at least a provide
.
What can I do in this situation? Do I need to recompile emacs? Or skip the apt-get version all together and build from source? And how is it possible that the emacs binary is loading code before the .emacs? Is there some kind of meta .emacs? Or was this some kind of build flag during compilation?
EDIT: I got some info from apt-cache show emacs24-el
EDIT2: Got more relevant info from https://www.debian.org/doc/packaging-manuals/debian-emacs-policy