emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* (message "Greedy org-protocol handler. Killing client.")
@ 2016-02-24  0:26 Samuel Wales
  2016-02-24  8:43 ` Oleh Krehel
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Wales @ 2016-02-24  0:26 UTC (permalink / raw)
  To: emacs-orgmode

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 maint.

thanks.

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.

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

* Re: (message "Greedy org-protocol handler. Killing client.")
  2016-02-24  0:26 (message "Greedy org-protocol handler. Killing client.") Samuel Wales
@ 2016-02-24  8:43 ` Oleh Krehel
  2016-02-24 17:48   ` Samuel Wales
  0 siblings, 1 reply; 3+ messages in thread
From: Oleh Krehel @ 2016-02-24  8:43 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

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

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

* Re: (message "Greedy org-protocol handler. Killing client.")
  2016-02-24  8:43 ` Oleh Krehel
@ 2016-02-24 17:48   ` Samuel Wales
  0 siblings, 0 replies; 3+ messages in thread
From: Samuel Wales @ 2016-02-24 17:48 UTC (permalink / raw)
  To: Oleh Krehel; +Cc: emacs-orgmode

thank you.  i don't have any defadvice on anything server-related, or
anything likely to be called by a library.  does that also count?

On 2/24/16, Oleh Krehel <ohwoeowho@gmail.com> wrote:
>> org-protocol works less than half the time now.
> 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.

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.

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

end of thread, other threads:[~2016-02-24 17:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-24  0:26 (message "Greedy org-protocol handler. Killing client.") Samuel Wales
2016-02-24  8:43 ` Oleh Krehel
2016-02-24 17:48   ` Samuel Wales

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).