- Motivation: when analyzing data for any research project, it's essential to know well a good text editor. Indeed, it's very efficient to be able to program in several languages (eg. Python, C/C++, R), interact with the shell like in a terminal, manipulate data and plot exploratory analyzes in R, all this within the same editor! One such editor is Emacs, and is available on Linux, Mac OS and Windows. For Mac OS X users, I recommend this distribution.
- Configuration: my own file ~/.emacs (versioned here):
- from the office computer (desktop), log interactively to a cluster node, launch
emacs --daemon and keep the terminal open indefinitely; then access this session from any computer, e.g. a laptop, with
emacsclient -t; and close it when needed via
emacsclient -e "(kill-emacs)"
- especially useful with PuTTY on Windows, launch emacs so that its window is the terminal itself, via
- when updating org-mode, one may have to first comment all org-related lines in ~/.emacs, remove the dir ~/.emacs.d/elpa/org-*, re-open Emacs with option -Q, install the latest version of org-mode, close Emacs and re-open it without -Q, uncomment all org-related lines in ~/.emacs