emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Org links that point to filenames with space do not open


From: Marcelo de Moraes Serpa
Subject: Re: [O] Org links that point to filenames with space do not open
Date: Thu, 6 Sep 2012 23:57:03 -0500

OK, found the issue, had to use url-insert-entities-in-string instead of shell-quote-argument.

Thanks,

- Marcelo.

On Thu, Sep 6, 2012 at 11:47 PM, Marcelo de Moraes Serpa <address@hidden> wrote:
Nick, it's a custom script... however, it looks like I was using the wrong format. Instead of escaping the space chars, I should uri-encode them it seems. I'll try that. Thanks!


On Thu, Sep 6, 2012 at 11:03 PM, Nick Dokos <address@hidden> wrote:
Marcelo de Moraes Serpa <address@hidden> wrote:

> I have several links that use the file protocol to open files indexed in
> org entries. They work fine for entries that point to file whose filenames
> do *not* contain space, but for entries with space in them, it just fails
> silently. I.e:
>
>   [[file:/Volumes/ext-hd/pdfs/Name\ Of\ The-\ 4th\ file.pdf]]
>
> I even escaped the filename using the (shell-quote-argument) function when
> indexing, but no luck.
>

This is a link to a directory. I grabbed it with C-c l and inserted it
with C-c C-l. It seems to work fine:

[[file:lib/music/Arnold%20Schoenberg/Moses%20und%20Aron/][Moses und Aron]

Nick



reply via email to

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