emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with links whose description looks like a link
@ 2014-11-19  8:30 Daniel Bausch
  2014-11-19 14:52 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Bausch @ 2014-11-19  8:30 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-21  7:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-19  8:30 Problem with links whose description looks like a link Daniel Bausch
2014-11-19 14:52 ` Nicolas Goaziou
2014-11-20  7:50   ` Daniel Bausch
2014-11-20 22:39     ` Nicolas Goaziou
2014-11-21  7:11       ` Daniel Bausch

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).