From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1550: 23.0.60; bad help xref or bad info installation? Date: Fri, 12 Dec 2008 15:30:48 +0100 Message-ID: <874p19xy7b.fsf@escher.local.home> Reply-To: Stephen Berman , 1550@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1229093091 3978 80.91.229.12 (12 Dec 2008 14:44:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 14:44:51 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 12 15:45:56 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LB9Gv-0000me-Pe for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Dec 2008 15:45:42 +0100 Original-Received: from localhost ([127.0.0.1]:38774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB9Fk-0000sQ-Dr for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Dec 2008 09:44:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LB9Fg-0000rP-1J for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 09:44:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LB9Fe-0000r3-C9 for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 09:44:23 -0500 Original-Received: from [199.232.76.173] (port=60936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB9Fe-0000qy-85 for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 09:44:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47595) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LB9Fd-00066L-LB for bug-gnu-emacs@gnu.org; Fri, 12 Dec 2008 09:44:21 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBCEiI1H026430; Fri, 12 Dec 2008 06:44:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBCEe4L6025188; Fri, 12 Dec 2008 06:40:04 -0800 X-Loop: don@donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 12 Dec 2008 14:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1550 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122909226123455 (code B ref -1); Fri, 12 Dec 2008 14:40:04 +0000 X-Spam-Bayes: score:0.0000 Tokens: new, 83; hammy, 119; neutral, 95; spammy, 9. spammytokens:0.999-2--scattered, 0.997-1--vintage, 0.993-1--1624, 0.993-1--insertion, 0.969-+--click hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--H*M:fsf Original-Received: (at submit) by emacsbugs.donarmstrong.com; 12 Dec 2008 14:31:01 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBCEUweC023449 for ; Fri, 12 Dec 2008 06:30:59 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:51193) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LB923-000512-1h for emacs-pretest-bug@gnu.org; Fri, 12 Dec 2008 09:30:19 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LB92d-0003zs-Gq for emacs-pretest-bug@gnu.org; Fri, 12 Dec 2008 09:30:57 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:36116) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LB92c-0003ye-3V for emacs-pretest-bug@gnu.org; Fri, 12 Dec 2008 09:30:54 -0500 Original-Received: (qmail invoked by alias); 12 Dec 2008 14:30:50 -0000 Original-Received: from i59F54B81.versanet.de (EHLO escher.local.home) [89.245.75.129] by mail.gmx.net (mp001) with SMTP; 12 Dec 2008 15:30:50 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+QQdkDwWWQramo12l0fB+dZt1NDhUS8sF9KLBvaA 7GoIsob0JzWEEd Original-Received: by escher.local.home (Postfix, from userid 1000) id 165B47FF98; Fri, 12 Dec 2008 15:30:48 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.59,0.74 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 12 Dec 2008 09:44:23 -0500 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:23236 gmane.emacs.pretest.bugs:23487 Archived-At: --=-=-= In GNU Emacs 23.0.60.23 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-12-12 on escher 1. emacs -Q 2. C-h f declare-function RET 3. Click or type RET on the link `elisp(Declaring Functions)' at the end of the *Help* buffer, to visit the Elisp info file. ==> Emacs signals the error "byte-code: No such node or anchor: elisp(Declaring Functions)" and the *Help* buffer switches to an *info* buffer containing the raw text of /usr/local/info/emacs (not elisp!). This buffer is in Info-mode but it is wholely unpropertized and the header line is present but empty. This is completely reproducible. However, when I enable debug-on-error and repeat the above steps, it does not generate a backtrace, despite signalling the error. (Why? Is this a (different) bug?) But when I then immediately switch from the raw *info* buffer back to the *Help* buffer again and type RET on the link, I get another error, with the following backtrace (but only if I do not kill the *info* buffer): --=-=-= Content-Disposition: attachment Content-Description: backtrace Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id mBCEiI1H026430 Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("\\([^.]+\\)\\." nil) byte-code("=C6=08!=831 Info-find-node-2("/usr/local/info/emacs" nil t) Info-find-node("/usr/local/info/emacs" nil t) byte-code("=08=84! signal(error ("No such node or anchor: elisp(Declaring Functions)")) error("No such node or anchor: %s" "elisp(Declaring Functions)") byte-code("=C6=08!=831 Info-find-node-2("/usr/local/info/emacs" "elisp(Declaring Functions)" n= il) Info-find-node("emacs" "elisp(Declaring Functions)") Info-goto-node("(emacs)elisp(Declaring Functions)") info("(emacs)elisp(Declaring Functions)") apply(info "(emacs)elisp(Declaring Functions)") help-do-xref(1624 info ("(emacs)elisp(Declaring Functions)")) help-button-action(#) push-button(1632) call-interactively(push-button nil nil) --=-=-= I have no idea what's going on here, but it may be related to something else I recently noticed. My installed dir file in /usr/local/share/info contains lots of lines like the following scattered throughout the file (these lines are not in the dir file in the Emacs source directory): This is ../../info/eintr, produced by makeinfo version 4.11 from emacs-lisp-intro.texi. This is ../../info/sasl, produced by makeinfo version 4.11 from sasl.texi. This is ../../info/remember, produced by makeinfo version 4.11 from remember.texi. I don't know when these lines appeared, but I think it wasn't too long ago. Does anyone know what caused this? FWIW, the Makefile installs the Emacs Info files and dir in /usr/local/share/info, and I symlink these to /usr/local/info, but I've been doing that for a long time and I'm pretty sure the above lines are of more recent vintage. --=-=-=--