Fandom

How To Wiki

How to use Emacs in server and client mode

1,795pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

(server-start)

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.

Also on Fandom

Random Wiki