* bug#1550: 23.0.60; bad help xref or bad info installation?
@ 2008-12-12 14:30 Stephen Berman
2008-12-12 14:49 ` Andreas Schwab
2008-12-12 19:15 ` Glenn Morris
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Berman @ 2008-12-12 14:30 UTC (permalink / raw
To: emacs-pretest-bug
[-- Attachment #1: Type: text/plain, Size: 989 bytes --]
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):
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: backtrace --]
[-- Type: text/plain, Size: 890 bytes --]
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
string-match("\\([^.]+\\)\\." nil)
byte-code("Æ\b!1
Info-find-node-2("/usr/local/info/emacs" nil t)
Info-find-node("/usr/local/info/emacs" nil t)
byte-code("\b!
signal(error ("No such node or anchor: elisp(Declaring Functions)"))
error("No such node or anchor: %s" "elisp(Declaring Functions)")
byte-code("Æ\b!1
Info-find-node-2("/usr/local/info/emacs" "elisp(Declaring Functions)" nil)
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(#<marker (moves after insertion) at 1632 in *Help*>)
push-button(1632)
call-interactively(push-button nil nil)
[-- Attachment #3: Type: text/plain, Size: 878 bytes --]
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#1550: 23.0.60; bad help xref or bad info installation?
2008-12-12 14:30 bug#1550: 23.0.60; bad help xref or bad info installation? Stephen Berman
@ 2008-12-12 14:49 ` Andreas Schwab
2008-12-12 19:15 ` Glenn Morris
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2008-12-12 14:49 UTC (permalink / raw
To: Stephen Berman; +Cc: emacs-pretest-bug, 1550
Stephen Berman <stephen.berman@gmx.net> writes:
> 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.
Bug in makeinfo, fixed in 4.12.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#1550: 23.0.60; bad help xref or bad info installation?
2008-12-12 14:30 bug#1550: 23.0.60; bad help xref or bad info installation? Stephen Berman
2008-12-12 14:49 ` Andreas Schwab
@ 2008-12-12 19:15 ` Glenn Morris
1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2008-12-12 19:15 UTC (permalink / raw
To: Stephen Berman; +Cc: 1550
Stephen Berman wrote:
> 3. Click or type RET on the link `elisp(Declaring Functions)' at the
Doc typo. Should read
For more information, see Info node `(elisp)Declaring Functions'."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-12 19:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-12 14:30 bug#1550: 23.0.60; bad help xref or bad info installation? Stephen Berman
2008-12-12 14:49 ` Andreas Schwab
2008-12-12 19:15 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.