emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Emacs server and org-protocol
@ 2014-09-17  7:26 Gonzalo Camarillo
  2014-09-17  7:36 ` Paul Rudin
  2014-09-17  7:46 ` Fabrice Popineau
  0 siblings, 2 replies; 17+ messages in thread
From: Gonzalo Camarillo @ 2014-09-17  7:26 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-09-18  1:05 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-17  7:26 Emacs server and org-protocol Gonzalo Camarillo
2014-09-17  7:36 ` Paul Rudin
2014-09-17  8:17   ` Gonzalo Camarillo
2014-09-17  7:46 ` Fabrice Popineau
2014-09-17  7:56   ` Paul Rudin
2014-09-17  8:43     ` Fabrice Popineau
2014-09-17  8:54       ` Alexis
2014-09-17  9:06         ` Eric S Fraga
2014-09-17  9:13           ` Alexis
2014-09-17  9:41           ` Fabrice Popineau
2014-09-17 10:57             ` Eric S Fraga
2014-09-17 13:50             ` Stefan Huchler
2014-09-17 14:03               ` Rainer M Krug
2014-09-17 20:11                 ` Stefan Huchler
2014-09-18  1:03                   ` Alexis
2014-09-17 19:57         ` Brett Viren
2014-09-17  8:03   ` Thorsten Jolitz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).