From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: [BUG] link to a file in a footnote ? Date: Fri, 19 Nov 2010 15:19:02 +0100 Message-ID: <83fwux9z1l.fsf@yahoo.it> References: <20101117165350.GI6896@edilibre.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=55857 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJRnX-0008FC-6w for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 09:18:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJRnV-0003Ou-VT for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 09:18:43 -0500 Received: from nm11.bullet.mail.ukl.yahoo.com ([217.146.183.185]:28754) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PJRnV-0003Oi-ID for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 09:18:41 -0500 In-Reply-To: <20101117165350.GI6896@edilibre.net> (=?utf-8?Q?=22S=C3=A9bas?= =?utf-8?Q?tien?= Mengin"'s message of "Wed, 17 Nov 2010 17:53:50 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Mengin Cc: emacs-orgmode@gnu.org, Carsten Dominik S=C3=A9bastien Mengin 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=20 [[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,=20 when it is the same line of the footnote link,=20 as part of the footnote link itself. My skills end here, I can't help more.=20 Carsten, hth, have a nice squashing ;-) cheers, Giovanni