From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#23949: 25.0.95; Regression in handling error caused by (string-match-p "." nil) Date: Tue, 12 Jul 2016 16:27:03 -0400 Message-ID: References: <83lh17ati6.fsf@gnu.org> <83h9bvarb6.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1468355695 31015 80.91.229.3 (12 Jul 2016 20:34:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2016 20:34:55 +0000 (UTC) Cc: schwab@suse.de, 23949@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 22:34:47 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bN4OE-0005ru-3I for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 22:34:46 +0200 Original-Received: from localhost ([::1]:43315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN4OD-0007rV-Ip for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 16:34:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN4Hn-0000kc-GO for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 16:28:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN4Hi-0001jy-Eo for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 16:28:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN4Hi-0001ju-BF for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 16:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bN4Hi-0007Zi-7Z for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 16:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2016 20:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23949 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23949-submit@debbugs.gnu.org id=B23949.146835523029057 (code B ref 23949); Tue, 12 Jul 2016 20:28:02 +0000 Original-Received: (at 23949) by debbugs.gnu.org; 12 Jul 2016 20:27:10 +0000 Original-Received: from localhost ([127.0.0.1]:48779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN4Gr-0007Yb-Vj for submit@debbugs.gnu.org; Tue, 12 Jul 2016 16:27:10 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:57570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN4Gq-0007YN-Sc for 23949@debbugs.gnu.org; Tue, 12 Jul 2016 16:27:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AsEwA731xV/3mcpUVcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBBwIBH4s6gT0Bg0cHhC0Fsz+BRSOCF4F9IoJ4AQEB X-IPAS-Result: A0AsEwA731xV/3mcpUVcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBBwIBH4s6gT0Bg0cHhC0Fsz+BRSOCF4F9IoJ4AQEB X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="247626424" Original-Received: from 69-165-156-121.dsl.teksavvy.com (HELO pastel.home) ([69.165.156.121]) by ironport2-out.teksavvy.com with ESMTP; 12 Jul 2016 16:27:03 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 522CB64405; Tue, 12 Jul 2016 16:27:03 -0400 (EDT) In-Reply-To: (Kaushal Modi's message of "Tue, 12 Jul 2016 18:35:02 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120957 Archived-At: > Correct, but that error does not show up within emacs. All the user sees is: > Entering debugger... > help-function-arglist: End of file during parsing Clearly, the problem is that string-match-p uses "(let ((inhibit-changing-match-data t))", so the debugger is run with inhibit-changing-match-data bound to t and that breaks lots of Elisp code. That's a general problem with the use dynamic binding to pass extra parameters: you end up passing them not just to that one function but also to all other functions called from that one. Stefan