emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] org-protocol: Make org protocol defaults work on windows


From: Maxim Nikulin
Subject: Re: [PATCH] org-protocol: Make org protocol defaults work on windows
Date: Mon, 29 Mar 2021 00:02:48 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 20/11/2020 23:26, Robert wrote:
> Attached a little patch to make the default org-protocol
> handlers work on windows.

Unsure, but the issue might be addressed by the following change:
https://code.orgmode.org/bzg/org-mode/commit/928e67df
org-protocol: Allow slashes after sub-protocol

I am curious if alternative approach could help. Have you tried
one or three slashes after "org-protocol:"? E.g.
org-protocol:/capture?template=... or
org-protocol:///capture?template=... instead of
org-protocol://capture?template=...

I suspect that with double slash subprotocol is considered as a name
of some host so "/" as path before query part is added. With other
number of slashes subprotocol does not look like a host name
similar to file:/// scheme. See
https://orgmode.org/list/s3flvl$a48$1@ciao.gmane.io/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]