emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Daniel Bausch <bausch@dvs.tu-darmstadt.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem with links whose description looks like a link
Date: Wed, 19 Nov 2014 15:52:28 +0100	[thread overview]
Message-ID: <87y4r7dyz7.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87389fegnf.fsf@gelnhausen.dvs.informatik.tu-darmstadt.de> (Daniel Bausch's message of "Wed, 19 Nov 2014 09:30:44 +0100")

Hello,

Daniel Bausch <bausch@dvs.tu-darmstadt.de> 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

  reply	other threads:[~2014-11-19 14:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-19  8:30 Problem with links whose description looks like a link Daniel Bausch
2014-11-19 14:52 ` Nicolas Goaziou [this message]
2014-11-20  7:50   ` Daniel Bausch
2014-11-20 22:39     ` Nicolas Goaziou
2014-11-21  7:11       ` Daniel Bausch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4r7dyz7.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=bausch@dvs.tu-darmstadt.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).