From: Aidan Kehoe <kehoea@parhasard.net>
To: 7127@debbugs.gnu.org
Subject: bug#7127: 23.2; M-x help throws an error
Date: Wed, 29 Sep 2010 00:03:05 +0100 [thread overview]
Message-ID: <19618.29737.497771.713881@parhasard.net> (raw)
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug. If you can, give
a recipe starting from `emacs -Q':
Recipe is as follows:
1) emacs -Q
2) M-x help RET
3) Observe error giving following backtrace:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
string-match("%THIS-KEY%" nil)
help()
call-interactively(help t nil)
execute-extended-command(nil)
call-interactively(execute-extended-command nil nil)
The issue seems to be make-help-screen in help-macro.el, which assumes
that (documentation FNAME) gives non-nil, something not true for
#'help. It would probably be sufficient to change the string-match call
like so:
(if (and help-screen (string-match "%THIS-KEY%" help-screen))
...)
and an insert further down like so:
(insert (or help-screen ""))
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/23.2/etc/DEBUG.
In GNU Emacs 23.2.1 (i686-pc-cygwin, GTK+ Version 2.18.6)
of 2010-05-08 on laptop
configured using `configure '--srcdir=/usr/src/emacs-23.2-1/src/emacs-23.2' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--datadir=/usr/share' '--localstatedir=/var' '--sysconfdir=/etc' '--datarootdir=/usr/share' '--docdir=/usr/share/doc/emacs' 'CPPFLAGS=-I/usr/include/ncursesw' 'LDFLAGS=-L/usr/lib/ncursesw' 'CC=gcc' 'CFLAGS=-O2 -pipe ' 'LIBS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
RET k C-a C-k C-x b * B A TAB C-b C-k a TAB RET c q
C-p C-n C-p C-n C-n C-p C-p C-n C-n C-n ESC x e h l
p C-a C-k h e l p RET f C-g q C-x o C-x b RET C-s t
h i s C-p C-p ESC < C-s s t r i n g - m a t c h C-a
C-x b * B a c TAB C-g C-x o ESC x h e l p RET q ESC
x h e l p RET v C-g q ESC [ [ A v h e l p - s c r e
e n RET C-g ESC x h e l p RET f d o c C-g q ESC [ [
A f d o c u m e n t a t i o n RET C-x o C-x o C-n C-n
C-n RET RET C-p ( d o s C-b C-k c u m e n t a t i o
n SPC ' ESC [ [ A f h e l p RET ESC [ [ A f h e l p
- f o r - h e l p RET C-a C-e h e l p - f o r - h e
l p - i n t e r n a l ) C-j ESC x r e p o r t - e m
a c s - b u g RET M x - DEL DEL - x SPC h e l p SPC
d DEL f a i l s C-b C-b C-b C-b C-b C-k R E T C-g ESC
x h e l p RET q C-a ESC x h e ESC p ESC p RET
Recent messages:
Proceeding, will debug on next eval or call.
Entering debugger...
Continuing.
Entering debugger...
Quit
Back to top level.
Type C-x 4 C-o RET to restore the other window.
Quit
Entering debugger...
Back to top level.
Load-path shadows:
None found.
Features:
(shadow sort mail-extr message idna sendmail regexp-opt ecomplete rfc822
mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug byte-opt
disass bytecomp byte-compile multi-isearch find-func debug two-column cl
cl-19 help-mode easymenu view help-fns tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process
font-render-setting gtk x-toolkit x multi-tty emacs)
--
“Apart from the nine-banded armadillo, man is the only natural host of
Mycobacterium leprae, although it can be grown in the footpads of mice.”
-- Kumar & Clark, Clinical Medicine, summarising improbable leprosy research
next reply other threads:[~2010-09-28 23:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 23:03 Aidan Kehoe [this message]
2010-09-28 23:27 ` bug#7127: 23.2; M-x help throws an error Glenn Morris
2010-09-29 7:17 ` Aidan Kehoe
2010-09-29 7:58 ` Glenn Morris
2010-09-29 13:02 ` Ken Brown
2010-09-29 17:00 ` Ken Brown
2010-09-29 17:07 ` Glenn Morris
2010-09-29 18:58 ` Ken Brown
2010-09-30 0:35 ` Glenn Morris
2010-09-30 2:15 ` Ken Brown
2010-09-30 7:12 ` Glenn Morris
2010-09-30 17:30 ` Ken Brown
2010-10-01 14:00 ` Ken Brown
2010-10-01 18:33 ` Glenn Morris
2010-10-02 1:55 ` Ken Brown
2010-10-02 2:57 ` Glenn Morris
2010-10-02 13:57 ` Ken Brown
2010-10-02 15:12 ` Eli Zaretskii
2010-10-02 15:47 ` Ken Brown
2010-10-08 15:14 ` Ken Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19618.29737.497771.713881@parhasard.net \
--to=kehoea@parhasard.net \
--cc=7127@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).