all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alan Mackenzie <acm@muc.de>
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, 01 Nov 2018 22:18:40 +0200	[thread overview]
Message-ID: <83bm78h7q7.fsf@gnu.org> (raw)
In-Reply-To: <20181101195918.GD4504@ACM> (message from Alan Mackenzie on Thu,  1 Nov 2018 19:59:18 +0000)

> Date: Thu, 1 Nov 2018 19:59:18 +0000
> Cc: darkfeline@felesatra.moe, gazally@runbox.com, 33201@debbugs.gnu.org
> From: Alan Mackenzie <acm@muc.de>
> 
> 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.]

I understand, but why does this make it a "major" problem?  The only
major problem in Edebug I could understand is if Edebug could not be
used at all in some popular situation.  FWIW, I never set
edebug-unwrap-results non-nil, and I'm a happy "Edebugger".

> > 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?

That's one thing; the other is why do we need to change edebug-unwrap1
as well?  AFAIU, that takes care of a separate issue, right?





  reply	other threads:[~2018-11-01 20:18 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
2018-11-01 20:18             ` Eli Zaretskii [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bm78h7q7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=33201@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=darkfeline@felesatra.moe \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.