From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Problems with hyperlinked files Date: Wed, 24 Mar 2010 11:50:26 +0100 Message-ID: <37BFCF57-A0AA-496B-89E1-6D0EC902F380@gmail.com> References: <4e3ad401003230213s45df1a65ha431542f16da9f94@mail.gmail.com> <4BA92412.1060709@jboecker.de> <4e3ad401003232045o2ab47b42pb9148ed16a76e46d@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuOAV-00027h-N1 for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 06:50:35 -0400 Received: from [140.186.70.92] (port=42404 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuOAU-00027V-CR for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 06:50:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuOAS-0002VX-AT for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 06:50:34 -0400 Received: from fg-out-1718.google.com ([72.14.220.155]:24932) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuOAS-0002V9-5v for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 06:50:32 -0400 Received: by fg-out-1718.google.com with SMTP id d23so1727540fga.12 for ; Wed, 24 Mar 2010 03:50:30 -0700 (PDT) In-Reply-To: <4e3ad401003232045o2ab47b42pb9148ed16a76e46d@mail.gmail.com> 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: Leo Alekseyev Cc: emacs-orgmode@gnu.org On Mar 24, 2010, at 4:45 AM, Leo Alekseyev wrote: >> >> I could reproduce this, but I don't know if this is really a bug. >> (I never heard of protecting spaces with angle brackets.) > > Actually, it's right there in section 4.3 of the manual, last > sentence: "if you need to remove ambiguities about the end of the > link, enclose them in angular brackets. " > >> You do not have to protect spaces, because the URL is surrounded by >> the >> square brackets. I could only insert angle brackets into a link by >> editing it manually; when you edit a link with C-c C-l and enclose >> the >> URL in angle brackets, Org will automatically remove them. > > Thanks, both these methods work -- although I still think it would be > nice if org mode could properly handle angle brackets inside square > ones; the motivation here is that often I just paste in file paths > instead of using C-c C-l, and then I have to use angle brackets to > deal w/ spaces; if I later want to change it to an annotated link, it > would be nice not to have to strip the angle brackets before wrapping > it in square ones... It would be hard for Org to make that distinction in a stable way. For all it knows, the > might be part of the link. Best habit is to always use [[..]] when you have a link that contains spaces, just ignore the availability of angular brackets as delimiters. These were used historically in Org before the bracket notation was introduced. I am keeping that syntax for backward compatibility, but had I had bracket links from the start, the angular bracket representation would not exist today. Best wishes - Carsten