emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Oleh Krehel <ohwoeowho@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: (message "Greedy org-protocol handler. Killing client.")
Date: Wed, 24 Feb 2016 09:43:21 +0100	[thread overview]
Message-ID: <87povmjy6u.fsf@gmail.com> (raw)
In-Reply-To: <CAJcAo8tMOcQ2pO_VFOGbZG1=Rps_E3H_j4QaghuD10CFsYxTjg@mail.gmail.com> (Samuel Wales's message of "Tue, 23 Feb 2016 17:26:47 -0700")

Samuel Wales <samologist@gmail.com> writes:

> org-protocol works less than half the time now.
>
> i try it with the org-capture firefox extension on iceweasel.  i also
> try it with a manual bookmark created by some instruction somewhere.
>
> today every click puts this in my messages buffer:
>
> "Greedy org-protocol handler.  Killing client."
>
> could somebody please explain what this means?  i do not understand the code.

org-protocol works by advising `server-visit-files' in an obsolete way.
I encountered this problem this week when I tried to advice
`server-done' to do something clever with Itsalltext.  It seems the
`defadvice' on `server-visit-files' is incompatible with any other
advice in that vicinity. I would get "Greedy org-protocol handler.
Killing client." when I advised `server-done'. This error would
disappear immediately after I disabled the advice.

So I suggest examining your custom advises. And see if disabling some of
them fixes the problem.  And maybe someone could look into using
something better than `defadvice' in org-protocol.el.

    Oleh

  reply	other threads:[~2016-02-24  8:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-24  0:26 (message "Greedy org-protocol handler. Killing client.") Samuel Wales
2016-02-24  8:43 ` Oleh Krehel [this message]
2016-02-24 17:48   ` Samuel Wales

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=87povmjy6u.fsf@gmail.com \
    --to=ohwoeowho@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /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).