GNU bug report logs - #42691
28.0.50; eval-and-compile

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Mon, 3 Aug 2020 07:58:02 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Helmut Eller <eller.helmut <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; eval-and-compile
Date: Mon, 03 Aug 2020 09:57:20 +0200
Compiling this example:

  (require 'cl-lib)
  (cl-macrolet ((foo () '123))
    (eval-and-compile (foo)))

with

  emacs -Q --batch -f batch-byte-compile bug.el

prints:

  In toplevel form:
  bug.el:2:1: Error: Symbol’s function definition is void: foo

I think when compiling eval-and-compile the macro-environment is not
passed along properly.


In GNU Emacs 28.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0)
 of 2020-08-03 built on caladan
Repository revision: e1f09607e02eb507b229285ed48b85a3c6a50259
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)





This bug report was last modified 3 years and 305 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.