From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Po Lu <luangruo@yahoo.com>
Newsgroups: gmane.emacs.devel
Subject: Re: Test your ELisp knowledge
Date: Fri, 09 Feb 2024 13:26:17 +0800
Message-ID: <878r3u2op2.fsf@yahoo.com>
References: <jwvwmrel5ah.fsf-monnier+emacs@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="39126"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cc: emacs-devel@gnu.org
To: Stefan Monnier <monnier@iro.umontreal.ca>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 09 06:27:31 2024
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1rYJQA-0009s7-1G
	for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Feb 2024 06:27:30 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces@gnu.org>)
	id 1rYJPL-0007JJ-UA; Fri, 09 Feb 2024 00:26:39 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <luangruo@yahoo.com>)
 id 1rYJPJ-0007Iz-Rf
 for emacs-devel@gnu.org; Fri, 09 Feb 2024 00:26:37 -0500
Original-Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <luangruo@yahoo.com>)
 id 1rYJPE-0002e3-KU
 for emacs-devel@gnu.org; Fri, 09 Feb 2024 00:26:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1707456390; bh=cZJyPb7OuhKnqvzxifodXesM0ApfpEgWGCw7AXSmoyI=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=NpyePyafNoiZTiaYUvU7sx/syII93L/zuUMS928ORBpwh3VweClkS7ro4karzB4FXwYhZfVpKoPkX6055T/cofjrp7WypENi63UkwbRiIkX3lb0tcKIUcJbpaEvD8D9evgqI0Jjo5dSC2EMXvBtFdHtKcb13l5pm7nlU3v6DOLz7pX19MpRBTtCyz0/GMyVuYzo8FfcnmT2gIDc/ylhwM4hiEcfD2Kid6WIJgzEKIYly7dSuiLeTF5qPYR9EWtk2kQW20dbhedVgVGlSmreOp1AUuY9NVtxYrLyP8hSSIzvT020vLS4+4kehVJjuBomFhPP2Jqlork1ngBQ04Q5RIw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1707456390; bh=hipF2pD8PO00VC8cBldyhXa+uf/P3ffbNY8xN5jkBcV=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=c7bqX/t7pWlDDUCEYMZWoGCHx986ts0Ol45w4Lh45Qry4TWB1qTYHreQpc44esxlQW5JKtamOPiipWttP/mucFy2OL5/bE4q9AFOubyylK4dob4vVB7aQjXC2SF8ud43Cl5l6F7k2T+esicS9MAqSbpMOaDBtr6WqkTmEsrAEvPbd/H9TfHJ25h9zXXou00KW+sLdX2MKyQjthGv1g+KXfFHNBAQp0xHjYzfXCwXwFU8G4jTy/+YjQZ/3vap/TiYdQTyy8gIeRmQYh8rbdp38XTSmkoInrJ5+nA5/QIT5nzVcmc3HfICbMtUPgye6OU1jOMXrJog7MCeEhbftvE6gg==
X-YMail-OSG: x1raTHAVM1nofOqq257YXvfkd8Pt7ymF_04fJQ7GkOLlH4N2VSIB9g8ukXM4M.d
 0XmSN5BvmeF1Dsw7TVryAoTEZJ7T2pslvA5ZYQj5FzLTrqvM4_NC85BQWYAyIROmC9kVx0FWBIcT
 fIHgEdP8r.6koKcfYBn.Evq7gxuQq5KRni2KHFuP9KjKlep3.Ht_T76jg1EyFu3J5cWxcEbxeL3m
 Rlv52sfV8R01rpNibr0TQU__LpSVWVpmZmlRk3A9ApjwctNFHyRI2r9cVbuhSTs3JGzSrUZgJ4vL
 92r_okIDtGZz43k8BVuVnfRxDnap2iD.QFvwZyBYMNROggJuHQKFwJAgvBlKWkBmvdHaOj.uQ9y1
 gn0bBNStQZ1DSsyv_pNKvj13MElcELYqjlnwDzsqPy8xzNmIvJQo3zbTpbi2txgFKjWBy1WmZSF0
 HE.L7a.24GfGL6OcWU5RpLZx6FiMjztpsL3RxSdclyaUG1ROwhRd28MV3oKcJxendXZXaCpP_5te
 NmRhELtqUer02PKACSJCs6Z7lUtQe1zb2PVvdZj21AIuKFApGjHWz8cXzqSigY2gs9IV0Q259Xvq
 bU21zKjoszzz7YoyaVftna0f9fo8uBp5GoFoXxlkh90kIw6XyhrEqMmVORGUvxo0AiqUC7ssinuU
 ETVtfC5L.5ivZQ12ZNLQO.Eat7iEPtJseObEx61TPcpaDdA0kSmgEsuJYWWx.ht8AlKb079BuZfm
 IauN3zIJgl8Xi_3ZOGdMw45WchVHcfIp03dd0FGxu2ry4Ng8yNi3Zyc9cYwBU_A8Bth467qX0526
 .qc4vZN7NSYFiKlgI8nAvkcbEOirHca0I7s3UqAwal 
X-Sonic-MF: <luangruo@yahoo.com>
X-Sonic-ID: a1acc14b-b9c3-4080-98b0-f38de9ced781
Original-Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic308.consmr.mail.ne1.yahoo.com with HTTP; Fri, 9 Feb 2024 05:26:30 +0000
Original-Received: by hermes--production-sg3-6dc75bc8fb-r5vvk (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 61ba0c8c69fe968ca1d56614f32df951; 
 Fri, 09 Feb 2024 05:26:23 +0000 (UTC)
In-Reply-To: <jwvwmrel5ah.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message
 of "Thu, 08 Feb 2024 21:52:30 -0500")
X-Mailer: WebService/1.1.22077
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Received-SPF: pass client-ip=66.163.187.33; envelope-from=luangruo@yahoo.com;
 helo=sonic308-10.consmr.mail.ne1.yahoo.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.devel:316063
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/316063>

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> OK,
>
> Here's a test for you: without trying to run it, guess what error will
> be signaled when you do:
>
>     M-: (their-fun (/ my-x 0)) RET

`their-fun''s function cell is not bound, so eval_sub cannot decide
whether to macroexpand or to funcall it.  :-)