emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Problem with links whose description looks like a link


From: Daniel Bausch
Subject: [O] Problem with links whose description looks like a link
Date: Wed, 19 Nov 2014 09:30:44 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]