all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Dustin Lacewell <dlacewell@gmail.com>
Cc: 43938@debbugs.gnu.org
Subject: bug#43938: 28.0.50; Wrong lexical environment for (eval) under edebug
Date: Mon, 12 Oct 2020 08:10:27 +0200	[thread overview]
Message-ID: <87d01okm98.fsf@web.de> (raw)
In-Reply-To: <CAMDmBpGOvmahKpRoju9MY_YZoDFzkEEaztLFnocNipS5aB2Amw@mail.gmail.com> (Dustin Lacewell's message of "Sun, 11 Oct 2020 22:21:34 -0500")

Hello Dustin,

> The following forms work, but not under edebug:
>
> (let ((forms '(`(message ,msg)))
>       (msg "hello"))
>   (seq-map 'eval forms))

I evaluated (require 'seq) and copied the above snipped into *scratch*
and evaluated the form with C-x C-e and got

| Symbol's value as variable is void: msg

With edebug I get the same:

| edebug-signal: Symbol’s value as variable is void: msg

When I set lexical-binding to nil in *scratch*, the form is evaluated
without error in both cases.

I which way(s) did you evaluate the form?  Was it maybe with lexical
binding off in one case?

Thanks,

Michael.





  reply	other threads:[~2020-10-12  6:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12  3:21 bug#43938: 28.0.50; Wrong lexical environment for (eval) under edebug Dustin Lacewell
2020-10-12  6:10 ` Michael Heerdegen [this message]
2021-01-27  5:35   ` Lars Ingebrigtsen

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=87d01okm98.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=43938@debbugs.gnu.org \
    --cc=dlacewell@gmail.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.