GNU logs - #52147, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52147: Eager macro-expansion is not performed in `eval-and-compile' functions
Resent-From: Paul Pogonyshev <pogonyshev@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 27 Nov 2021 19:38:01 +0000
Resent-Message-ID: <handler.52147.B.163804183922028 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 52147
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 52147 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.163804183922028
          (code B ref -1); Sat, 27 Nov 2021 19:38:01 +0000
Received: (at submit) by debbugs.gnu.org; 27 Nov 2021 19:37:19 +0000
Received: from localhost ([127.0.0.1]:34552 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mr3Vf-0005jE-2b
	for submit <at> debbugs.gnu.org; Sat, 27 Nov 2021 14:37:19 -0500
Received: from lists.gnu.org ([209.51.188.17]:60560)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pogonyshev@HIDDEN>) id 1mr3Vd-0005j7-Qj
 for submit <at> debbugs.gnu.org; Sat, 27 Nov 2021 14:37:18 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50358)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pogonyshev@HIDDEN>)
 id 1mr3Vd-0007Ra-GS
 for bug-gnu-emacs@HIDDEN; Sat, 27 Nov 2021 14:37:17 -0500
Received: from [2a00:1450:4864:20::529] (port=34365
 helo=mail-ed1-x529.google.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <pogonyshev@HIDDEN>)
 id 1mr3Vb-0000Cu-Pc
 for bug-gnu-emacs@HIDDEN; Sat, 27 Nov 2021 14:37:17 -0500
Received: by mail-ed1-x529.google.com with SMTP id x15so53357542edv.1
 for <bug-gnu-emacs@HIDDEN>; Sat, 27 Nov 2021 11:37:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:from:date:message-id:subject:to;
 bh=K4IjxPxIjn+GPCOExKC78RjmkM5OfXZTBh7NKwlAsZo=;
 b=jnOeQsWOnDs8zVETjIuCL3mveIOUBsn11MAkGzsSKR3JF4JoATZkVlocncUFJz8Hwh
 lg4gYD3Yxt7ruhQxeLKNJg/T3/1uggYK7EgrYpS7lXqXW9q5evk9IeN+A3gsj1/UsoqU
 diZQUxaRHMAiX7Pkdy1DJd09RkXouGxPDqzp9k8+6QTyFkUgqUD5FZ6ZRvFfFvkSsgHn
 Li1+qyS76YnzOogDOdghBqteoI4cVcI/svt2UCuuUyZkCadt58QQaQoZo8L+OOct61nj
 G6hTPKK4+cOA5pDhcyA70GQ76vWHi7yD8Bbevm2gLfoHLlcDOvYdzTwdbvpW8tCl6jVc
 ip+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=K4IjxPxIjn+GPCOExKC78RjmkM5OfXZTBh7NKwlAsZo=;
 b=Fd/EzdHNiqDq3QbKxMjvbhpI6+ig4x6onC5oWlTQzM9Cesck1NPrx5ra44tyRaK3ED
 uN1DTv0jlm9mqKi1sTkV4YZI2xYoBGz6RFrlLlRtrdh4M1VcdRp00DVha/jfMZWulqno
 V8feJkB1FdVYyn6HVFm2zuGhheN5P4NxWDPUhg+C+mm+XOWlavJtIlLCdZZTUli5l9II
 fdvpH/gfnW6S4Fhz7FiZy6Zyrj0TsL/jHFLp4Ea1HLVE+7C1FHQErbmsmK1sbYkIcYFM
 paDGwUZwEH4tW8cJGF/Zr7eyILOhwUuDCQceqT3F/tHp+P41Y+kt8q4nEngLpdL4VtM3
 ccpQ==
X-Gm-Message-State: AOAM533/ojAx5u27t5J814MRPlUtQzycOAP1mPuvhkcwMIxXgRzmFQz7
 Ngwsmq2ybr+uuPJraSIN9sg0WPBJFkZWH43mNwfIA3Vkkw==
X-Google-Smtp-Source: ABdhPJxlN134+I6brGEThXRAHI0VNomDIj1UNOGIDBO+ruwenfZd+X8vHknsbz1lV7LLzpzE1lPwdu4BGomGeR43Fcc=
X-Received: by 2002:a17:907:96aa:: with SMTP id
 hd42mr50663510ejc.385.1638041832865; 
 Sat, 27 Nov 2021 11:37:12 -0800 (PST)
