From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33201: 26.1; Edebug doesn't work on closures with edebug-unwrap-results Date: Thu, 01 Nov 2018 20:15:41 +0200 Message-ID: <83sh0khdf6.fsf@gnu.org> References: <20181031150627.67149.qmail@mail.muc.de> <20181101100056.GA4504@ACM> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1541096106 29284 195.159.176.226 (1 Nov 2018 18:15:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Nov 2018 18:15:06 +0000 (UTC) Cc: gazally@runbox.com, 33201@debbugs.gnu.org, darkfeline@felesatra.moe To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 01 19:15:01 2018 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 1gIHUj-0007Uv-Fb for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Nov 2018 19:15:01 +0100 Original-Received: from localhost ([::1]:43427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIHWp-0001yx-Jj for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Nov 2018 14:17:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIHWj-0001yY-B8 for bug-gnu-emacs@gnu.org; Thu, 01 Nov 2018 14:17:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIHWg-0000Xi-7A for bug-gnu-emacs@gnu.org; Thu, 01 Nov 2018 14:17:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54499) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gIHWg-0000XT-04 for bug-gnu-emacs@gnu.org; Thu, 01 Nov 2018 14:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gIHWf-0008Ah-Q7 for bug-gnu-emacs@gnu.org; Thu, 01 Nov 2018 14:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Nov 2018 18:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33201 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33201-submit@debbugs.gnu.org id=B33201.154109617631352 (code B ref 33201); Thu, 01 Nov 2018 18:17:01 +0000 Original-Received: (at 33201) by debbugs.gnu.org; 1 Nov 2018 18:16:16 +0000 Original-Received: from localhost ([127.0.0.1]:58757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gIHVv-00089c-Ju for submit@debbugs.gnu.org; Thu, 01 Nov 2018 14:16:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gIHVt-00089O-HC for 33201@debbugs.gnu.org; Thu, 01 Nov 2018 14:16:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIHVl-0008G5-7L for 33201@debbugs.gnu.org; Thu, 01 Nov 2018 14:16:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIHVj-0008Ee-8i; Thu, 01 Nov 2018 14:16:05 -0400 Original-Received: from [176.228.60.248] (port=3716 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gIHVh-0001GJ-ED; Thu, 01 Nov 2018 14:16:03 -0400 In-reply-to: <20181101100056.GA4504@ACM> (message from Alan Mackenzie on Thu, 1 Nov 2018 10:00:56 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:151905 Archived-At: > Date: Thu, 1 Nov 2018 10:00:56 +0000 > From: Alan Mackenzie > Cc: 33201@debbugs.gnu.org > > > > This fix could probably be backported to the emacs-26 branch, but how > > > important is it? What were you actually trying to do when you uncovered > > > this bug? > > > I don't remember. I have encountered this error multiple times before > > and given up debugging something. Since one generally runs into bugs > > when doing work (that is not hacking on Emacs itself), it's helpful to > > be able to debug with minimal obstruction, otherwise it becomes an > > unjustifiable distraction from the main task. > > OK, it sounds like it's a major problem. It does? Why? > @Gemini: The patch below is a (small) portion of > e09120d68694272ea5efbe13b16936b4382389d8 from 2018-06-19, the commit that > introduced Backtrace Mode. Can you see anything against applying this > commit to the emacs-26 branch to fix this bug? I can: it's quite complex, and even includes gratuitous refactoring of 'cond' as 'pcase'.