emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gonzalo Camarillo <gcamaril@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Emacs server and org-protocol
Date: Wed, 17 Sep 2014 09:26:26 +0200	[thread overview]
Message-ID: <541937A2.3040405@gmail.com> (raw)

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

             reply	other threads:[~2014-09-17  7:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-17  7:26 Gonzalo Camarillo [this message]
2014-09-17  7:36 ` Emacs server and org-protocol 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=541937A2.3040405@gmail.com \
    --to=gcamaril@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).