2018-10-29

emacs

emacs can be run within a terminal or with a graphical interface for xserver. colors and font-rendering may look different, the graphical version of course does not start inside a current terminal, and i prefer emacs on the terminal because it seems simpler and i would not have to set up xserver forwarding through ssh sessions for example

fast startup

  • start emacs with "emacs --daemon" and open files with "emacsclient -tc" ("t" uses the terminal, "c" creates a new frame)
  • this way emacs is not started anew when you open a file for editing
  • you could create a bash alias for the command-line in $HOME/.bashrc like so
alias e="emacsclient -tc"

so that you can open files like this

e readme.md

modes

modes i had issues with

  • paredit: syntax recognision, integrated auto-format, overriding keybindings, does not work so well with non-s-expression based languages, commands seem more clear and ordered in smartparens-mode
  • org-mode: i think it does too much and is therefore too complicated. i find #(link-c-one ("itpn" "syntax" "note")) to be a better note taking format than org-modes asterisk syntax

links

the official emacs manual emacsrocks.com/ gnu.org/software/emacs/manual/html_node/emacs/index.html