From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: Re: Info tooltip for *Menu items Date: Fri, 18 Mar 2005 17:46:48 +0200 Organization: JURTA Message-ID: <87y8clvtwf.fsf@jurta.org> References: <001f01c52984$24a12690$0200a8c0@sedrcw11488> <4237D56D.1020407@comcast.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111162188 17737 80.91.229.2 (18 Mar 2005 16:09:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Mar 2005 16:09:48 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 18 17:09:48 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DCJvT-0006fK-JA for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Mar 2005 17:02:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCKBz-0005TS-MM for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Mar 2005 11:19:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DCKBs-0005SZ-Fv for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2005 11:19:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DCKBp-0005R6-8Y for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2005 11:19:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCKBp-0005QQ-0O for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2005 11:19:09 -0500 Original-Received: from [194.126.101.98] (helo=MXR-5.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DCJsa-0002IQ-Fx for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2005 10:59:16 -0500 Original-Received: from mail.neti.ee (80-235-42-231-dsl.mus.estpak.ee [80.235.42.231]) by MXR-1.estpak.ee (Postfix) with ESMTP id 977B2164A03; Fri, 18 Mar 2005 17:59:12 +0200 (EET) Original-To: David Hunter In-Reply-To: <4237D56D.1020407@comcast.net> (David Hunter's message of "Wed, 16 Mar 2005 01:42:53 -0500") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) 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 X-MailScanner-To: geb-bug-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.bugs:10953 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10953 David Hunter writes: > When the menu entry has an empty node name, the node name match > (match-string 3) is "", not nil. This is submatch 1 of > Info-following-node-name-re and is guaranteed to be non-nil. To fix > this, the if should test match-string, not match-end. The correct > test is found 10 lines down in (let ((node (if...)))). Thanks for the patch. Due to provider's mail server problems I just now started to receive Wednesday's messages. Since I was not able to see your patch until now, I already fixed this bug, but slightly differently: I retained the condition for testing for match-end for the case if for some reasons (match-end 3) is nil, so code will not display "mouse-2: go to " in this case. Could you debug and find fixes for other unfixed Emacs bugs? -- Juri Linkov http://www.jurta.org/emacs/