all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Allen Li <darkfeline@felesatra.moe>
To: 33201@debbugs.gnu.org
Subject: bug#33201: 26.1; Edebug doesn't work on closures with edebug-unwrap-results
Date: Mon, 29 Oct 2018 23:49:21 -0700	[thread overview]
Message-ID: <CADbSrJypLLWO1eJGqV9bgykAsMp4th+mWcemxx8yCR-QvbJ1Mw@mail.gmail.com> (raw)

Reproduce:

1. emacs -Q
2. Evaluate in *scratch*:

(setq edebug-unwrap-results t)

(defun foobar (x)
  (funcall x))

3. Evaluate to confirm it works:

(foobar '(closure ((x . 5) t) nil x))

4. Instrument foobar (C-u C-M-x with point on defun).
5. Evaluate:

(foobar '(closure ((x . 5) t) nil x))

5. Step through with SPC

Expected:

Evaluates to 5 with no error

Actual:

edebug-signal: Wrong type argument: listp, 5

In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-07-05 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.12003000





             reply	other threads:[~2018-10-30  6:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-30  6:49 Allen Li [this message]
     [not found] ` <mailman.3074.1540882208.1284.bug-gnu-emacs@gnu.org>
2018-10-31 15:06   ` bug#33201: 26.1; Edebug doesn't work on closures with edebug-unwrap-results 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
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=CADbSrJypLLWO1eJGqV9bgykAsMp4th+mWcemxx8yCR-QvbJ1Mw@mail.gmail.com \
    --to=darkfeline@felesatra.moe \
    --cc=33201@debbugs.gnu.org \
    /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.