emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

M-x woman signals error when no current word


From: Kalle Olavi Niemitalo
Subject: M-x woman signals error when no current word
Date: Sat, 20 Sep 2003 13:30:14 +0300

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 address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Start Emacs with "emacs -nw -q --no-site-file".
Type C-x h C-w to clear the *scratch* buffer.
Type M-x woman RET.
An error is signalled: "Wrong type argument: stringp, nil"

Backtrace:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  completing-read("Manual entry: " (("411toppm" (0)) ("822-date" (0)) ("CA.pl" 
(0)) ("GET" (0)) ("HEAD" (0)) ("ImageMagick" (0)) ("Mail" (0)) ("POST" (0)) 
("Xprt" (0)) ("[" (0)) ("a2p" (0)) ("aclocal-1.4" (0)) ("aclocal-1.7" (0)) 
("aclocal" (0)) ("acpi_available" (0)) ("addr2line" (0)) ("aid" (0)) ("animate" 
(0)) ("anytopnm" (0)) ("apm_available" (0)) ("apropos" (0)) 
("apt-extracttemplates" (0)) ("apt-ftparchive" (0)) ("apt-sortpkgs" (0)) ("ar" 
(0)) ("arch" (0)) ("as" (0)) ("asciitopgm" (0)) ("asn1parse" (0)) ("at" (0)) 
("atktopbm" (0)) ("atq" (0)) ("atrm" (0)) ("audiofile-config" (0)) ("aumix" 
(0)) ("autoconf" (0)) ("autoconf2.13" (0)) ("autoheader" (0)) ("autoheader2.13" 
(0)) ("autom4te" (0)) ("automake-1.4" (0)) ("automake-1.7" (0)) ("automake" 
(0)) ("autopoint" (0)) ("autoreconf" (0)) ("autoreconf2.13" (0)) ("autoscan" 
(0)) ("autoscan2.13" (0)) ("autoupdate" (0)) ("autoupdate2.13" (0)) ...) nil 1 
(nil . 0) woman-topic-history)
  woman-file-name(nil nil)
  woman(nil nil)
* call-interactively(woman)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

The fault is in the INITIAL-INPUT parameter of completing-read,
which is here set as (nil . 0).  The nil comes from
(current-word), which was changed in revision 1.614 of simple.el
(on 2003-07-07) to return nil rather than "" when it can't find
a word.

In GNU Emacs 21.3.50.10 (i386-pc-linux-gnu, GTK+ Version 2.2.2)
 of 2003-09-06 on Astalo
configured using `configure '--prefix=/home/kalle' 
'--exec-prefix=/home/kalle/i386-pc-linux-gnu' '--host=i386-pc-linux-gnu' 
'--build=i386-pc-linux-gnu' '--enable-maintainer-mode' '--with-x-toolkit=gtk' 
'CFLAGS=-O2 -g -Wall -W' 'CPPFLAGS=-I/home/kalle/include' 
'LDFLAGS=-L/home/kalle/i386-pc-linux-gnu/lib' 'build_alias=i386-pc-linux-gnu' 
'host_alias=i386-pc-linux-gnu''

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: address@hidden
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Recent input:
C-x h C-w ESC x w o m a n RET ESC x r e p o r t SPC 
e m a c s SPC b u g RET

Recent messages:
For information about the GNU Project and its goals, type C-h C-p.
Mark set [2 times]
Loading woman...
Loading easymenu...done
Loading advice...done
Loading woman...done
Building list of manual directory expansions...
Building completion list of all manual topics...
woman-file-name: Wrong type argument: stringp, nil
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]