all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Sebastian Miele <sebastian.miele@gmail.com>
Cc: 34233@debbugs.gnu.org, Stefan Monnier <monnier@IRO.UMontreal.CA>
Subject: bug#34233: 27.0.50; defvar in comment
Date: Tue, 09 Jul 2019 20:11:25 +0200	[thread overview]
Message-ID: <87o923qdrm.fsf@mouse.gnus.org> (raw)
In-Reply-To: <CA+ABrMy=U2Yrh0AWJ3g-JqAkr-wEStqC-s0226nLHziuq8j3Ow@mail.gmail.com> (Sebastian Miele's message of "Mon, 28 Jan 2019 09:51:32 +0100")

Sebastian Miele <sebastian.miele@gmail.com> writes:

> ;; Start ./src/emacs -Q, put this into *scratch*, do not remove this
> ;; "(defvar x)" in this comment, and C-x C-e the following two
> ;; expressions in turn:
> ;;
> (setq lexical-binding t)
> (let ((x 42)) (lambda () x))
> ;;
> ;; Value: (closure (x t) nil x)
> ;; Expected: (closure ((x . 42) t) nil x)

I can confirm that this bug is still present.

Stefan, do you know what's going on here?  That a commented-out (defvar)
before the eval-ed form has any effect is rather surprising...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-07-09 18:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-28  8:51 bug#34233: 27.0.50; defvar in comment Sebastian Miele
2019-07-09 18:11 ` Lars Ingebrigtsen [this message]
2019-07-09 18:49   ` Michael Heerdegen
2019-07-10 11:42     ` Lars Ingebrigtsen
2019-07-10 11:49       ` Noam Postavsky
2019-07-11 13:45         ` Lars Ingebrigtsen
2019-07-14  1:42           ` Noam Postavsky
2019-07-10 21:17       ` Michael Heerdegen

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=87o923qdrm.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=34233@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=sebastian.miele@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.