From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs 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 Message-ID: References: <87ws3mjg76.fsf@kobe.laptop> Reply-To: Stefan Monnier , 4560@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254012448 2642 80.91.229.12 (27 Sep 2009 00:47:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Sep 2009 00:47:28 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 4560@emacsbugs.donarmstrong.com To: Giorgos Keramidas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 27 02:47:21 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mrhv6-0005fY-Eo for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Sep 2009 02:47:20 +0200 Original-Received: from localhost ([127.0.0.1]:49108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mrhv5-0008Ds-OS for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Sep 2009 20:47:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mrhv0-0008Cg-JT for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2009 20:47:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mrhuv-0008B2-Tl for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2009 20:47:14 -0400 Original-Received: from [199.232.76.173] (port=52609 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mrhuv-0008Az-Mk for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2009 20:47:09 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50311) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mrhuv-0001za-2F for bug-gnu-emacs@gnu.org; Sat, 26 Sep 2009 20:47:09 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8R0l6vQ020487; Sat, 26 Sep 2009 17:47:06 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8R0Z6BL018779; Sat, 26 Sep 2009 17:35:06 -0700 Resent-Date: Sat, 26 Sep 2009 17:35:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 27 Sep 2009 00:35:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4560 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4560-submit@emacsbugs.donarmstrong.com id=B4560.125401129618033 (code B ref 4560); Sun, 27 Sep 2009 00:35:06 +0000 Original-Received: (at 4560) by emacsbugs.donarmstrong.com; 27 Sep 2009 00:28:16 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8R0SFG1018026 for <4560@emacsbugs.donarmstrong.com>; Sat, 26 Sep 2009 17:28:16 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnQFAOdOvkpFpYq6/2dsb2JhbACBUNIehB4Fh30 X-IronPort-AV: E=Sophos;i="4.44,458,1249272000"; d="scan'208";a="46657402" Original-Received: from 69-165-138-186.dsl.teksavvy.com (HELO pastel.home) ([69.165.138.186]) by ironport2-out.pppoe.ca with ESMTP; 26 Sep 2009 20:28:09 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 943F380B1; Sat, 26 Sep 2009 20:28:08 -0400 (EDT) In-Reply-To: <87ws3mjg76.fsf@kobe.laptop> (Giorgos Keramidas's message of "Sat, 26 Sep 2009 10:52:29 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-CrossAssassin-Score: 2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 26 Sep 2009 20:47:14 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31541 gmane.emacs.pretest.bugs:25081 Archived-At: > 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-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)