From unknown Mon Aug 18 15:41:25 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4560: 23.1.50; (string-match "string" nil) error when typing `M-x help RET' Reply-To: Giorgos Keramidas , 4560@debbugs.gnu.org Resent-From: Giorgos Keramidas Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 26 Sep 2009 08:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4560 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125395156413882 (code B ref -1); Sat, 26 Sep 2009 08:00:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 26 Sep 2009 07:52:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8Q7qg8S013879 for ; Sat, 26 Sep 2009 00:52:44 -0700 Received: from mail.gnu.org ([199.232.76.166]:55297 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MrS5B-0002SV-C6 for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 03:52:41 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MrS59-00023l-P1 for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 03:52:40 -0400 Received: from mx20.gnu.org ([199.232.41.8]:45833) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MrS59-00023S-8W for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 03:52:39 -0400 Received: from poseidon.ceid.upatras.gr ([150.140.141.169]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MrS56-0003iG-HP for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 03:52:36 -0400 Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 28846EB535D for ; Sat, 26 Sep 2009 10:52:33 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 1D21C451F4 for ; Sat, 26 Sep 2009 10:52:33 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UR-cgJwZGfiu for ; Sat, 26 Sep 2009 10:52:32 +0300 (EEST) Received: from kobe.laptop (adsl243-164.kln.forthnet.gr [79.103.56.164]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 6C2FD451E6 for ; Sat, 26 Sep 2009 10:52:32 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n8Q7qU6D026442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 26 Sep 2009 10:52:30 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n8Q7qTSx026441; Sat, 26 Sep 2009 10:52:29 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: emacs-pretest-bug@gnu.org Date: Sat, 26 Sep 2009 10:52:29 +0300 Message-ID: <87ws3mjg76.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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 , 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 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' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: el_GR.ISO8859-7 value of $LC_CTYPE: el_GR.ISO8859-7 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C value of $XMODIFIERS: nil locale-coding-system: greek-iso-8bit-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-button-mode: t erc-netsplit-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-notify-mode: t erc-autojoin-mode: t erc-services-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-ring-mode: t erc-log-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t iswitchb-mode: t cua-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: RET C-x C-b s a RET C-x b d e m o RET C-x b n u x RET C-x b d a r k RET C-l C-x b n u x RET C-x b s c r a RET ESC x t o g g TAB d e b u TAB e TAB RET ESC x h e l p RET ESC O A ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC w C-] RET C-y RET ESC x r e p o r t - TAB b u TAB RET Recent messages: #Linux modes: +nc #Linux was created on Tuesday 1999/03/30 04:13:13 Updating buffer list... Formats have changed, recompiling...done Updating buffer list...done Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help Debug on Error enabled globally Entering debugger... Quit Mark set Load-path shadows: None found. From unknown Mon Aug 18 15:41:25 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4560: 23.1.50; (string-match "string" nil) error when typing `M-x help RET' Reply-To: Stefan Monnier , 4560@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 27 Sep 2009 00:35:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4560 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125401129618030 (code B ref -1); Sun, 27 Sep 2009 00:35:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Sep 2009 00:28:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER, IMPRONONCABLE_1,MURPHY_DRUGS_REL8,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8R0SE7A018027 for ; Sat, 26 Sep 2009 17:28:16 -0700 Received: from mail.gnu.org ([199.232.76.166]:40544 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mrhcc-0002lo-2s for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 20:28:14 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mrhca-0005UR-8I for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 20:28:13 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:41294 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mrhca-0005UJ-0E for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 20:28:12 -0400 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" 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 Received: by pastel.home (Postfix, from userid 20848) id 943F380B1; Sat, 26 Sep 2009 20:28:08 -0400 (EDT) From: Stefan Monnier To: Giorgos Keramidas Cc: 4560@debbugs.gnu.org, emacs-pretest-bug@gnu.org Message-ID: References: <87ws3mjg76.fsf@kobe.laptop> Date: Sat, 26 Sep 2009 20:28:08 -0400 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) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. > 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) From unknown Mon Aug 18 15:41:25 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4560: 23.1.50; (string-match "string" nil) error when typing `M-x help RET' Reply-To: Giorgos Keramidas , 4560@debbugs.gnu.org Resent-From: Giorgos Keramidas Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 27 Sep 2009 02:25:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4560 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12540178881433 (code B ref -1); Sun, 27 Sep 2009 02:25:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Sep 2009 02:18:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.2 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER, IMPRONONCABLE_1,MURPHY_DRUGS_REL8,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8R2I6d1001430 for ; Sat, 26 Sep 2009 19:18:07 -0700 Received: from mail.gnu.org ([199.232.76.166]:49472 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MrjKv-0004ZS-T6 for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 22:18:05 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MrjKu-0004W4-V7 for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 22:18:05 -0400 Received: from poseidon.ceid.upatras.gr ([150.140.141.169]:57861) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MrjKu-0004Vq-F8 for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 22:18:04 -0400 Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 0E7F8EB5420; Sun, 27 Sep 2009 05:18:02 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id E334E45152; Sun, 27 Sep 2009 05:18:02 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zso21WYwrWI2; Sun, 27 Sep 2009 05:18:02 +0300 (EEST) Received: from kobe.laptop (adsl243-164.kln.forthnet.gr [79.103.56.164]) by mail.ceid.upatras.gr (Postfix) with ESMTP id A123A450C6; Sun, 27 Sep 2009 05:18:02 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n8R2I1dr009101 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 27 Sep 2009 05:18:01 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n8R2Hvuw009100; Sun, 27 Sep 2009 05:17:57 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Stefan Monnier Cc: 4560@debbugs.gnu.org, emacs-pretest-bug@gnu.org References: <87ws3mjg76.fsf@kobe.laptop> Date: Sun, 27 Sep 2009 05:17:57 +0300 In-Reply-To: (Stefan Monnier's message of "Sat, 26 Sep 2009 20:28:08 -0400") Message-ID: <878wg12kru.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) On Sat, 26 Sep 2009 20:28:08 -0400, Stefan Monnier wrote: >> 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, > --- 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) Thanks! This seems to have fixed the bug :-) From unknown Mon Aug 18 15:41:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Giorgos Keramidas Subject: bug#4560 closed by Stefan Monnier (Re: bug#4560: 23.1.50; (string-match "string" nil) error when typing `M-x help RET') Message-ID: References: <87ws3mjg76.fsf@kobe.laptop> X-Emacs-PR-Message: they-closed 4560 X-Emacs-PR-Package: emacs Reply-To: 4560@debbugs.gnu.org Date: Sun, 27 Sep 2009 19:05:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1254078304-21629-1" This is a multi-part message in MIME format... ------------=_1254078304-21629-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4560: 23.1.50; (string-match "string" nil) error when typing `M-x help RET' It has been closed by Stefan Monnier . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Stefan Monnier by replying to this email. --=20 4560: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4560 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1254078304-21629-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4560-done) by emacsbugs.donarmstrong.com; 27 Sep 2009 18:56:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n8RIuJjf020429 for <4560-done@emacsbugs.donarmstrong.com>; Sun, 27 Sep 2009 11:56:20 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtUEAONRv0pFpYq6/2dsb2JhbACBUNBmhB4Fh30 X-IronPort-AV: E=Sophos;i="4.44,461,1249272000"; d="scan'208";a="46674174" Received: from 69-165-138-186.dsl.teksavvy.com (HELO pastel.home) ([69.165.138.186]) by ironport2-out.pppoe.ca with ESMTP; 27 Sep 2009 14:56:13 -0400 Received: by pastel.home (Postfix, from userid 20848) id B743980C4; Sun, 27 Sep 2009 14:56:12 -0400 (EDT) From: Stefan Monnier To: Giorgos Keramidas Subject: Re: bug#4560: 23.1.50; (string-match "string" nil) error when typing `M-x help RET' Message-ID: References: <87ws3mjg76.fsf@kobe.laptop> <878wg12kru.fsf@kobe.laptop> Date: Sun, 27 Sep 2009 14:56:12 -0400 In-Reply-To: <878wg12kru.fsf@kobe.laptop> (Giorgos Keramidas's message of "Sun, 27 Sep 2009 05:17:57 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>> 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, > Thanks! This seems to have fixed the bug :-) Thank you for confirming, Stefan ------------=_1254078304-21629-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 26 Sep 2009 07:52:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8Q7qg8S013879 for ; Sat, 26 Sep 2009 00:52:44 -0700 Received: from mail.gnu.org ([199.232.76.166]:55297 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MrS5B-0002SV-C6 for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 03:52:41 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MrS59-00023l-P1 for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 03:52:40 -0400 Received: from mx20.gnu.org ([199.232.41.8]:45833) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MrS59-00023S-8W for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 03:52:39 -0400 Received: from poseidon.ceid.upatras.gr ([150.140.141.169]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MrS56-0003iG-HP for emacs-pretest-bug@gnu.org; Sat, 26 Sep 2009 03:52:36 -0400 Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 28846EB535D for ; Sat, 26 Sep 2009 10:52:33 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 1D21C451F4 for ; Sat, 26 Sep 2009 10:52:33 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UR-cgJwZGfiu for ; Sat, 26 Sep 2009 10:52:32 +0300 (EEST) Received: from kobe.laptop (adsl243-164.kln.forthnet.gr [79.103.56.164]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 6C2FD451E6 for ; Sat, 26 Sep 2009 10:52:32 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n8Q7qU6D026442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 26 Sep 2009 10:52:30 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n8Q7qTSx026441; Sat, 26 Sep 2009 10:52:29 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: emacs-pretest-bug@gnu.org Subject: 23.1.50; (string-match "string" nil) error when typing `M-x help RET' Date: Sat, 26 Sep 2009 10:52:29 +0300 Message-ID: <87ws3mjg76.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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 , 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 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' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: el_GR.ISO8859-7 value of $LC_CTYPE: el_GR.ISO8859-7 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C value of $XMODIFIERS: nil locale-coding-system: greek-iso-8bit-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-button-mode: t erc-netsplit-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-notify-mode: t erc-autojoin-mode: t erc-services-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-ring-mode: t erc-log-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t iswitchb-mode: t cua-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: RET C-x C-b s a RET C-x b d e m o RET C-x b n u x RET C-x b d a r k RET C-l C-x b n u x RET C-x b s c r a RET ESC x t o g g TAB d e b u TAB e TAB RET ESC x h e l p RET ESC O A ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC [ 1 ; 2 B ESC w C-] RET C-y RET ESC x r e p o r t - TAB b u TAB RET Recent messages: #Linux modes: +nc #Linux was created on Tuesday 1999/03/30 04:13:13 Updating buffer list... Formats have changed, recompiling...done Updating buffer list...done Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help Debug on Error enabled globally Entering debugger... Quit Mark set Load-path shadows: None found. ------------=_1254078304-21629-1--