From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bausch Subject: Problem with links whose description looks like a link Date: Wed, 19 Nov 2014 09:30:44 +0100 Message-ID: <87389fegnf.fsf@gelnhausen.dvs.informatik.tu-darmstadt.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr0xn-0000xN-T7 for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 03:50:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xr0xi-0008La-4I for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 03:50:11 -0500 Received: from plane.gmane.org ([80.91.229.3]:52508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr0xh-0008JV-UJ for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 03:50:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xr0xg-0002a7-BA for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 09:50:04 +0100 Received: from gelnhausen.dvs.informatik.tu-darmstadt.de ([130.83.166.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2014 09:50:04 +0100 Received: from bausch by gelnhausen.dvs.informatik.tu-darmstadt.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2014 09:50:04 +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: emacs-orgmode@gnu.org Hi! 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 also happens if the link looks (non-sensically) like the following [[file:somefile.c::int whatsoever][file:someotherfile.txt]] . Then it would try to open someotherfile.txt instead of somefile.c. In contrast, using [[file:somefile.c::int whatsoever]] works works as expected, i.e. it jumps to the second line. Regards, Daniel -- MSc. Daniel Bausch Research Assistant (Computer Science) Technische Universität Darmstadt http://www.dvs.tu-darmstadt.de/staff/dbausch