Dear org-mode users and developers,
* Gregor Zattler <telegr...@gmx.net> [16. Aug. 2015]:
> how do I quote slashes ("/") in TITLE or BODY in org-protocol
> string?

Answer: urlencode them as explained in
https://en.wikipedia.org/wiki/Percent-encoding

>      emacsclient org-protocol:/capture:/x/URL/TITLE/BODY
> 
> I capture emails from mutt (mail user agent) to org-mode via mutt
> macros and bash scripts.  Now I get errors in Emacs „Greedy
> org-protocol handler.  Killing client.“ because TITLE (the
> Subject of the email) contains slashes.
> 
> I tried to quote the slashes with slashes but this chops of part
> of the TITLE.

A function to do so in bash can be found at:
http://stackoverflow.com/questions/296536/how-to-urlencode-data-for-curl-command


Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

Reply via email to