I tried following this, I want emacs daemon starts/kills automatically:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well? Did you try ;-)
On Wed, Nov 25, 2009 at 03:06:36PM -0800, n179911 wrote:
> Hi,
> I read this follow wiki entry trying to install emacs server on ubuntu:
> http://www.emacswiki.org/emacs/EmacsClient#toc5
>
> I have download the following script and cp it to /etc/init.d/emacsd
> http://www.emacswiki.org/emacs/EmacsdInitScript
>
> And I restart my ubuntu, and I run 'emacsclient'.
> I still get:
> $ emacsclient
> emacsclient: file name or argument required
> Try `emacsclient --help' for more information
Thing is that the client needs a cookie file to know "where" the server
is (and to show the server that it's allowed to). So, provided this
server is running, it has put this cookie file somewhere (typically in
your home dir, in emacs.d/server/server). I don't know how Ubuntu
customizes this in partticular.
Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFLDhRBBcgs9XrR2kYRAssFAJ9wIKj9igqkLUCLZQFaMT0oN/eZUACfZG6e
Z+9MKt6IL5rcQliLxjkZuZM=
=s32I
-----END PGP SIGNATURE-----