all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Info-follow-reference goes to incorrect node
@ 2005-04-13 18:07 Richard Y. Kim
  0 siblings, 0 replies; only message in thread
From: Richard Y. Kim @ 2005-04-13 18:07 UTC (permalink / raw)


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$ 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-13 18:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-13 18:07 Info-follow-reference goes to incorrect node Richard Y. Kim

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.