all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc: emacs-pretest-bug@gnu.org, 4560@emacsbugs.donarmstrong.com
Subject: bug#4560: 23.1.50; (string-match "string" nil) error when typing `M-x help RET'
Date: Sat, 26 Sep 2009 20:28:08 -0400	[thread overview]
Message-ID: <jwv1vlte5tm.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <87ws3mjg76.fsf@kobe.laptop> (Giorgos Keramidas's message of "Sat, 26 Sep 2009 10:52:29 +0300")

> Something seems to have changed in the way string-match works with its
> second argument is nil.

Actually, the problem was in help.el's use of make-help-screen.
I've installed the patch below, which should fix it,


        Stefan


--- lisp/help.el	14 Sep 2009 23:28:43 -0000	1.348
+++ lisp/help.el	27 Sep 2009 00:27:00 -0000
@@ -203,7 +203,9 @@
 ;; It can't find this, but nobody will look.
 (make-help-screen help-for-help-internal
   (purecopy "Type a help option: [abcCdefFgiIkKlLmnprstvw.] C-[cdefmnoptw] or ?")
-  (purecopy
+  ;; Don't purecopy this one, because it's not evaluated (it's
+  ;; directly used as a docstring in a function definition, so it'll
+  ;; be moved to the DOC file anyway: no need for purecopying it).
   "You have typed %THIS-KEY%, the help character.  Type a Help option:
 \(Use SPC or DEL to scroll through this text.  Type \\<help-map>\\[help-quit] to exit the Help command.)
 
@@ -248,7 +250,7 @@
 C-o         Emacs ordering and distribution information.
 C-p         Info about known Emacs problems.
 C-t         Emacs TODO list.
-C-w         Information on absence of warranty for GNU Emacs.")
+C-w         Information on absence of warranty for GNU Emacs."
   help-map)
 
 \f





  reply	other threads:[~2009-09-27  0:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwvske8b4k0.fsf-monnier+emacsbugreports@gnu.org>
2009-09-26  7:52 ` bug#4560: 23.1.50; (string-match "string" nil) error when typing `M-x help RET' Giorgos Keramidas
2009-09-27  0:28   ` Stefan Monnier [this message]
2009-09-27 19:05   ` bug#4560: marked as done (23.1.50; (string-match "string" nil) error when typing `M-x help RET') Emacs bug Tracking System

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv1vlte5tm.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=4560@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=keramida@ceid.upatras.gr \
    /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 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.