How To Wiki

How to use Emacs in server and client mode

1,794pages on
this wiki

In order to start emacs in server mode you must add this line to your .emacs file:


Here is a simple script you can use to start emacs and then recursively load all files named "*.rb" from a directory:

/usr/bin/emacs &

find /path/to/dir/ -name "*.rb" -type f -exec /usr/local/bin/emacsclient {} -n \; 2> /dev/null

From HowTo Wiki, a Wikia wiki.

Around Wikia's network

Random Wiki