This repository includes:
.emacs.d/my-init.el
supplemental/windows/emacsdaemon.bat
.profile/emacs_daemon.sh
.profile/keychain_init.sh
keychain
for sshIn this chapter,
check out to ~/dotfiles
for example.
$ mkdir -p ~/dotfiles
$ cd ~/dotfiles
$ git clone URL_of_this_repository
Add the next line into ~/.emacs.d/init.el
.
(load-file "~/dotfiles/.emacs.d/my-init.el")
If you don't need any additonal settings except in ~/dotfiles/.emacs.d/my-init.el
and your environment supports symbolic link,
you can link to it instead of your own ~/.emacs.d/init.el
.
$ ln -s ~/dotfiles/.emacs.d/my-init.el ~/.emacs.d/init.el
my-after-ede-setup-hook
This is called after called (global-ede-mode t)
.
So environment dependent EDE setup like as ede-cpp-root-project
can be hooked to here.
(load-file "~/dotfiles/.emacs.d/my-init.el")
;; Settings only for this environment.
(add-hook 'my-after-ede-setup-hook
(lambda ()
(ede-cpp-root-project "libfixedpointnumber"
:file "~/work/libfixedpointnumber/Makefile"
:include-path '("/include")
:system-include-path '("/usr/local/include/gtest/"
"/usr/local/include/gmock/")
:compile-command "time nice make -k -j check run-test")
))
.profile
.profile
support configuration in ~/.profile
.profile
keychain_init.sh
and this repository checked out to ~/
.... "$HOME/dotfiles/.profile/keychain_init.sh"
.profile/emacs_daemon.sh
.profile/keychain_init.sh