Documentation mentions: 'A local or remote image address in kill-ring. Use the org-download-yank command for this. Remember that you can use "0 w" in dired to get an address.'
When I try this, org-download errors out with "Not a URL"
Looking at the code of org-download-yank, this is down to something like:
Could it be that dired 0 w (dired-copy-filename-as-kill with zero prefix arg) used to return fully-formed file://... urls and now just returns the bare filename, or is there some other reason?
I'm working around this for now by commenting out the (unless (url-type... two lines in org-download-yank.
Documentation mentions: 'A local or remote image address in kill-ring. Use the org-download-yank command for this. Remember that you can use "0 w" in dired to get an address.'
When I try this, org-download errors out with "Not a URL"
Looking at the code of
org-download-yank
, this is down to something like:eval'ing to
nil
.Could it be that dired
0 w
(dired-copy-filename-as-kill
with zero prefix arg) used to return fully-formedfile://...
urls and now just returns the bare filename, or is there some other reason?I'm working around this for now by commenting out the
(unless (url-type...
two lines inorg-download-yank
.