From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#24166: With --eval, errors in string-match-p do not produce backtraces (but errors in string-match do?!) Date: Fri, 05 Aug 2016 22:15:09 -0400 Message-ID: <87lh0a7idu.fsf@users.sourceforge.net> References: <25c2c856-ff1f-6e73-037a-65abae882673@live.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1470449800 10906 195.159.176.226 (6 Aug 2016 02:16:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2016 02:16:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) Cc: 24166@debbugs.gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 06 04:16:31 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVr9s-0008A4-Fl for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Aug 2016 04:16:16 +0200 Original-Received: from localhost ([::1]:47813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVr9p-0008Bi-84 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Aug 2016 22:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVr9i-0008BO-Ir for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2016 22:16:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVr9e-0005RJ-At for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2016 22:16:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVr9e-0005R6-6y for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2016 22:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bVr9e-00042v-0m for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2016 22:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Aug 2016 02:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24166 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24166-submit@debbugs.gnu.org id=B24166.147044970915485 (code B ref 24166); Sat, 06 Aug 2016 02:16:01 +0000 Original-Received: (at 24166) by debbugs.gnu.org; 6 Aug 2016 02:15:09 +0000 Original-Received: from localhost ([127.0.0.1]:57031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVr8m-00041h-S6 for submit@debbugs.gnu.org; Fri, 05 Aug 2016 22:15:09 -0400 Original-Received: from mail-io0-f178.google.com ([209.85.223.178]:34929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVr8m-00041V-03 for 24166@debbugs.gnu.org; Fri, 05 Aug 2016 22:15:08 -0400 Original-Received: by mail-io0-f178.google.com with SMTP id m101so314963107ioi.2 for <24166@debbugs.gnu.org>; Fri, 05 Aug 2016 19:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5SYy2P0+thxjbzeeXcL6so7/2RUkJfm+58fndHEFrlc=; b=TcmBnYyb2oG1/HTAcjak6nMRnYZiitStOJJXoLg486KYSNNJceHCe4ghHgFa6jF4Ji VlqhJTOVN+H9wBUxWxhcMtOOU98qyxyFB2ZQeRmLsrQpiSHqj7al3HezfOipMwpbs1h2 wwVrHHb6bLveYb6t7GJH53+4/uvVs21uZsyANSME8z5x1ObGqc4gHabIBoBlj9V7UpH/ KrdsMXBY2FCtnHAgr1GTJUnSvUcpT3nEXps00XFAlQ3d2acJhRGgl2Xkk/RMv3Pwc98j rJgSdF29h5Ve0L1hrV0h2IpIP+EHoAn5WXqitVSx9zGp6rgeKzB8Hj6K/p0EH/Y3qP6F pg3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=5SYy2P0+thxjbzeeXcL6so7/2RUkJfm+58fndHEFrlc=; b=aO9eYBZTkHIIKGba71LEw+/lQ5gfNupTxWUnwQKRmtzc8A+iemwYvMdQQO6ROFXDT8 Gjx9PUp3h8b2577KMMULvReBd2eW+Pql05XkN+4cQZdNqm/667EtrfKXb+IQqQqWeWPn /edgKDxSr9b/TKHKtdmzd/i/XGlDyhWGv3e+t6m3vRy6ka5PAp+fB9pUMSMCIx2n7wA8 lkfkoW6ggSf8TsHemLwY0sQ0FRFeE+0UWRx8B2Gf9LweN9xdbSGMaodkfmbpTWYNqEYJ pl37eE/lFQo2VeGM5xqStTfumZ3lzUQqcXHaGBAySBHXynuaEEhMT1Qrz81c6JX4/OxC 6DbQ== X-Gm-Message-State: AEkoouv/yzxGgM4lcI4a9IkHu862Ktlm7PUXow4ZkbzN5bGBW/xnoFWdNCbqO8b3vzaEZA== X-Received: by 10.107.189.6 with SMTP id n6mr80696140iof.72.1470449702576; Fri, 05 Aug 2016 19:15:02 -0700 (PDT) Original-Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id 140sm5111844itl.4.2016.08.05.19.15.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Aug 2016 19:15:01 -0700 (PDT) In-Reply-To: <25c2c856-ff1f-6e73-037a-65abae882673@live.com> ("=?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel"'s message of "Fri, 5 Aug 2016 21:56:56 -0400") 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:121878 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable merge 23949 24166 quit Cl=C3=A9ment Pit--Claudel writes: > Hey bug-gnu-emacs, > > Is the following a bug? Yes, it's another instance of #23949 Actually, I wonder why the trivial fix suggested there wasn't applied alrea= dy: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=v1-0001-Fix-debugging-of-string-match-p-errors.patch Content-Description: patch >From d7c19f35861f12a16e7571340f3f0802a7e85adb Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Fri, 5 Aug 2016 22:11:00 -0400 Subject: [PATCH v1] Fix debugging of string-match-p errors * lisp/emacs-lisp/debug.el (debug): Bind inhibit-changing-match-data to nil so that debugger code that needs to do regexp match won't break (Bug #23949, Bug #24166, Bug#16294). --- lisp/emacs-lisp/debug.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 22a3f39..22f86e4 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -177,6 +177,7 @@ debug (or enable-recursive-minibuffers (> (minibuffer-depth) 0))) (standard-input t) (standard-output t) inhibit-redisplay + inhibit-changing-match-data (cursor-in-echo-area nil) (window-configuration (current-window-configuration))) (unwind-protect -- 2.8.0 --=-=-=--