emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: "Sébastien Mengin" <sebastien-listes@edilibre.net>
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: [BUG] link to a file in a footnote ?
Date: Fri, 19 Nov 2010 15:19:02 +0100	[thread overview]
Message-ID: <83fwux9z1l.fsf@yahoo.it> (raw)
In-Reply-To: <20101117165350.GI6896@edilibre.net> ("Sébastien Mengin"'s message of "Wed, 17 Nov 2010 17:53:50 +0100")

Sébastien Mengin <sebastien-listes@edilibre.net> writes:

> Consider the following minimal example:
>
> Text[fn:1]
>
> * Footnotes
> [fn:1] Note with a [[file:abecedaire.jpg][link]].
>
> [...] doing C-c C-o on the link moves the cursor on
> [fn:1] and says in the minibuffer: "Position saved mark to ring, go back
> with C-c &", instead of opening the linked file.
>
> Is this a bug?

Here,
Org-mode version 7.3  commit-451acd11cef9db348aa26aa1bbc2a300c75cbe88
GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1

confirmed. Yes, this is a bug.

More info:
 If the pointer of the mouse is put on the word "link"
 the yellow window that appears says:"LINK: file:namefile".
 so the LINK is somehow recognised as a link to the file namefile.

 However clicking on it makes the cursor jump to the link of the
 footnote.

 But if the link is in a new line, e.g.:

* Footnotes
 [fn:1] Note with a 
[[file:abecedaire.jpg][link]].

Org-mode opens the link of the file.

Then a *qualitative* bug analysis.

Seems that Org-mode considers the [[file:abecedaire.jpg][link]]  link, 
when it is the same line  of the footnote link, 
as part of the footnote link itself.

My skills end here, I can't help more. 

Carsten, hth, have a nice squashing ;-)

cheers,
Giovanni

  reply	other threads:[~2010-11-19 14:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 16:53 link to a file in a footnote ? Sébastien Mengin
2010-11-19 14:19 ` Giovanni Ridolfi [this message]
2010-11-20 17:26 ` Carsten Dominik

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=83fwux9z1l.fsf@yahoo.it \
    --to=giovanni.ridolfi@yahoo.it \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastien-listes@edilibre.net \
    /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).