Samuel Wales <samolog...@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