From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Problem with links whose description looks like a link Date: Wed, 19 Nov 2014 15:52:28 +0100 Message-ID: <87y4r7dyz7.fsf@nicolasgoaziou.fr> References: <87389fegnf.fsf@gelnhausen.dvs.informatik.tu-darmstadt.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr6bk-0007Ap-EN for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 09:51:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xr6bd-00081p-43 for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 09:51:48 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:60267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr6bc-00081Y-Tl for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 09:51:41 -0500 In-Reply-To: <87389fegnf.fsf@gelnhausen.dvs.informatik.tu-darmstadt.de> (Daniel Bausch's message of "Wed, 19 Nov 2014 09:30:44 +0100") 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: Daniel Bausch Cc: emacs-orgmode@gnu.org Hello, Daniel Bausch writes: > I'm using Org from Git master. If I have a link like, e.g. > > [[file:somefile.c::int whatsoever][file:somefile.c::int whatsoever]] > > and a a file somefile.c with the lines > > int some; > int whatsoever; > > then opening the link with the cursor before the space jumps to the > first line, while opening the link on the word "whatsoever" jumps to the > second line. It seems like Org detects a link within the link as if the > brackets were missing. This is correct. Org allows plain links (e.g. file:foo.org) within bracket links. This is the sole way to have, for example, an inline image as a link. Regards, -- Nicolas Goaziou