emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Org links that point to filenames with space do not open
Date: Fri, 07 Sep 2012 00:03:26 -0400	[thread overview]
Message-ID: <3547.1346990606@alphaville> (raw)
In-Reply-To: Message from Marcelo de Moraes Serpa <celoserpa@gmail.com> of "Thu, 06 Sep 2012 19:31:28 CDT." <CACHMzOGtFP5U8DptR8HH-20K-mtvfYSmKNHqRYXn=X7PB0ERRw@mail.gmail.com>

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

  parent reply	other threads:[~2012-09-07  4:03 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 [this message]
2012-09-07  4:47   ` Marcelo de Moraes Serpa
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=3547.1346990606@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).