From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4560: marked as done (23.1.50; (string-match "string" nil) error when typing `M-x help RET') Date: Sun, 27 Sep 2009 19:05:04 +0000 Message-ID: References: <87ws3mjg76.fsf@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1254078304-21629-0" X-Trace: ger.gmane.org 1254078467 15755 80.91.229.12 (27 Sep 2009 19:07:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Sep 2009 19:07:47 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 27 21:07:40 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 1Mrz5r-0006Bq-LE for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Sep 2009 21:07:36 +0200 Original-Received: from localhost ([127.0.0.1]:55330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mrz5q-0006ve-V1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Sep 2009 15:07:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mrz5W-0006no-D0 for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2009 15:07:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mrz5R-0006la-7i for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2009 15:07:13 -0400 Original-Received: from [199.232.76.173] (port=42200 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mrz5R-0006lU-4T for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2009 15:07:09 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50392) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mrz5Q-0002Q0-Gs for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2009 15:07:08 -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 n8RJ763m022818; Sun, 27 Sep 2009 12:07:06 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8RJ54if021931; Sun, 27 Sep 2009 12:05:04 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4560 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:31551 Archived-At: This is a multi-part message in MIME format... ------------=_1254078304-21629-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 27 Sep 2009 14:56:12 -0400 with message-id and subject line Re: bug#4560: 23.1.50; (string-match "string" nil) error w= hen typing `M-x help RET' has caused the Emacs bug report #4560, regarding 23.1.50; (string-match "string" nil) error when typing `M-x help = RET' to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4560: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4560 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1254078304-21629-0 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-0 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-0--