With a little side of applesauce...

Sunday, March 11, 2007

Emacs - emacsclient on Ubuntu

svn kept popping up a new emacs window whenever I was submitting a new revision, so I finally took the plunge and setup emacsclient... What a no-brainer:

1. add (server-start) to your .emacs file

Next, I used the following wiki entry:

To come up with some alternative ideas for configuring $EDITOR with multiple editors. I ended up not using the script, but added emacsclient to update-alternatives --config editor with the following command:

sudo update-alternatives --install /usr/bin/editor editor \ /usr/bin/emacsclient 50

No comments: