From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#14717: 24.3.50; Info-try-follow-nearest-node misses some footnotes Date: Thu, 27 Jun 2013 11:37:16 +0200 Message-ID: <87d2r7vqr7.fsf@rosalinde.fritz.box> References: <87vc52599u.fsf@rosalinde.fritz.box> <8738s4jvc4.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372325893 17802 80.91.229.3 (27 Jun 2013 09:38:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 09:38:13 +0000 (UTC) Cc: 14717-done@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 27 11:38:12 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Us8eZ-0007Ux-V3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jun 2013 11:38:12 +0200 Original-Received: from localhost ([::1]:45568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Us8eZ-0006sL-Ho for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jun 2013 05:38:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Us8eU-0006sF-OS for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2013 05:38:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Us8eR-00085L-GU for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2013 05:38:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Us8eR-000852-BF for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2013 05:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Us8eQ-00030x-Mr for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2013 05:38:02 -0400 Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2013 09:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 14717 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 14717@debbugs.gnu.org, stephen.berman@gmx.net, stephen.berman@gmx.net Original-Received: via spool by 14717-done@debbugs.gnu.org id=D14717.137232584911534 (code D ref 14717); Thu, 27 Jun 2013 09:38:01 +0000 Original-Received: (at 14717-done) by debbugs.gnu.org; 27 Jun 2013 09:37:29 +0000 Original-Received: from localhost ([127.0.0.1]:44675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Us8ds-0002zx-Po for submit@debbugs.gnu.org; Thu, 27 Jun 2013 05:37:29 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:61728) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Us8dp-0002zg-Eo for 14717-done@debbugs.gnu.org; Thu, 27 Jun 2013 05:37:26 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.29]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LwTtx-1UCKAL3Sm7-018Jb8 for <14717-done@debbugs.gnu.org>; Thu, 27 Jun 2013 11:37:18 +0200 Original-Received: (qmail invoked by alias); 27 Jun 2013 09:37:18 -0000 Original-Received: from i59F5577E.versanet.de (EHLO rosalinde.fritz.box) [89.245.87.126] by mail.gmx.net (mp029) with SMTP; 27 Jun 2013 11:37:18 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+WZUZZhfSWIbvmww5RMq58VGEFqzm1s0KjP+1EtC FGlg8dxq057EX9 In-Reply-To: <8738s4jvc4.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 27 Jun 2013 02:39:07 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75632 Archived-At: On Thu, 27 Jun 2013 02:39:07 +0300 Juri Linkov wrote: >> 0. emacs -Q >> 1. Type `C-h i m Elisp RET m Using Interactive RET TAB TAB TAB' to put >> point on the left parent of the reference mark for footnote (1) in >> this node. >> 2. Type RET, expecting to jump to the footnote, but instead: >> => user-error: No such node or anchor: It may be a string; its contents >> are a sequence of elements >> >> The following patch makes the footnote search and >> hence jumping to the footnote in that node succeed > > Thanks, your patch correctly fixes the bug, Thanks for confirming. > I recommend to commit it. Done and closing the bug. > BTW, if you are interested what I'm trying to do in bug#14670 > where I renamed the text property of footnotes from `link' to `shr-url' > is to support shr-url links in Info. The value of the text properly > `shr-url' is the target of the link. The problem is how to address > a footnote? Maybe add a function that finds a footnote. But I'm afraid > that supporting an arbitrary function on the text properly `shr-url' > is too unsafe. So `shr-url' should contain only a string. The question > is in what format to specify a link to a footnote. Currently it has > the value `t'. Perhaps as a string it could contain a line number > of the footnote like "(elisp) Using Interactive (line 42)". Would that mean the link would have to be manually updated whenever the line number of the footnote in the file changes? If so, it seems error-prone. But I don't know the implementation, maybe that's not an issue. Otherwise, seems like an interesting idea. Steve Berman