[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] file link format question - How to format link when square
From: |
David Maus |
Subject: |
Re: [Orgmode] file link format question - How to format link when square brackets [ ] are already in filename? |
Date: |
Tue, 02 Feb 2010 17:57:02 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1.92 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Tue, 02 Feb 2010 11:50:31 +0100,
Erwin Panen wrote:
>
> Hi everyone,
>
> I guess this is a minor question, but it has puzzled me already more
> than once.
> My example: The below example is normally all on one line.
> ---------------Begin code----------------------------------------------
> ** Action: started to play video
> [[\\Dcerouter\public\videos\STORY_Station (sdb1)-CORE [32]\Les Rivières
> Pourpres 720x304\The Crimson Rivers.mkv][The Crimson Rivers.mkv]]
> ---------------End code------------------------------------------------
>
> The problem is that the file location already contains a number between
> square brackets [32] which renders Org to treat the link in an
> unsuspected way.
>
> Is there any way to circumvent this behaviour e.g. by inserting special
> characters to avoid Org to look inbetween the special characters?
You can url-encode the square brackets with %5B ("[") and %5D ("]") --
orgmode does this when calling `org-store-link' (C-c l) for a place
that contains square brackets and opens the links fine.
HTH
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden