From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Aubrey Jaffer Newsgroups: gmane.emacs.bugs Subject: Re: [agj@alum.mit.edu: Re: ":" in Scheme names.] Date: Tue, 21 Jan 2003 00:59:40 -0500 (EST) Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <13163.4163125002$1043184394@news.gmane.org> References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1043184395 5576 80.91.224.249 (21 Jan 2003 21:26:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 21 Jan 2003 21:26:35 +0000 (UTC) Cc: bug-emacs@gnu.org 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 18b5ui-0001RY-00 for ; Tue, 21 Jan 2003 22:26:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18b5uo-0005sC-06 for gnu-bug-gnu-emacs@m.gmane.org; Tue, 21 Jan 2003 16:26:38 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18b5uO-0005K2-00 for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2003 16:26:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18b5tf-00050l-00 for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2003 16:25:28 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18b5sV-0003ty-00 for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2003 16:24:15 -0500 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 18b5sV-0005Pe-00 for bug-emacs@gnu.org; Tue, 21 Jan 2003 16:24:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18b5sP-0003ec-00 for bug-emacs@gnu.org; Tue, 21 Jan 2003 16:24:12 -0500 Original-Received: from mail16.speakeasy.net ([216.254.0.216] helo=mail.speakeasy.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18b5sG-0003EP-00 for bug-emacs@gnu.org; Tue, 21 Jan 2003 16:24:01 -0500 Original-Received: (qmail 843 invoked from network); 21 Jan 2003 21:24:07 -0000 Original-Received: from unknown (HELO home.jaffer) (agj@[66.92.77.213]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Jan 2003 21:24:07 -0000 Original-Received: from aubrey.jaffer ([192.168.1.252] helo=mail.voluntocracy.org) by home.jaffer with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 18b5wK-0006xn-00 for ; Tue, 21 Jan 2003 16:28:12 -0500 Original-Received: by mail.voluntocracy.org (Postfix, from userid 501) id E7B02D8A; Tue, 21 Jan 2003 16:31:14 -0500 (EST) Resent-From: agj@alum.mit.edu Resent-Date: 21 Jan 2003 16:31:14 -0500 Resent-To: bug-emacs@gnu.org Original-To: ttn@glug.org In-reply-to: (message from Thien-Thi Nguyen on Sun, 19 Jan 2003 21:44:03 -0500) Resent-Message-Id: <20030121213114.E7B02D8A@mail.voluntocracy.org> Resent-Date: Tue, 21 Jan 2003 16:24:01 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4278 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4278 | From: Thien-Thi Nguyen | Date: Sun, 19 Jan 2003 21:44:03 -0500 | | From: Aubrey Jaffer | Date: Sun, 19 Jan 2003 16:59:45 -0500 (EST) | | If the patch improves some (but not all) behaviors, then it is still | worth releasing. | | yes. which behaviors does it improve? what goes in the change log? (Info-index): Fixed for index names containing colons. | If you show me how to provoke the remaining misbehaviors, then I can | look at fixing them. | | here is an interactive test case, w/ expected output: | | evaluate: (info "/usr/share/info/slib.tar.gz") | | then, | ; type ; expect | i RET buffer changes to show index | C-s array-indexes RET point moves to match | m RET buffer changes to show array mapping funcs | l back to index | C-s batch: RET point moves to match | m RET buffer changes to show batch funcs Appended is a patch to Info-menu so it grabs the correct default. Also patched is Info-extract-menu-item so it goes to the ": ". But I still get an error from Info-find-node-2 with the wrong value for nodename: let: No such anchor in tag table or node in tag table or file: modify-table: HTML Tables Somewhere there is a forward search to ":"; but I lost the trail of where this happens to nodename. Here is an unrelated bug in Info-follow-nearest-node: evaluate: (info "/usr/share/info/slib.tar.gz") then, ; type ; expect i RET buffer changes to show index C-s array-indexes RET point moves to match RET buffer changes to show array mapping funcs l back to index RET buffer changes to Getopt !! -=-=-=-=- cd /usr/share/emacs/21.2/lisp/ diff -c /usr/share/emacs/21.2/lisp/info.el\~ /usr/share/emacs/21.2/lisp/info.el *** /usr/share/emacs/21.2/lisp/info.el~ Sun Jan 19 17:31:53 2003 --- /usr/share/emacs/21.2/lisp/info.el Tue Jan 21 00:33:40 2003 *************** *** 1477,1483 **** (save-excursion (goto-char p) (end-of-line) ! (if (re-search-backward "\n\\* +\\([^:\t\n]*\\):" beg t) (setq default (match-string-no-properties 1)))))) (let ((item nil)) (while (null item) --- 1477,1483 ---- (save-excursion (goto-char p) (end-of-line) ! (if (re-search-backward "\n\\* +\\([^\t\n]+\\): " beg t) (setq default (match-string-no-properties 1)))))) (let ((item nil)) (while (null item) *************** *** 1509,1515 **** (goto-char (point-min)) (or (search-forward "\n* menu:" nil t) (error "No menu in this node")) ! (or (re-search-forward (concat "\n\\* +" menu-item ":") nil t) (re-search-forward (concat "\n\\* +" menu-item) nil t) (error "No such item in menu")) (beginning-of-line) --- 1509,1515 ---- (goto-char (point-min)) (or (search-forward "\n* menu:" nil t) (error "No menu in this node")) ! (or (re-search-forward (concat "\n\\* +" menu-item ": ") nil t) (re-search-forward (concat "\n\\* +" menu-item) nil t) (error "No such item in menu")) (beginning-of-line) Diff finished at Tue Jan 21 00:33:44