A love letter to Emacs
The opposite of the Unix philosophy?
- One Tool for RMS in the Land of MIT, where the Nerds lie
- One Tool to rule them all, One Tool to find them,
- One Tool to bring all features, and when it breaks, bind their productivity
- (hint: I still know, use and love Vim)
Text everywhere
- The dream of Lisp
- Data is code and code is data
- But also, all code and data is text
- Massively extensible and understandable
Full disclosure: I use evil-mode (Doom Emacs)
- Doom Emacs
- Community maintained configuration of Emacs
- Well integrated vim layer for modal editing
- https://github.com/hlissner/doom-emacs
What I use it for
- Development (editing, git via Magit)
- Journal / task tracking (org-mode!!)
- Email (notmuch + msmtp + isync)
- Music player (mpd)
- Sometimes a terminal (eshell ... sigh)
Org Babel example
#+BEGIN_SRC ruby
return "Hello, Ruby!"
#+END_SRC
#+RESULTS:
: Hello, Ruby!
#+BEGIN_SRC python
import datetime
time=datetime.datetime.now()
return time.strftime('[%Y-%m-%d %a %H:%M:%S]')
#+END_SRC
#+BEGIN_SRC typescript
module Greeting {
export class Hello {
constructor(private text : string) {
}
say() :void{
console.log(`${this.text}, ${x}, ${y}`);
}
}
}
var hello : Greeting.Hello = new Greeting.Hello("Hello, World!");
hello.say();
#+END_SRC
#+BEGIN_SRC restclient
:root_path := "https://15five.dev"
:user := "colin@unbl.ink"
:pass := "password"
# Returns Origin IP.
POST :root_path/mobile/login?debug_api=1&check_signature=false
Content-Type: application/x-www-form-urlencoded
email=:user&password=:pass
#
#
GET :root_path/mobile/get_feature_map/?debug_api=1
#+END_SRC