From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Douglas Lewan Newsgroups: gmane.emacs.help Subject: Compiling a recursive macro Date: Thu, 11 Jun 2020 16:15:05 -0400 Message-ID: <22b55d6d-f719-98d9-f8c8-e72e7fc43497@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="103356"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 11 22:51:51 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 ) id 1jjUAx-000Qog-2a for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 22:51:51 +0200 Original-Received: from localhost ([::1]:43448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjUAw-0007dB-6m for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 16:51:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjTba-0004nK-Bf for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 16:15:18 -0400 Original-Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:39637) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjTbY-000875-B8 for help-gnu-emacs@gnu.org; Thu, 11 Jun 2020 16:15:17 -0400 Original-Received: by mail-qk1-x72c.google.com with SMTP id w3so6898001qkb.6 for ; Thu, 11 Jun 2020 13:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=csTDSu+zvgF0EcDppXZZWiax4yJYx2Z14b3f8cWrXns=; b=Pf3ZndXa01y3oBPyYUvt4/l1Zj+uXmLjDHWPOHuOzJ9wCTipShOGONEzZdq+Cm89rw VSY1qbXALXB46l+B5RUJefFAa5fjRbAd5lPp7eIxI9XCMAReftOez783L4qPgnZW0R54 boVlo8br8LVZzV1xjXaJdmu7jvE/yL+aIQ/TcI2TFZdPiiKIZODU3oA4T0nC7fvBs06n QihkHXgmr8EhRTyttcEA4jDVkls+q1XB+n9KvEFxjSKamqqDe4/ZEMeGUd9qbvqfCBG7 Am3RAXSlHovM/J5AnxcbrCs9VifXzWDax3i+brSOTal8ClznN8TXqdh/05V0xwQnl0C0 vJEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=csTDSu+zvgF0EcDppXZZWiax4yJYx2Z14b3f8cWrXns=; b=fSsEhB19cpuN+UJxJn2NuK/t39V9z4B2XhcpVfylJqjutTKYOaMv1O+EhFDfA566xw Zi5o3M4leEfA3+g1kEPNHNVEoN7REb+gyEM/YfbN6Hazg2xP96P1arTdjwlow1kSEWRl e+7sR66vXGU2JUXX2J/b1TSwnANhtEphY9vo/hlJrBjSjNEIQi93aUpeb5V2W4CKmuhu Baq7rkuUqpy0ZnSiPAMd7x3mUGQ3nRcawHyfHQTvPoeRB/bkSWEmWwSJKyw6U6hP/RWf VXACQ//KYOSeC2kTGOd2WByLDdJXNEujhK2l3QLfpaBZaPj/TO+nkVE0wy4FBpwKii75 Ezaw== X-Gm-Message-State: AOAM5334WX1XbJWc8v4xox5yt8VC8RiUcHiEDX4wUe4aZ4HTHQNaqgop uqVQHIIhQ9dKyUz/mCU2yI/KeeuD7Q== X-Google-Smtp-Source: ABdhPJxdDcYIxzbriGk0tQFdtaPfB0RNo+X5sIIj1Pg0oMJPQUfauDEfnejRCcmaLvkBe53ObbLEUQ== X-Received: by 2002:a37:a8b:: with SMTP id 133mr9948420qkk.134.1591906507851; Thu, 11 Jun 2020 13:15:07 -0700 (PDT) Original-Received: from [192.168.43.104] ([172.58.236.143]) by smtp.gmail.com with ESMTPSA id h19sm2731099qkl.49.2020.06.11.13.15.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jun 2020 13:15:07 -0700 (PDT) Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::72c; envelope-from=d.lewan2000@gmail.com; helo=mail-qk1-x72c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123333 Archived-At: I'm not an expert on macros whatsoever. I apologize if this is idiotic. I've been doing battle trying to define a recursive macro, and I'd like it to be byte compiled. However, in the info (elisp) Compiling Macros, I find the following:    In order for compilation of macro calls to work, the macros must already be defined in Lisp when the calls to them are compiled. That suggests to me that you can't compile any recursive macro. Do I understand it correctly? If I do, then I'm curious if there's a common style for getting around this. Thanks. -- ,Doug d.lewan2000@gmail.com (908) 720 7908 If this is what winning looks like, I'd hate to see what losing is.