From: Alan Mackenzie <acm@muc.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gazally@runbox.com, 33201@debbugs.gnu.org, darkfeline@felesatra.moe
Subject: bug#33201: 26.1; Edebug doesn't work on closures with edebug-unwrap-results
Date: Thu, 1 Nov 2018 19:59:18 +0000 [thread overview]
Message-ID: <20181101195918.GD4504@ACM> (raw)
In-Reply-To: <83sh0khdf6.fsf@gnu.org>
Hello, Eli.
On Thu, Nov 01, 2018 at 20:15:41 +0200, Eli Zaretskii wrote:
> > Date: Thu, 1 Nov 2018 10:00:56 +0000
> > From: Alan Mackenzie <acm@muc.de>
> > 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?
Well, it's a major problem for the OP, at the very least. ;-)
It seems like in Emacs 26.1 edebug can't be reliably used with
edebug-unwrap-results non-nil because there's always a chance it will
encounter the symbol `closure', at which point it errors out.
[`closure' is wierd, because it has a meaning, yet has none of a
function, a value, a property list.]
> > @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'.
OK. How about me doing a simpler, but less lazy fix which would just
add handling of `closure' into the existing cond form?
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2018-11-01 19:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-30 6:49 bug#33201: 26.1; Edebug doesn't work on closures with edebug-unwrap-results Allen Li
[not found] ` <mailman.3074.1540882208.1284.bug-gnu-emacs@gnu.org>
2018-10-31 15:06 ` Alan Mackenzie
2018-11-01 3:53 ` Allen Li
2018-11-01 10:00 ` Alan Mackenzie
2018-11-01 18:15 ` Eli Zaretskii
2018-11-01 19:59 ` Alan Mackenzie [this message]
2018-11-01 20:18 ` Eli Zaretskii
2018-11-01 23:06 ` Gemini Lasswell
2018-11-02 7:13 ` Allen Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181101195918.GD4504@ACM \
--to=acm@muc.de \
--cc=33201@debbugs.gnu.org \
--cc=darkfeline@felesatra.moe \
--cc=eliz@gnu.org \
--cc=gazally@runbox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).