From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: akrl Newsgroups: gmane.emacs.help Subject: macro defining function and byte compiler Date: Sat, 04 May 2019 21:22:14 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="169854"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 05 03:12:58 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hN5i6-000i4M-9I for geh-help-gnu-emacs@m.gmane.org; Sun, 05 May 2019 03:12:58 +0200 Original-Received: from localhost ([127.0.0.1]:34801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN5i2-0005Ya-8D for geh-help-gnu-emacs@m.gmane.org; Sat, 04 May 2019 21:12:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN28M-0004CD-C1 for help-gnu-emacs@gnu.org; Sat, 04 May 2019 17:23:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hN28L-0007ue-Ft for help-gnu-emacs@gnu.org; Sat, 04 May 2019 17:23:50 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:55675) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hN28L-0007tW-88 for help-gnu-emacs@gnu.org; Sat, 04 May 2019 17:23:49 -0400 Original-Received: from sdf.org (IDENT:akrl@otaku.freeshell.org [205.166.94.9]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id x44LMGaP006017 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO) for ; Sat, 4 May 2019 21:22:17 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id x44LMGfA021367; Sat, 4 May 2019 21:22:16 GMT X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 205.166.94.20 X-Mailman-Approved-At: Sat, 04 May 2019 21:12:35 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120199 Archived-At: Hi all, I'm trying to byte-compile a file with the following content: (defmacro xxx () `(progn (defun ,(make-symbol "yyy") ()) (defun zzz ()))) (xxx) (defun test1 () (yyy)) (defun test2 () (zzz)) >From the *Compile-Log* I see: Warning: the function =E2=80=98yyy=E2=80=99 is not known to be defined. I'm then wondering why the byte compiler is happy with zzz but not yyy. I'm certanly missing something here. Thanks and bests Andrea --=20 akrl@sdf.org