doom

a simple emacs launch helper

doom (as in doom emacs) is a little utility to open a file in Emacs. Specify -n to open the file in a new window (a “frame” in emacs-speak)

It will launch Emacs as a server, and always reconnect to the server so that you can have near-instant launch times (after the 1st one).

If it reports problems run it with -d to see what Emacs was complaining about. If there isn’t an Emacs window open I’ll usually just run it with -f to force kill the emacs server and start a new one rather than debugging the problem.

Usage

Usage: doom [-n|-f|-d] [path]
     -n open a new window
     -f force use of a new emacs server
     -d debug (just shows emacs' output)

Metadata:

Tags:

  • emacs