emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* link to a file in a footnote ?
@ 2010-11-17 16:53 Sébastien Mengin
  2010-11-19 14:19 ` [BUG] " Giovanni Ridolfi
  2010-11-20 17:26 ` Carsten Dominik
  0 siblings, 2 replies; 3+ messages in thread
From: Sébastien Mengin @ 2010-11-17 16:53 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Consider the following minimal example:

Text[fn:1]

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

Here with orgmode 7.02, 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?

Thanks,
-- 
Sébastien Mengin
Édition et logiciels libres
< Mise en page avec LaTeX >
http://edilibre.net
tél. : 06 84 88 49 17
jid. : sebastien-mengin@jabber.org

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

* Re: [BUG] link to a file in a footnote ?
  2010-11-17 16:53 link to a file in a footnote ? Sébastien Mengin
@ 2010-11-19 14:19 ` Giovanni Ridolfi
  2010-11-20 17:26 ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Giovanni Ridolfi @ 2010-11-19 14:19 UTC (permalink / raw)
  To: Sébastien Mengin; +Cc: emacs-orgmode, Carsten Dominik

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

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

* Re: link to a file in a footnote ?
  2010-11-17 16:53 link to a file in a footnote ? Sébastien Mengin
  2010-11-19 14:19 ` [BUG] " Giovanni Ridolfi
@ 2010-11-20 17:26 ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2010-11-20 17:26 UTC (permalink / raw)
  To: Sébastien Mengin; +Cc: emacs-orgmode

Hi Sebastien,

yes, this is a bug, thank you for your report.  Should be fixed now,  
please pull and verify.

Giovanni, thanks for verifying that this really is a bug - this
kind of additional information makes things a lot easier for me.

- Carsten

On Nov 17, 2010, at 5:53 PM, Sébastien Mengin wrote:

> Hi,
>
> Consider the following minimal example:
>
> Text[fn:1]
>
> * Footnotes
> [fn:1] Note with a [[file:abecedaire.jpg][link]].
>
> Here with orgmode 7.02, 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?
>
> Thanks,
> -- 
> Sébastien Mengin
> Édition et logiciels libres
> < Mise en page avec LaTeX >
> http://edilibre.net
> tél. : 06 84 88 49 17
> jid. : sebastien-mengin@jabber.org
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2010-11-20 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-17 16:53 link to a file in a footnote ? Sébastien Mengin
2010-11-19 14:19 ` [BUG] " Giovanni Ridolfi
2010-11-20 17:26 ` Carsten Dominik

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).