bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Info-follow-reference goes to incorrect node


From: Richard Y. Kim
Subject: Info-follow-reference goes to incorrect node
Date: Wed, 13 Apr 2005 11:07:12 -0700 (PDT)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-msvc-nt5.1.2600)
 of 2003-03-27 on buffy
configured using `configure --with-msvc (12.00)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

When an info node has multiple references, e.g.,

    *Note sssttt: (sss)Top.

    *Note sss: (sss)Top.

an I use either the 'f' keyboard command or mouse to following the
second one,  I end up in the first node.

Following patch seems to fix the problem where I added ":" after the
reference name.


bash-2.05b$ cd c:/p/emacs-21.3/lisp/
bash-2.05b$ diff -c info.el-orig info.el
*** info.el-orig        Wed Apr 13 11:01:06 2005
--- info.el     Wed Apr 13 11:01:41 2005
***************
*** 1365,1371 ****
    (unless footnotename
      (error "No reference was specified"))
  
!   (let (target beg i (str (concat "\\*note " (regexp-quote footnotename)))
               (case-fold-search t))
      (while (setq i (string-match " " str i))
        (setq str (concat (substring str 0 i) "[ \t\n]+" (substring str (1+ 
i))))
--- 1365,1371 ----
    (unless footnotename
      (error "No reference was specified"))
  
!   (let (target beg i (str (concat "\\*note " (regexp-quote footnotename) ":"))
               (case-fold-search t))
      (while (setq i (string-match " " str i))
        (setq str (concat (substring str 0 i) "[ \t\n]+" (substring str (1+ 
i))))
bash-2.05b$ 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]