What is the purpose of opening a second instance of emacs ?
I precisely tend to avoid it.

If the emacs server is running, why not using emacsclient(w) instead of a
new instance ?

Fabrice

2014-09-17 9:26 GMT+02:00 Gonzalo Camarillo <gcama...@gmail.com>:

> Hi,
>
> I am using org-protocol to have my firefox browser talk to my emacs (to
> capture stuff).
>
> I am using Windows 7. So, I cannot use the --daemon flag to simply start
> a sever (it is not supported under Windows). Instead, I have added a
> (server-start) line to my .emacs file (init.el).
>
> When I run emacs for the first time, everything works correctly (i.e.,
> the server starts and I can connect to it from firefox). However, when I
> open a second instance of emacs, it processes again the .emacs file and,
> thus, I get the following error:
>
> > Warning (server): Unable to start the Emacs server.
> > There is an existing Emacs server, named "server".
> > To start the server in this Emacs process, stop the existing
> > server or call `M-x server-force-delete' to forcibly disconnect it.
>
> Does anybody know a workaround so that the server is only started
> once?... maybe in connection to opening a particular .org file?
>
> Thanks,
>
> Gonzalo
>
>
>


-- 
Fabrice Popineau
-----------------------------
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
------------------------------

Reply via email to