From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.comp.tex.texinfo.bugs,gmane.emacs.devel Subject: Re: Indices in Info. Date: Tue, 24 Jun 2003 20:35:09 -0500 (CDT) Sender: bug-texinfo-bounces+gnu-bug-texinfo=m.gmane.org@gnu.org Message-ID: <200306250135.h5P1Z9215892@eel.dms.auburn.edu> References: <200306241326.h5ODQEc27294@f7.net> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1056504969 13995 80.91.224.249 (25 Jun 2003 01:36:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2003 01:36:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: bug-texinfo-bounces+gnu-bug-texinfo=m.gmane.org@gnu.org Wed Jun 25 03:36:07 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19UzCh-0003da-00 for ; Wed, 25 Jun 2003 03:36:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19UzCQ-0006f5-HT for gnu-bug-texinfo@m.gmane.org; Tue, 24 Jun 2003 21:35:50 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19UzBi-00060y-Em for bug-texinfo@gnu.org; Tue, 24 Jun 2003 21:35:06 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19UzBX-0005Sw-Ei for bug-texinfo@gnu.org; Tue, 24 Jun 2003 21:34:59 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19UzBW-0005GO-FC; Tue, 24 Jun 2003 21:34:54 -0400 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) h5P1Ynoc002491; Tue, 24 Jun 2003 20:34:49 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.11.6+Sun/8.11.6) id h5P1Z9215892; Tue, 24 Jun 2003 20:35:09 -0500 (CDT) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: karl@freefriends.org In-reply-to: <200306241326.h5ODQEc27294@f7.net> (karl@freefriends.org) Original-cc: bug-texinfo@gnu.org X-BeenThere: bug-texinfo@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for the GNU Texinfo documentation system List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-texinfo-bounces+gnu-bug-texinfo=m.gmane.org@gnu.org Xref: main.gmane.org gmane.comp.tex.texinfo.bugs:1093 gmane.emacs.devel:15217 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15217 Karl Berry wrote: "Emacs should be able to handle this correctly" Yes it should. Meant was leading `(' and `)' in index entries and menu subtopic names. There were similar problems with other leading characters, such as `;'. I believe that the bug was a badly initialized while loop in `Info-extract-menu-node-name'. I would like to commit the following patch, which takes care of these problems. Is this OK? ===File ~/infodiff========================================== cd /usr/local/share/emacs/21.3.50/lisp/ diff -c /usr/local/share/emacs/21.3.50/lisp/info.old.el /usr/local/share/emacs/21.3.50/lisp/info.el *** /usr/local/share/emacs/21.3.50/lisp/info.old.el Mon Jun 23 16:25:22 2003 --- /usr/local/share/emacs/21.3.50/lisp/info.el Tue Jun 24 20:06:59 2003 *************** *** 1564,1569 **** --- 1564,1571 ---- (skip-chars-forward " \t\n") (let ((beg (point)) str) + (skip-chars-forward "^:") + (forward-char 1) (while (not (looking-at ":*[,.;() \t\n]")) (skip-chars-forward "^:") (forward-char 1)) Diff finished at Tue Jun 24 20:10:55 ============================================================