From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard Y. Kim" Newsgroups: gmane.emacs.bugs Subject: Info-follow-reference goes to incorrect node Date: Wed, 13 Apr 2005 11:07:12 -0700 (PDT) Message-ID: <200504131807.LAA15518@gatekeeper.grassvalleygroup.com> Reply-To: richard.kim@thomson.net NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1113417415 24935 80.91.229.2 (13 Apr 2005 18:36:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2005 18:36:55 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 13 20:36:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DLmhQ-0005EP-KY for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Apr 2005 20:34:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DLmHz-00080Y-PT for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Apr 2005 14:08:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DLmF2-0006U8-Ek for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2005 14:05:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DLmF0-0006TV-AY for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2005 14:05:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DLmBg-00050j-5E for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2005 14:02:04 -0400 Original-Received: from [157.254.234.138] (helo=dmzraw2.extranet.tce.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DLmHF-0006to-9e for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2005 14:07:49 -0400 Original-Received: from smtprelay2.indy.tce.com ([157.254.96.95]) by dmzraw2.extranet.tce.com (8.12.5/8.12.5) with ESMTP id j3DI7Klh014026 for ; Wed, 13 Apr 2005 18:07:20 GMT Original-Received: from camas01.am.thmulti.com (localhost [127.0.0.1]) by smtprelay2.indy.tce.com (8.12.9/8.12.8) with SMTP id j3DI7HOc026676 for ; Wed, 13 Apr 2005 18:07:18 GMT Original-Received: FROM gatekeeper.grassvalleygroup.com BY camas01.am.thmulti.com ; Wed Apr 13 11:07:16 2005 -0700 Original-Received: from BVTND-KIMR.thomson.net (bvtnd-kimr.grassvalleygroup.com [10.16.38.46]) by gatekeeper.grassvalleygroup.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id LAA15518; Wed, 13 Apr 2005 11:07:13 -0700 (PDT) Original-To: bug-gnu-emacs@gnu.org Comments: Hyperbole mail buttons accepted, v04.18. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:11149 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:11149 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$