From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: nicholas.dokos@hp.com
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Org links that point to filenames with space do not open
Date: Thu, 6 Sep 2012 23:47:16 -0500 [thread overview]
Message-ID: <CACHMzOGbyX2aqhbO38fWvxVDquGkaOvDzsqwODELD6_uL1GjeQ@mail.gmail.com> (raw)
In-Reply-To: <3547.1346990606@alphaville>
[-- Attachment #1: Type: text/plain, Size: 957 bytes --]
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 <nicholas.dokos@hp.com> wrote:
> Marcelo de Moraes Serpa <celoserpa@gmail.com> 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
>
[-- Attachment #2: Type: text/html, Size: 1460 bytes --]
next prev parent reply other threads:[~2012-09-07 4:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-07 0:31 Org links that point to filenames with space do not open Marcelo de Moraes Serpa
2012-09-07 1:13 ` Jude DaShiell
2012-09-07 4:03 ` Nick Dokos
2012-09-07 4:47 ` Marcelo de Moraes Serpa [this message]
2012-09-07 4:57 ` Marcelo de Moraes Serpa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACHMzOGbyX2aqhbO38fWvxVDquGkaOvDzsqwODELD6_uL1GjeQ@mail.gmail.com \
--to=celoserpa@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).