emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-store-link dired and files with spaces


From: Nicolas Goaziou
Subject: Re: [O] org-store-link dired and files with spaces
Date: Tue, 29 Apr 2014 11:29:57 +0200

Hello,

Bart Bunting <address@hidden> writes:

> I'm having an issue with storing links to files with spaces in their
> names.
>
> If I visit a dired buffer, use c-c l to store the link of the file under
> point and then in an org buffer c-c c-l to insert it.
>
> I find that the file can not be opened from within the org buffer as org
> appears to not recognize spaces in the file name and only sees the
> filename as the part up until the first space.
>
> An example of a link that does not work:
>
> [[file:resumes/Sandeep%20Salwan%20Satellite%20network%20engineer%20Cover%20Letter.doc][file:resumes/Sandeep
> Salwan Satellite network engineer Cover Letter.doc]]

What Org version are you using? I cannot reproduce it with master.

> I don't quite understand why the first part of the link (the
> description) is url encoded but not the latter part?

The description is for human consumption. It doesn't need to be encoded.
To tell the truth, it can be troublesome if the file name contains
square brackets, but I don't think we need to impede readability to work
around this.


Regards,

-- 
Nicolas Goaziou



reply via email to

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