My configuration file for Emacs.
Enable trashing of files from dired on macOS.
brew install trash
Get more recent org-mode from MELPA like this
emacs -Q -batch -eval "(progn (require 'package) (add-to-list 'package-archives '(\"org\" . \"http://orgmode.org/elpa/\")) (package-initialize) (package-refresh-contents) (package-install 'org-plus-contrib))"
Org-babel support for Julia is added via ob-julia.el. This uses an external repository:
git clone https://github.com/gjkerns/ob-julia.git ~/lisp/ob-julia
Spell checking is done using aspell
which has to be installed
separately. On OS X:
brew install aspell --with-lang-de --with-lang-en
Install and use Webster’s dictionary.
brew install sdcv
mkdir -p ~/.stardict/dic/
wget https://s3.amazonaws.com/jsomers/dictionary.zip
unzip dictionary.zip
cd dictionary
tar jxf stardict-dictd-web1913-2.4.2.tar.bz2
mv stardict-dictd-web1913-2.4.2/* ~/.stardict/dic/
with point on word, do M-x sdcv-search
ESS is installed as described in the instructions, and not from MELPA!
So, this is:
git clone https://github.com/emacs-ess/ESS.git ~/lisp/ess
Then, checkout appropriate tag, if wanted.
cd ~/lisp
git clone https://github.com/cquery-project/cquery --single-branch --depth=1
cd cquery
git submodule update --init && ./waf configure build
To use with project, run cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 .
in source directory.
We also need in ~/.latexmkrc
:
$pdflatex = 'pdflatex -interaction=nonstopmode -synctex=1 %O %S'; $pdf_previewer = 'open -a skim'; $clean_ext = 'bbl rel %R-blx.bib %R.synctex.gz';
pip install jedi flake8 autopep8