MIME-Version: 1.0
From: Paul Pogonyshev <pogonyshev@HIDDEN>
Date: Sat, 27 Nov 2021 20:37:01 +0100
Message-ID: <CAG7BpaqS9BZJ2BQO=0bx1FLQBvyJa9uQAZftg+q1ZzO3-Eydgg@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000093419605d1ca55af"
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::529
 (failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::529;
 envelope-from=pogonyshev@HIDDEN; helo=mail-ed1-x529.google.com
X-Spam_score_int: 6
X-Spam_score: 0.6
X-Spam_bar: /
X-Spam_report: (0.6 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
 RDNS_NONE=0.793, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--00000000000093419605d1ca55af
Content-Type: text/plain; charset="UTF-8"

Simple code to demonstrate this:

;; -*- lexical-binding: t -*-

(defmacro my-macro (x)
  `,x)

(eval-and-compile
  (defun my-func-eac (what)
    (my-macro what)))

(defun my-func-normal (what)
  (my-macro what))

(print (symbol-function 'my-func-eac))
(print (symbol-function 'my-func-normal))

`eval-and-compile' is advertised in Elisp manual to make byte-compilation
of certain macros without prior loading possible. Looks strange that at the
same time it can worsen performance of non-byte-compiled code.

Paul

--00000000000093419605d1ca55af
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Simple code to demonstrate this:</div><div><br></div>=
;; -*- lexical-binding: t -*-<br><br>(defmacro my-macro (x)<br>=C2=A0 `,x)<=
br><br>(eval-and-compile<br>=C2=A0 (defun my-func-eac (what)<br>=C2=A0 =C2=
=A0 (my-macro what)))<br><br>(defun my-func-normal (what)<br>=C2=A0 (my-mac=
ro what))<br><br>(print (symbol-function &#39;my-func-eac))<br>(print (symb=
ol-function &#39;my-func-normal))<br><div><br></div><div>`eval-and-compile&=
#39; is advertised in Elisp manual to make byte-compilation of certain macr=
os without prior loading possible. Looks strange that at the same time it c=
an worsen performance of non-byte-compiled code.</div><div><br></div><div>P=
aul</div></div>

--00000000000093419605d1ca55af--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Paul Pogonyshev <pogonyshev@HIDDEN>
Subject: bug#52147: Acknowledgement (Eager macro-expansion is not
 performed in `eval-and-compile' functions)
Message-ID: <handler.52147.B.163804183922028.ack <at> debbugs.gnu.org>
References: <CAG7BpaqS9BZJ2BQO=0bx1FLQBvyJa9uQAZftg+q1ZzO3-Eydgg@HIDDEN>
X-Gnu-PR-Message: ack 52147
X-Gnu-PR-Package: emacs
Reply-To: 52147 <at> debbugs.gnu.org
Date: Sat, 27 Nov 2021 19:38:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 52147 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
52147: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D52147
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52147: Eager macro-expansion is not performed in `eval-and-compile' functions
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 28 Nov 2021 10:31:02 +0000
Resent-Message-ID: <handler.52147.B52147.163809543415592 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52147
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Paul Pogonyshev <pogonyshev@HIDDEN>
Cc: 52147 <at> debbugs.gnu.org
Received: via spool by 52147-submit <at> debbugs.gnu.org id=B52147.163809543415592
          (code B ref 52147); Sun, 28 Nov 2021 10:31:02 +0000
Received: (at 52147) by debbugs.gnu.org; 28 Nov 2021 10:30:34 +0000
Received: from localhost ([127.0.0.1]:35013 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mrHS6-00043Q-K1
	for submit <at> debbugs.gnu.org; Sun, 28 Nov 2021 05:30:34 -0500
Received: from mout.web.de ([212.227.17.11]:34105)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1mrHS0-000438-Hr
 for 52147 <at> debbugs.gnu.org; Sun, 28 Nov 2021 05:30:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1638095421;
 bh=W+x9JqA9SBhcE6gcW6BcJQAYfXnHq+DlcGFH0B4WXRg=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=ZdCGQDyDZmA5MSJ43EgPMM9Mep7p9FnLhbX4WvXlg8UxXThtNwXU1NkZn6vTeFS3D
 LJgL5Sic/zWsF8f/sejkJvvDQ4bbAPiM2c3fmeMzWlOLR/yiaJRZIiw47rrUqX9iOA
 ZejeD6flZmrrZ680rXLS0DAE4/wCyr13MHL4s7jo=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([92.208.225.87]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mdf8F-1mHwlQ3Ksr-00ZCoH; Sun, 28
 Nov 2021 11:30:21 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAG7BpaqS9BZJ2BQO=0bx1FLQBvyJa9uQAZftg+q1ZzO3-Eydgg@HIDDEN>
Date: Sun, 28 Nov 2021 11:30:20 +0100
In-Reply-To: <CAG7BpaqS9BZJ2BQO=0bx1FLQBvyJa9uQAZftg+q1ZzO3-Eydgg@HIDDEN>
 (Paul Pogonyshev's message of "Sat, 27 Nov 2021 20:37:01 +0100")
Message-ID: <87czmk7etf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:sQiD7cMYnK3clXoY7bbLNlH0FiI373QkwJhtcWMKkBwaXTrD7ty
 jh890kKo9tWRnrgYf4Mb8B8EjbQWMRwzy9P+0v4IBWQY38WWw4BmQE1swj/Nqn2ODbfsnJg
 TTLMzmIrVxEeN4uf4IKZtObPyb9Hy6X8BKMgK3AE3xlqtaKYfLuqTrYeM2jg+Y7hmvLkQcI
 mfcTd4HcoiI3z5Uv+lzSA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:xg9PByccIc4=:HhMxAdh5qzGzrhhmcWUPhr
 jqunEzASwoyHeqAwXmdXOy1O43MRXOUE7KPbZGU4FsSfXafxx8wRtXg+wqV2ezUM2DRWXOrfS
 ShmtMEe/SkYzRVQ0X0VI39DFiZVh3jwdBXEh2klr4IzttApzIU+4f72Dj9QVJl38+OBn66UR8
 ViPmUjqm2clOxjysISc9rpdEmfciU1Yd8aNQRWQzwax6bDWyR9145rkWME9QlVN+Ex58oDrWn
 SRMTeBa30uiDq0yfjTH/wb+4EARACDiSIoWHAnudqpWoBnYeHRJqBThGo4/DnKfEh90zdQpu+
 rpAoQDvBIqqZdYaXBVddtNZI6or6O9Dh2h1eRr6NZ+dQ71HZmafCzTMf7AY2xLL6c83sZUftu
 RKeCwNwFp4EovYyqNvN412nE8NytQC3pwpc5CkjxDJT5DAFvh5oHQBI5Xd2neT0nGjrG4Wqy5
 KQQrTqSM46zGljPFOGpBOMKV8M0Yx23W5fFdgFCQoKtSBJdDaklLisMCKbCD1lZsgXr+rnEEl
 CKUU5zCVb4Z3XkxFPoQ274vAxpCUQwFREiR4kW6QDpwegDHLOar5oOt+1sxhYdjnzMGlqc6lO
 +spONi/AJ7H3QhePDgjTw/Be4XXvcVyXcDU1KnW2qAPa8fw1pKjYd7dICnxdQ6NOZQ5b5vF6d
 NLwUJrrs/khXy/M3WZFnGZVUmmL9SZodfzPsdKb1bKQEo7VkCbcNXQ32QnOQCFtzovFTvBoPX
 UEaMPxi3iiVtBV4yGXUawoyc0Io7v6IIlJ2qcE9ZMbRjnepq94SiSqr25NxZBoHhHZZvsodO4
 5GDtI5Ff4Oy992O4rje5CFszMHGUQQdqvATIJ1NwYlRZD0NIVkpkhmLn77dPuZ7uxtYF+O+5E
 FpR1vdFI8Pzbpl2Xs6pah6UWQJKF3UjhPD/KmxOgx5QsVQZMEvQSI516CFkHlAgeRhT8ToDIB
 1+qJZ9qkwTgh1Wtljgw2UxvBuwnDjxtw1059QLx64k0k0DZiseItq2cY13RDJO9f9vd3zxQYQ
 z18iv7h8jPRMbGQliLY5a9JiWFHZkxKVYhYjYXRT+zqhndP4Guwtf4SCr8/d3MoGVPOJtpCja
 vO+WOtFZY4CAsA=
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello Paul,

> (eval-and-compile
>   (defun my-func-eac (what)
>     (my-macro what)))
>
> (defun my-func-normal (what)
>   (my-macro what))
>
> (print (symbol-function 'my-func-eac))
> (print (symbol-function 'my-func-normal))
>
> `eval-and-compile' is advertised in Elisp manual to make
> byte-compilation of certain macros without prior loading
> possible. Looks strange that at the same time it can worsen
> performance of non-byte-compiled code.

Is the issue you want to draw attention to that an interpreted
`eval-and-compile' form doesn't macroexpand its body?

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52147: Eager macro-expansion is not performed in `eval-and-compile' functions
Resent-From: Paul Pogonyshev <pogonyshev@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 28 Nov 2021 21:55:01 +0000
Resent-Message-ID: <handler.52147.B52147.163813645021308 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52147
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: 52147 <at> debbugs.gnu.org
Received: via spool by 52147-submit <at> debbugs.gnu.org id=B52147.163813645021308
          (code B ref 52147); Sun, 28 Nov 2021 21:55:01 +0000
Received: (at 52147) by debbugs.gnu.org; 28 Nov 2021 21:54:10 +0000
Received: from localhost ([127.0.0.1]:36484 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mrS7e-0005Xa-7e
	for submit <at> debbugs.gnu.org; Sun, 28 Nov 2021 16:54:10 -0500
Received: from mail-ed1-f54.google.com ([209.85.208.54]:40628)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pogonyshev@HIDDEN>) id 1mrS7c-0005XO-UI
 for 52147 <at> debbugs.gnu.org; Sun, 28 Nov 2021 16:54:09 -0500
Received: by mail-ed1-f54.google.com with SMTP id r25so63444138edq.7
 for <52147 <at> debbugs.gnu.org>; Sun, 28 Nov 2021 13:54:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=XEviDth6bTomFGQReKp21zcZQ4XsWwnkto1xiKlf53Q=;
 b=ADyqeqbvbIwk1sVyIRAr8z/+KrMOf6vcEq+FcBHe5PCr5mYFaEsDClDIy8cE9A9sIj
 C9vbYRjbGMXgHuXAGyK9EbbET9bQxdogmJjbZOowDg+LiKAEvaLw7EpwXciC77PtU/hF
 hECXPVW/l/4S92HzEyMUgRi7+pTIPC2mtfy+USuU1r8BPoGykEvrRuUjOAds0zS2Uz2H
 ZmsKHfqL2NtfAOCDzy1n5B2U8PYL/cRm8aP4rD7S0l1JSh8ix2FAsDUERNIA0u+HI3s+
 jQyOfrjL49okNL5N2yxCdh/6faxAI7Ujq9AmyVWh5CU4yqSG++w3rMyn4sww6kvi1D7f
 rIFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=XEviDth6bTomFGQReKp21zcZQ4XsWwnkto1xiKlf53Q=;
 b=m7YJZ5Hykg/jwiLrbOhntP7ENNCAFwukEwE+bZI/jwXIZBJd5Iso3FfQ5ts4R33Rmu
 zrLJWev17XBg5jrCYAXa2cwCF+D/8vUttAPAS3bVydgkbPCAR0TowiOSFVD4ONUJpc+S
 luhv4M0m9Egf7ZoO66x0HKkRZTJKqCQwZE+s2L6INGdm7JEpBvDb3K8MsixBWRqCeZoW
 epFFoa/gIj36Okpa5RCPYwcseO209lZCkb/OB/gHdQpvRYEvmpxti4B1aE8t9uCFEY2V
 cbXZoViIQD0V3o+jCcv7M+pnwQTaxb9YLWQ+doKPHWvW39k6rCDqdGtNQQ5yQFuYz7pQ
 4nbA==
X-Gm-Message-State: AOAM530EnsQPeNuYdL2FrlNp77X5cIB1A2CpU4RwwwZ2I7vXcQrhP0n+
 sOw0Kqi0NFrGbnhVtUHj1QLaYhYO5EBfVCMFMA==
X-Google-Smtp-Source: ABdhPJxkYmqkgNxmmoYRDmlX1WBt7ZCpVvqJ6dBIK3utINPfDbsC72d5rMoyD01tOmEFm8PCy4MFS1cU+k93Yfwbi0k=
X-Received: by 2002:a05:6402:3488:: with SMTP id
 v8mr68201777edc.398.1638136442847; 
 Sun, 28 Nov 2021 13:54:02 -0800 (PST)
MIME-Version: 1.0
References: <CAG7BpaqS9BZJ2BQO=0bx1FLQBvyJa9uQAZftg+q1ZzO3-Eydgg@HIDDEN>
 <87czmk7etf.fsf@HIDDEN>
In-Reply-To: <87czmk7etf.fsf@HIDDEN>
From: Paul Pogonyshev <pogonyshev@HIDDEN>
Date: Sun, 28 Nov 2021 22:53:52 +0100
Message-ID: <CAG7Bpao6RvRpY07KW8wg49Ha0Z_GvVtaF=r_XY_ptq7SL0wdqw@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000c5088d05d1e05c29"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000c5088d05d1e05c29
Content-Type: text/plain; charset="UTF-8"

That's what the subject says. I know that it works regardless, but the
performance suffers, especially if the used macros are complex.

Paul

On Sun, 28 Nov 2021 at 11:30, Michael Heerdegen <michael_heerdegen@HIDDEN>
wrote:

> Hello Paul,
>
> > (eval-and-compile
> >   (defun my-func-eac (what)
> >     (my-macro what)))
> >
> > (defun my-func-normal (what)
> >   (my-macro what))
> >
> > (print (symbol-function 'my-func-eac))
> > (print (symbol-function 'my-func-normal))
> >
> > `eval-and-compile' is advertised in Elisp manual to make
> > byte-compilation of certain macros without prior loading
> > possible. Looks strange that at the same time it can worsen
> > performance of non-byte-compiled code.
>
> Is the issue you want to draw attention to that an interpreted
> `eval-and-compile' form doesn't macroexpand its body?
>
> Michael.
>

--000000000000c5088d05d1e05c29
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">That&#39;s what the subject says. I know that it works reg=
ardless, but the performance suffers, especially if the used macros are com=
plex.<div><br></div><div>Paul</div></div><br><div class=3D"gmail_quote"><di=
v dir=3D"ltr" class=3D"gmail_attr">On Sun, 28 Nov 2021 at 11:30, Michael He=
erdegen &lt;<a href=3D"mailto:michael_heerdegen@HIDDEN" target=3D"_blank">m=
ichael_heerdegen@HIDDEN</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex">Hello Paul,<br>
<br>
&gt; (eval-and-compile<br>
&gt;=C2=A0 =C2=A0(defun my-func-eac (what)<br>
&gt;=C2=A0 =C2=A0 =C2=A0(my-macro what)))<br>
&gt;<br>
&gt; (defun my-func-normal (what)<br>
&gt;=C2=A0 =C2=A0(my-macro what))<br>
&gt;<br>
&gt; (print (symbol-function &#39;my-func-eac))<br>
&gt; (print (symbol-function &#39;my-func-normal))<br>
&gt;<br>
&gt; `eval-and-compile&#39; is advertised in Elisp manual to make<br>
&gt; byte-compilation of certain macros without prior loading<br>
&gt; possible. Looks strange that at the same time it can worsen<br>
&gt; performance of non-byte-compiled code.<br>
<br>
Is the issue you want to draw attention to that an interpreted<br>
`eval-and-compile&#39; form doesn&#39;t macroexpand its body?<br>
<br>
Michael.<br>
</blockquote></div>

--000000000000c5088d05d1e05c29--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52147: Eager macro-expansion is not performed in `eval-and-compile' functions
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 29 Nov 2021 15:46:02 +0000
Resent-Message-ID: <handler.52147.B52147.16382007063132 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52147
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Paul Pogonyshev <pogonyshev@HIDDEN>
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 52147 <at> debbugs.gnu.org
Received: via spool by 52147-submit <at> debbugs.gnu.org id=B52147.16382007063132
          (code B ref 52147); Mon, 29 Nov 2021 15:46:02 +0000
Received: (at 52147) by debbugs.gnu.org; 29 Nov 2021 15:45:06 +0000
Received: from localhost ([127.0.0.1]:38978 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mriq2-0000o2-5V
	for submit <at> debbugs.gnu.org; Mon, 29 Nov 2021 10:45:06 -0500
Received: from quimby.gnus.org ([95.216.78.240]:59416)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1mriq0-0000ja-62
 for 52147 <at> debbugs.gnu.org; Mon, 29 Nov 2021 10:45:04 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=MS7VtRORf4/P+zsVtkQbAU9+KOePuut/ZYOs+ggvDYc=; b=f9EH8Hg4NXMOdmhmG3pjKBYXjN
 iwakoEP8P/CypfRVOzNENmououclzTp25UqN99FfHAh+QuY1Xu0M/vYrmXYLBZ1KJGkvPnKVg38kv
 JicM2b4HSyYABqcH08T7DYXQPq2hxxMCTBAN1w55GGXHIraeGK8CZ9lY/uo35kaVSdOs=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mripr-0005lm-1y; Mon, 29 Nov 2021 16:44:58 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAG7BpaqS9BZJ2BQO=0bx1FLQBvyJa9uQAZftg+q1ZzO3-Eydgg@HIDDEN>
 <87czmk7etf.fsf@HIDDEN>
 <CAG7Bpao6RvRpY07KW8wg49Ha0Z_GvVtaF=r_XY_ptq7SL0wdqw@HIDDEN>
X-Now-Playing: Mia Doi Todd's _Music Life_: "Little Bird (feat. Fabiano do
 Nascimento & Miguel Atwood-Ferguson)"
Date: Mon, 29 Nov 2021 16:44:51 +0100
In-Reply-To: <CAG7Bpao6RvRpY07KW8wg49Ha0Z_GvVtaF=r_XY_ptq7SL0wdqw@HIDDEN>
 (Paul Pogonyshev's message of "Sun, 28 Nov 2021 22:53:52 +0100")
Message-ID: <87zgpnuft8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Paul Pogonyshev <pogonyshev@HIDDEN> writes: > Is the issue
 you want to draw attention to that an interpreted > `eval-and-compile' form
 doesn't macroexpand its body? > That's what the subject says. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Paul Pogonyshev <pogonyshev@HIDDEN> writes:

 > Is the issue you want to draw attention to that an interpreted
 > `eval-and-compile' form doesn't macroexpand its body?

> That's what the subject says.

Well, not exactly -- it doesn't say anything about the code being
interpreted.

> I know that it works regardless, but the
> performance suffers, especially if the used macros are complex.

We usually don't stress a lot about the performance of interpreted
(i.e., uncompiled) code.  Does this have a performance impact on
byte-compiled code?

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




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 29 Nov 2021 15:45:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 29 10:45:13 2021
Received: from localhost ([127.0.0.1]:38981 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mriq9-0000vr-Hb
	for submit <at> debbugs.gnu.org; Mon, 29 Nov 2021 10:45:13 -0500
Received: from quimby.gnus.org ([95.216.78.240]:59434)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1mriq7-0000og-St
 for control <at> debbugs.gnu.org; Mon, 29 Nov 2021 10:45:12 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=Gl+xTYOlCAHY4o1KfQshDolkkpv7u3ti1Qyf451OWi8=; b=r8wOqWQc19QbYaQzRMS8DReBk/
 hCyXFqrZH8HxU9T7ca/mgqV+iXjfQOWXCoY3UnAhQ+AdpxM72Aqy0qHNhO2zZsVSCiouwGVRbiZ1c
 4+J+KfLW3jSw2kS0p7lqhbkUPFUmvjaI9XUHE5thamRLhkdbAqLiiUbgwlqKC4hcqrzc=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1mripz-0005lz-I9
 for control <at> debbugs.gnu.org; Mon, 29 Nov 2021 16:45:06 +0100
Date: Mon, 29 Nov 2021 16:45:02 +0100
Message-Id: <87y257ufsx.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #52147
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  tags 52147 + moreinfo quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 52147 + moreinfo
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52147: Eager macro-expansion is not performed in `eval-and-compile' functions
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 29 Nov 2021 19:16:01 +0000
Resent-Message-ID: <handler.52147.B52147.16382133022551 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52147
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 52147 <at> debbugs.gnu.org, Paul Pogonyshev <pogonyshev@HIDDEN>
Received: via spool by 52147-submit <at> debbugs.gnu.org id=B52147.16382133022551
          (code B ref 52147); Mon, 29 Nov 2021 19:16:01 +0000
Received: (at 52147) by debbugs.gnu.org; 29 Nov 2021 19:15:02 +0000
Received: from localhost ([127.0.0.1]:39412 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mrm7C-0000f5-5I
	for submit <at> debbugs.gnu.org; Mon, 29 Nov 2021 14:15:02 -0500
Received: from mout.web.de ([212.227.15.4]:39395)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1mrm79-0000eI-VF
 for 52147 <at> debbugs.gnu.org; Mon, 29 Nov 2021 14:15:00 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1638213293;
 bh=JzsCyjYN0T7BbcCN8Sf4CkqcN0eRXpsQ4aKPn4w6VIY=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=A/X/JkeTciJ6poQopFrLWXeUJ0lIdc/1ttft8DLTWqofMX8jMwIgwaB948IIUmevd
 /Ql0hdP+9W7yH7lxY2JLs9iXz5oH/T9de97cEfW0vVkkvrcy25XIWSHc0lqCwYKvMS
 uIuIr8X3zikvDofnOLRQS52J3STQrtC7zPRPuh8w=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([92.208.225.87]) by smtp.web.de (mrweb006
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M5Qm1-1mqOfQ17av-001Gb8; Mon, 29
 Nov 2021 20:14:53 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
References: <CAG7BpaqS9BZJ2BQO=0bx1FLQBvyJa9uQAZftg+q1ZzO3-Eydgg@HIDDEN>
 <87czmk7etf.fsf@HIDDEN>
 <CAG7Bpao6RvRpY07KW8wg49Ha0Z_GvVtaF=r_XY_ptq7SL0wdqw@HIDDEN>
 <87zgpnuft8.fsf@HIDDEN>
Date: Mon, 29 Nov 2021 20:14:51 +0100
In-Reply-To: <87zgpnuft8.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Mon,
 29 Nov 2021 16:44:51 +0100")
Message-ID: <8735nen590.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:yNqEKRwcxFZGNfN9RxKiLEge5OP1lWIjxOoTLQgsFZP3veB5iHo
 79/YTq9ofYVhJECjm72cboRY+L3/Uc1vXE72/fmUPypDcq8N73v+pfbXeXo9HsXeeuh4fhu
 DrdUZaf7NkRRCCWzVGdjs/nCHh5FcWF6BUA90XTPmuL1LIDS06zuvMZL5Yb8r6jZppC4m9j
 pwHMi6BF3l2iNMBJie3wQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:JoxyuMkBrwM=:sEw1Ep59+pBk6SN2LwNOFR
 b3sGUoKMu5/7JeEzqY72CSvrTj0aLdRja9p8gGNgjFWQ6G0gXgqGDvNVtNtClyNlM4nqlb+Bm
 xccCcgqeF0fUGa7OJnvtGaBLuu5DYqhFan+YcwnmkNRE4FtRvQA96K7ypFMxIk2vtnaYU8y+d
 LWJi8XOeKy8gY0UfJiciUOe6WZjbZ1aanHlYjiSjAKGm2pje2iZH6qKdjdmitZOdU06iJxuwb
 pHVGlKATtJ5JcQ+22JK2VfFPqdlizuHofhdt0sSSDigJPuP52X4jRJInJ2aZtVSNj/aC+fkaD
 FHg/jrl6DSL/WyU4nlpj+1A/dNAVselkQDVr6qBonIy4FFOAFPkGO0kVbz8OkcbtcP86AjaVm
 geHS56ALB4WpoWZOc4iOwq2vRAHelCBjE/2PvOL9dXmK/DsIiQkqL76KpdSbrkZ/CmKWoHLV8
 nWkNlPBxy0NK4NuhYnQmGRKTJIb9Gde5+eaxxHcE4/jshV/7SgY4pyU5qmBymliTnZnjw7MZ+
 jvTiuJgVkVZXjF3WLaKu36DvKJARSSePjUFbDE+/tlXOhdVhwJ+9AhXU46YjTmbxhUqGwp4Ri
 XYIUzPmwuUhEsHKk0Jg5ce3ipi3etmPujBsklipn9Bq6YXpsV83aNYpVcOZrfah0IUzVRd/x5
 MkRr0k7JEG8LBvUshORh39GRVX0BrdMWHC4+VhuS2KOOFVo+hH0g+0t67E9Q+qLoKz7dEWtEq
 ZZftyHbzVR6YLH3/K6PzqiIOhY8ofWKVd9wBMh3Pfx9Kxew4fiNG6iADxqslUMOT8ndfxqPKs
 AX2BhDu4VTh/xUdEUIO7CvMNsloGD/Ztwknc9mlFtu4O0o5edi8Y6petmfWEXIMhiufc7b/RV
 vK0Bv0nzgBwxU1Ytip0xdxeo4L3kli94uvx8FjpKecTa3qKVftwgWAc3TTAxuagJIlHqttYlP
 fp7LiA2eelD19QFNIxsKVu1b4Ha55cmXOq//2XVQtfqT6uV1Mpd7QxWApdG5aCpSMEkDY5fNT
 2TFCRT+DIC3bnyBEwN1tcD/mFP04hdl/RKG1dLNfOcDh3iMBb7ywYwK4KCllntfwNkjByL1eT
 9sH+W4wr430FKI=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> We usually don't stress a lot about the performance of interpreted
> (i.e., uncompiled) code.

Well we do, a bit,

  (info "(elisp) How Programs Do Loading")

says that loading a file performs eager macro expansion and that does
speed up the resulting code.  `eval', `eval-when-compile' and
`eval-and-compile' don't perform eager macro expansion.  I don't know to
what degree this is on purpose.  But if a macro is defined later in the
file or in another file that has not yet been loaded this may not be
possible anyway.

Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52147: Eager macro-expansion is not performed in `eval-and-compile' functions
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Jan 2022 13:11:01 +0000
Resent-Message-ID: <handler.52147.B52147.164225224717889 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52147
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: 52147 <at> debbugs.gnu.org, Paul Pogonyshev <pogonyshev@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
Received: via spool by 52147-submit <at> debbugs.gnu.org id=B52147.164225224717889
          (code B ref 52147); Sat, 15 Jan 2022 13:11:01 +0000
Received: (at 52147) by debbugs.gnu.org; 15 Jan 2022 13:10:47 +0000
Received: from localhost ([127.0.0.1]:39402 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8ipT-0004eT-I9
	for submit <at> debbugs.gnu.org; Sat, 15 Jan 2022 08:10:47 -0500
Received: from quimby.gnus.org ([95.216.78.240]:49262)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1n8ipP-0004eA-8p
 for 52147 <at> debbugs.gnu.org; Sat, 15 Jan 2022 08:10:47 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=uHZpC1AYiKQBl0JhbICKfnoyNTJXBOfYPaWAaG4wRs0=; b=YnMNekon5z6yVqqSRGRO+fmmVE
 5420V5Vj02wYudRzGStszeQf+t7zpNGWdxgN+Z34XY2EMvePoFT2KOcIZlr55rRxunc9p4TP539mN
 krQl5kfrlFUq806BFYbY0Waow3HO6XiKhsXaIkjmySovphPT10/08T52mWrZ2lxim+vA=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1n8ipF-0004Vl-4r; Sat, 15 Jan 2022 14:10:35 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAG7BpaqS9BZJ2BQO=0bx1FLQBvyJa9uQAZftg+q1ZzO3-Eydgg@HIDDEN>
 <87czmk7etf.fsf@HIDDEN>
 <CAG7Bpao6RvRpY07KW8wg49Ha0Z_GvVtaF=r_XY_ptq7SL0wdqw@HIDDEN>
 <87zgpnuft8.fsf@HIDDEN> <8735nen590.fsf@HIDDEN>
X-Now-Playing: Arto Lindsay's _Prize_: "O Nome Dela"
Date: Sat, 15 Jan 2022 14:10:32 +0100
In-Reply-To: <8735nen590.fsf@HIDDEN> (Michael Heerdegen's message of "Mon, 29
 Nov 2021 20:14:51 +0100")
Message-ID: <87pmotta9j.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Michael Heerdegen <michael_heerdegen@HIDDEN> writes: > Well
 we do, a bit, > > (info "(elisp) How Programs Do Loading") > > says that
 loading a file performs eager macro expansion and that does > speed up the
 resulting code. `eval', `eval-when-compile' a [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> Well we do, a bit,
>
>   (info "(elisp) How Programs Do Loading")
>
> says that loading a file performs eager macro expansion and that does
> speed up the resulting code.  `eval', `eval-when-compile' and
> `eval-and-compile' don't perform eager macro expansion.  I don't know to
> what degree this is on purpose.  But if a macro is defined later in the
> file or in another file that has not yet been loaded this may not be
> possible anyway.

It sounds to me like things are basically working as designed.

Perhaps Stefan has some comments; added to the CCs.

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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52147: Eager macro-expansion is not performed in `eval-and-compile' functions
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Jan 2022 15:10:02 +0000
Resent-Message-ID: <handler.52147.B52147.164225938717278 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52147
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 52147 <at> debbugs.gnu.org, Paul Pogonyshev <pogonyshev@HIDDEN>
Received: via spool by 52147-submit <at> debbugs.gnu.org id=B52147.164225938717278
          (code B ref 52147); Sat, 15 Jan 2022 15:10:02 +0000
Received: (at 52147) by debbugs.gnu.org; 15 Jan 2022 15:09:47 +0000
Received: from localhost ([127.0.0.1]:41495 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8kgd-0004Uc-37
	for submit <at> debbugs.gnu.org; Sat, 15 Jan 2022 10:09:47 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:15082)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1n8kga-0004UM-QU
 for 52147 <at> debbugs.gnu.org; Sat, 15 Jan 2022 10:09:45 -0500
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B27DE1001AC;
 Sat, 15 Jan 2022 10:09:38 -0500 (EST)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 40B50100120;
 Sat, 15 Jan 2022 10:09:37 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1642259377;
 bh=m4bUx8stIyef7RMgRtknlYoNSETbf6NX4Hwm6ryZm/0=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=EJDnsxj7P4eIO+pM1mylHSB33ZTfEqYavzaEeB/5dlCEFGvz9//130aoU/CKBOBWy
 DnQMbDTOeEpUWgpFb+QP2FUDFFJzoUCGK/K/Bz2txwNxHX3PtMZowk4xn0XNaxkxJc
 fUUtwuwJGJl0l5RSS11UWwRbmH3cWiObp7veRu/w/9R0wHRcnL5ZrNh6o3YiLOMekX
 6lhY3elt/fyvd+XxemUa+iL8DklQHn+y7i7W1MVm9sq9Os0TB8cSMys7mTdNw7Tekr
 VMpCDiO+dXS0flwZU0gKzlHIzYoPS+VdvhfYEWzezjYUJhplvOxcIC97W/niQvYbE/
 NEFCJB3uX0bfw==
Received: from pastel (unknown [216.154.30.173])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 050A8120783;
 Sat, 15 Jan 2022 10:09:36 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwv35lpkq0k.fsf-monnier+emacs@HIDDEN>
References: <CAG7BpaqS9BZJ2BQO=0bx1FLQBvyJa9uQAZftg+q1ZzO3-Eydgg@HIDDEN>
 <87czmk7etf.fsf@HIDDEN>
 <CAG7Bpao6RvRpY07KW8wg49Ha0Z_GvVtaF=r_XY_ptq7SL0wdqw@HIDDEN>
 <87zgpnuft8.fsf@HIDDEN> <8735nen590.fsf@HIDDEN>
 <87pmotta9j.fsf@HIDDEN>
Date: Sat, 15 Jan 2022 10:09:36 -0500
In-Reply-To: <87pmotta9j.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sat,
 15 Jan 2022 14:10:32 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL 0.115 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>>> We usually don't stress a lot about the performance of interpreted
>>> (i.e., uncompiled) code.

Indeed.

>> Well we do, a bit,
>>
>>   (info "(elisp) How Programs Do Loading")
>>
>> says that loading a file performs eager macro expansion and that does
>> speed up the resulting code.  `eval', `eval-when-compile' and
>> `eval-and-compile' don't perform eager macro expansion.  I don't know to
>> what degree this is on purpose.  But if a macro is defined later in the
>> file or in another file that has not yet been loaded this may not be
>> possible anyway.
>
> It sounds to me like things are basically working as designed.
>
> Perhaps Stefan has some comments; added to the CCs.

AFAIK the exact time of macro expansion is left underspecified
on purpose.  Whether eager-macroexpansion is used or not should be an
implementation detail.  A piece of code which relies on macro-expansion
being done lazily is a bug, AFAIC.  Usually those bugs become apparent
when byte-compiling the file (where macro-expansion is necessarily
eager), except for those cases that occur during bootstrap.

Both `eval-when-compile` and `eval-and-compile` currently defer to
`eval`, but they should arguably do the macro-expansion eagerly, indeed.

`eval` currently doesn't use eager macro-expansion because I haven't
done the work needed to check/ensure that the resulting potential
slowdown is negligible.  But I think `eval` should also eagerly
macro-expand its argument.


        Stefan





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#52147: Eager macro-expansion is not performed in `eval-and-compile' functions
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 20 Jan 2022 09:51:02 +0000
Resent-Message-ID: <handler.52147.B52147.164267225410561 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 52147
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Stefan Monnier <monnier@HIDDEN>
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 52147 <at> debbugs.gnu.org, Paul Pogonyshev <pogonyshev@HIDDEN>
Received: via spool by 52147-submit <at> debbugs.gnu.org id=B52147.164267225410561
          (code B ref 52147); Thu, 20 Jan 2022 09:51:02 +0000
Received: (at 52147) by debbugs.gnu.org; 20 Jan 2022 09:50:54 +0000
Received: from localhost ([127.0.0.1]:56381 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAU5l-0002kH-Rw
	for submit <at> debbugs.gnu.org; Thu, 20 Jan 2022 04:50:54 -0500
Received: from quimby.gnus.org ([95.216.78.240]:47448)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nAU5k-0002k0-1e
 for 52147 <at> debbugs.gnu.org; Thu, 20 Jan 2022 04:50:52 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=f6sBxkqbcvKkLcNiWuoZirjuIsT3vcr6R4Zdu0pfdkE=; b=YK1oj3I9nNWkShgxpk8auIFi8A
 vFJTDBQwrYfyel6U75VEq5EHpyXnhgqlOHpCb6ce2MbOF0QcWWvP/tTGSyHAdzucFuoxO7JuZwDI+
 7VIoUTm7WjMWV+kf9SPL6dfx6kWoJgj0P2S/ksUNX75f/GSQJwwdv+90mhrvC0sMR4D0=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nAU5Z-00045K-LU; Thu, 20 Jan 2022 10:50:44 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAG7BpaqS9BZJ2BQO=0bx1FLQBvyJa9uQAZftg+q1ZzO3-Eydgg@HIDDEN>
 <87czmk7etf.fsf@HIDDEN>
 <CAG7Bpao6RvRpY07KW8wg49Ha0Z_GvVtaF=r_XY_ptq7SL0wdqw@HIDDEN>
 <87zgpnuft8.fsf@HIDDEN> <8735nen590.fsf@HIDDEN>
 <87pmotta9j.fsf@HIDDEN> <jwv35lpkq0k.fsf-monnier+emacs@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEVgXV2gnZ3S0ND7
 +/u7ZUcZFxj///8mNaidAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YBFAkeAUJFj4EAAAGzSURBVDjL
 ddNLkuMgDAZgQYo9wsPewHhvo5oD9FRmj1Oj+1+lBfiVTsImLr6gH4QNCgBTjNQHAgRoT3Bv49ff
 DqO2o9IUMFX4ir+/OixWW6VulGMEBY6OsaAD6BP7bx9Zx9UrlKcACl06xWVtQRPNDAjq2JPUShbM
 QORZSikx3FbNQyhlTGQqGGZWqq+KLpu1pIUZLMg8l4h1DxmBTNESIRm+AuvcxbqakU0BtA14oCaj
 BRj6rpB3CTKzABQiCREwHUqqEgQGSpkhxmlbokQiKrO6TAIpLxuwZFgL0twUpFQm2mpxcZSVkg3c
 vBxQDvaHz2JZNmDTxAWkF3kHtqm1GLxvpc4lXDtOgwPJaN3bU2oM0QM1bXBsjMtNLmUcAvdXgvwp
 GF2o97HdKV/Gg5LZgcITyMF3oPEELZnrAWdMQYHHCYcIzKwvsEkRGFe8wn5OSFOxT1DPKQh6Xp+B
 Yi+mpst2tzWtWuEfGbUFVYqR+/gBRz9fYG/BK9BHwPbWvgEiedPgLZgPkD9k0FI+wPwC+dL+dysM
 /7//g3cR5l5hlA/oOWL1DTzltd1FXPofpmLkG/8GlCrpGDPPkmsAAAAldEVYdGRhdGU6Y3JlYXRl
 ADIwMjItMDEtMjBUMDk6MzA6MDArMDA6MDA/ZdMEAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAx
 LTIwVDA5OjMwOjAwKzAwOjAwTjhruAAAAABJRU5ErkJggg==
X-Now-Playing: Led Zeppelin's _Led Zeppelin_: "Your Time Is Gonna Come"
Date: Thu, 20 Jan 2022 10:50:41 +0100
In-Reply-To: <jwv35lpkq0k.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Sat, 15 Jan 2022 10:09:36 -0500")
Message-ID: <87a6fq4txq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Stefan Monnier <monnier@HIDDEN> writes: > Both
 `eval-when-compile`
 and `eval-and-compile` currently defer to > `eval`, but they should arguably
 do the macro-expansion eagerly, indeed. OK; I'll leave this bug report open
 as a wishlist item. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Stefan Monnier <monnier@HIDDEN> writes:

> Both `eval-when-compile` and `eval-and-compile` currently defer to
> `eval`, but they should arguably do the macro-expansion eagerly, indeed.

OK; I'll leave this bug report open as a wishlist item.

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




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 20 Jan 2022 09:51:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 20 04:51:04 2022
Received: from localhost ([127.0.0.1]:56385 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAU5w-0002l4-2a
	for submit <at> debbugs.gnu.org; Thu, 20 Jan 2022 04:51:04 -0500
Received: from quimby.gnus.org ([95.216.78.240]:47464)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nAU5u-0002kT-AZ
 for control <at> debbugs.gnu.org; Thu, 20 Jan 2022 04:51:02 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=yQh2q7RD2wvKBgi2gGWm16JM+vpz333YAm3log7zi2E=; b=K6DvX4I1BRK7mtvRcLaDk1foT4
 oezjBdSDXq8lMDHqJk59HpHO7KRILpHW4QWJ7GtgOjLQQTzbIbda1uVLZOihcfhE+fe07rxk9r9y6
 lpdVrnUlBSSG604eqc6QRkKsQ/OAkoqwform8EY8sqiamQ9Fq/1JoeVO6djAnyqOsW8w=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nAU5m-00045Z-DM
 for control <at> debbugs.gnu.org; Thu, 20 Jan 2022 10:50:56 +0100
Date: Thu, 20 Jan 2022 10:50:53 +0100
Message-Id: <878rva4txe.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #52147
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  severity 52147 wishlist quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

severity 52147 wishlist
quit





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 20 Jan 2022 09:51:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 20 04:51:08 2022
Received: from localhost ([127.0.0.1]:56388 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nAU60-0002lN-9N
	for submit <at> debbugs.gnu.org; Thu, 20 Jan 2022 04:51:08 -0500
Received: from quimby.gnus.org ([95.216.78.240]:47476)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nAU5z-0002kc-42
 for control <at> debbugs.gnu.org; Thu, 20 Jan 2022 04:51:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=DAdhRfQAml4UcssKMGLLKRgJ3eYsScFSfqbiYcykZQQ=; b=LMtAuvZu8u2fr+SeiupINoPo9A
 ApHEXEiqhoK4cJH8YBMZN0e3lvsMTdrjXMP6Ak16hEo48f6heuR1ngqYrlblkdWLOM6HvaKKFkXPw
 pDRcZ5RAONu92l7OugDJk8WPhtmfWF/MHpEP/wWsqtWCMxl3Unb+Ccut9uD5iUhaB3XE=;
Received: from [84.212.220.105] (helo=giant)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nAU5r-00045h-AO
 for control <at> debbugs.gnu.org; Thu, 20 Jan 2022 10:51:01 +0100
Date: Thu, 20 Jan 2022 10:50:58 +0100
Message-Id: <877dau4tx9.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #52147
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  tags 52147 - moreinfo quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 52147 - moreinfo
quit






Last modified: Thu, 20 Jan 2022 10:00:02 UTC

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