26 Sep 09:52
bug#4560: 23.1.50; (string-match "string" nil) error when typing `M-x help RET'
Giorgos Keramidas <keramida <at> ceid.upatras.gr>
2009-09-26 07:52:29 GMT
2009-09-26 07:52:29 GMT
Something seems to have changed in the way string-match works with its
second argument is nil. By typing `M-x help RET' I expected to see the
same prompt that is displayed by <f1>, but instead of that a snapshot of
Emacs built from the Git mirror of the repository throws me into the
debugger at:
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 last changeset I have in my local Git clone is:
commit f6829d72c1b405d6c43caa554c2123f41917e358
Author: Chong Yidong <cyd <at> stupidchicken.com>
Date: Fri Sep 25 22:04:07 2009 +0000
* files.el (safe-local-eval-forms): Allow time-stamp in
before-save-hook (Bug#4554).
I'm updating a local mirror of the CVS repository now to check if this
is an artifact of the Git mirror. In the meantime, does this seem like
a bug in `M-x help' or like something we recently changed in the
behavior of `string-match'?
In GNU Emacs 23.1.50.1 (i386-unknown-freebsd9.0, GTK+ Version 2.16.6)
of 2009-09-26 on kobe
configured using `configure '--prefix=/opt/emacs' '--with-x' '--with-x-toolkit=gtk' '--with-xpm'
(Continue reading)
RSS Feed