GNU bug report logs - #24754
problems with footnotes and a bug with links in emacs info

Previous Next

Package: emacs;

Reported by: Rubey Martin <martin.rubey <at> tuwien.ac.at>

Date: Fri, 21 Oct 2016 15:35:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Rubey Martin <martin.rubey <at> tuwien.ac.at>
Subject: bug#24754: closed (Re: bug#24754: problems with footnotes and a
 bug with links in emacs info)
Date: Fri, 21 Oct 2016 16:02:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#24754: problems with footnotes and a bug with links in emacs info

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 24754 <at> debbugs.gnu.org.

-- 
24754: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24754
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Rubey Martin <martin.rubey <at> tuwien.ac.at>
Cc: 24754-done <at> debbugs.gnu.org
Subject: Re: bug#24754: problems with footnotes and a bug with links in emacs
 info
Date: Fri, 21 Oct 2016 19:01:27 +0300
> From: Rubey Martin <martin.rubey <at> tuwien.ac.at>
> Date: Fri, 21 Oct 2016 06:42:23 +0000
> 
> 1.) problem with footnotes:
> 
> select the fourth menu node
> 
>     The On-Line Encyclopedia of Integer Sequences (OEIS)
> 
> right at the beginning you will see
> 
> =========================================
> AUTHORS:
> 
>    - Thierry Monteil (2012-02-10 – 2013-06-21): initial version.
> 
>    - Vincent Delecroix (2014): modifies continued fractions because of
>      trac ticket #14567(1)
> 
>    - Moritz Firsching (2016): modifies handling of dead sequence, see
>      trac ticket #17330(2)
> =========================================
> 
> and both (2014) and (2016) are interpreted by emacs-info as links.
> 
> I learned that this is actually mandated by the specification, but I think it would be important to be able to switch off footnote links, or, even better, improve them such that makeinfo either escapes non-footnote occurrences of "(12345)", or uses a less easily confused markup.
> 
> Note that in this project (sagemath, a large gpl computer algebra system) non-footnote occurrences of (1), (2) and (3) are very very frequent, but footnotes are used, too.  Therefore, navigating to footnote (1) and clicking on it will send you anywhere.

This was fixed today on the master branch of the Emacs Git repository.

> 2.) A bug with links.  Go back to top, and then visit the node
> 
>     FindStat - the Combinatorial Statistic Finder
> 
> you should see in line 29 the link
> 
>     To access the database, use *note findstat: 7a.:
> 
> but clicking on it does not send me to the line beginning with
> 
>     Class sage.databases.findstat.FindStat
> 
> but a little below.  This problem is much worse in other, larger examples.

This was already fixed in Emacs 25.1.

[Message part 3 (message/rfc822, inline)]
From: Rubey Martin <martin.rubey <at> tuwien.ac.at>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: problems with footnotes and a bug with links in emacs info
Date: Fri, 21 Oct 2016 06:42:23 +0000
[Message part 4 (text/plain, inline)]
(a previous version of this bug report was sent to bug-texinfo, but it turns out to be a bug in emacs, not in info...)

Dear all,

I have two problems with info in emacs.  Find attached a .texi file that exhibits both.  Note that none of the two problems exists in the standalone info reader!

After compiling this file with makeinfo, and viewing it in emacs with "C-u C-h i filename", please do the following:

1.) problem with footnotes:

select the fourth menu node

    The On-Line Encyclopedia of Integer Sequences (OEIS)

right at the beginning you will see

=========================================
AUTHORS:

   - Thierry Monteil (2012-02-10 – 2013-06-21): initial version.

   - Vincent Delecroix (2014): modifies continued fractions because of
     trac ticket #14567(1)

   - Moritz Firsching (2016): modifies handling of dead sequence, see
     trac ticket #17330(2)
=========================================

and both (2014) and (2016) are interpreted by emacs-info as links.

I learned that this is actually mandated by the specification, but I think it would be important to be able to switch off footnote links, or, even better, improve them such that makeinfo either escapes non-footnote occurrences of "(12345)", or uses a less easily confused markup.

Note that in this project (sagemath, a large gpl computer algebra system) non-footnote occurrences of (1), (2) and (3) are very very frequent, but footnotes are used, too.  Therefore, navigating to footnote (1) and clicking on it will send you anywhere.

2.) A bug with links.  Go back to top, and then visit the node

    FindStat - the Combinatorial Statistic Finder

you should see in line 29 the link

    To access the database, use *note findstat: 7a.:

but clicking on it does not send me to the line beginning with

    Class sage.databases.findstat.FindStat

but a little below.  This problem is much worse in other, larger examples.

I tested both problems on two versions of makeinfo and emacs, without noticing any difference.  The later version is

martin <at> convex63:~/sage-master/local/share/doc/sage/texinfo/en/reference/combinat$ makeinfo --version
texi2any (GNU texinfo) 6.1

Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

martin <at> convex63:~/sage-master/local/share/doc/sage/texinfo/en/reference/combinat$ emacs --version
GNU Emacs 24.5.1
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

In any case, thanks for looking into this!

Martin
[sagereferencemanualdatabases.texi (text/x-texinfo, attachment)]

This bug report was last modified 8 years and 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.