all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Helmut Eller <eller.helmut@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 42691@debbugs.gnu.org
Subject: bug#42691: 28.0.50; eval-and-compile
Date: Mon, 03 Aug 2020 14:55:43 +0200	[thread overview]
Message-ID: <m2imdzlwhc.fsf@gmail.com> (raw)
In-Reply-To: <87v9i0os07.fsf@igel.home> (Andreas Schwab's message of "Mon, 03 Aug 2020 14:04:08 +0200")

On Mon, Aug 03 2020, Andreas Schwab wrote:

> On Aug 03 2020, Helmut Eller wrote:
>
>> Are you saying this is not a bug in eval-and-compile?
>
> Yes.
>
>> The docstring of eval-and-compile says eval-and-compile is like progn,
>> except that the body it is evaluated at compile-time too.  If it is
>> supposed to work like progn, then the environment should be defined as
>> for progn.
>
> At runtime, yes.

So you are arguing, that the body should be evaluated and macro-expanded
in the null environment.  That's not like progn at all.  Obviously, I
disagree.  I also note that

  emacs -Q --batch -l bug.el

prints:

  Eager macro-expansion failure: (void-function foo)
  Eager macro-expansion failure: (void-function foo)
  Symbol’s function definition is void: foo

which I also consider a bug.

Helmut





  reply	other threads:[~2020-08-03 12:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-03  7:57 bug#42691: 28.0.50; eval-and-compile Helmut Eller
2020-08-03  9:29 ` Andreas Schwab
2020-08-03 10:27   ` Helmut Eller
2020-08-03 12:04     ` Andreas Schwab
2020-08-03 12:55       ` Helmut Eller [this message]
2020-08-03 13:16         ` Andreas Schwab
2021-09-16 15:01       ` 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=m2imdzlwhc.fsf@gmail.com \
    --to=eller.helmut@gmail.com \
    --cc=42691@debbugs.gnu.org \
    --cc=schwab@linux-m68k.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.