From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Org links that point to filenames with space do not open Date: Thu, 6 Sep 2012 23:47:16 -0500 Message-ID: References: <3547.1346990606@alphaville> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec51ba2bb60300504c9154d80 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9qTO-0006eo-4L for emacs-orgmode@gnu.org; Fri, 07 Sep 2012 00:47:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9qTN-0008D9-6J for emacs-orgmode@gnu.org; Fri, 07 Sep 2012 00:47:18 -0400 Received: from mail-qc0-f169.google.com ([209.85.216.169]:60114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9qTN-0008D3-1s for emacs-orgmode@gnu.org; Fri, 07 Sep 2012 00:47:17 -0400 Received: by qcsd16 with SMTP id d16so1370539qcs.0 for ; Thu, 06 Sep 2012 21:47:16 -0700 (PDT) In-Reply-To: <3547.1346990606@alphaville> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Org Mode --bcaec51ba2bb60300504c9154d80 Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > Marcelo de Moraes Serpa 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 > --bcaec51ba2bb60300504c9154d80 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Nick, it's a custom script... however, it=A0looks 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 filen= ames
> do *not* contain space, but for entries with space in them, it just fa= ils
> silently. I.e:
>
> =A0 [[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 i= t
with C-c C-l. It seems to work fine:

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

--bcaec51ba2bb60300504c9154d80--