From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: file link format question - How to format link when square brackets [ ] are already in filename? Date: Tue, 02 Feb 2010 17:57:02 +0100 Message-ID: <877hqvfue9.wl%maus.david@gmail.com> References: <4B680377.30601@fastmail.fm> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcM3r-0003gE-Lf for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 11:57:11 -0500 Received: from [199.232.76.173] (port=37037 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcM3r-0003fu-9M for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 11:57:11 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcM3o-00022J-Bv for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 11:57:10 -0500 Received: from mail-qy0-f202.google.com ([209.85.221.202]:61798) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcM3m-000223-Vs for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 11:57:08 -0500 Received: by qyk40 with SMTP id 40so217982qyk.14 for ; Tue, 02 Feb 2010 08:57:06 -0800 (PST) In-Reply-To: <4B680377.30601@fastmail.fm> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: erwinpanen@fastmail.fm Cc: emacs-orgmode@gnu.org At Tue, 02 Feb 2010 11:50:31 +0100, Erwin Panen wrote: >=20 > Hi everyone, >=20 > I guess this is a minor question, but it has puzzled me already more=20 > than once. > My example: The below example is normally all on one line. > ---------------Begin code---------------------------------------------- > ** Action: started to play video=20 > [[\\Dcerouter\public\videos\STORY_Station (sdb1)-CORE [32]\Les Rivi=C3=A8= res=20 > Pourpres 720x304\The Crimson Rivers.mkv][The Crimson Rivers.mkv]] > ---------------End code------------------------------------------------ >=20 > The problem is that the file location already contains a number between=20 > square brackets [32] which renders Org to treat the link in an=20 > unsuspected way. >=20 > Is there any way to circumvent this behaviour e.g. by inserting special=20 > 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 --=20 OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... maus.david@gmail.com