[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] unhex org-link for shell command
From: |
Nicolas Goaziou |
Subject: |
Re: [O] unhex org-link for shell command |
Date: |
Wed, 17 Jan 2018 22:40:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
"address@hidden" <address@hidden> writes:
> I'm developing an Emacs package
> https://github.com/stardiviner/org-send-ebook .
> I found Org-mode hex spaces in filename with "%20", So I reverse this with
> function `(url-unhex-string (org-element-property :path
> (org-element-context)))`. But this only works for English filename. If it
> is Chinese filename. this will caused error.
You can use `org-link-unescape'.
Regards,
--
Nicolas Goaziou