From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp1 ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id eB02B1PnrGAUtAAAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 25 May 2021 14:02:27 +0200
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1 with LMTPS
	id wNXaAlPnrGCKcwAAbx9fmQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 25 May 2021 12:02:27 +0000
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 5E6BD12A62
	for <larch@yhetil.org>; Tue, 25 May 2021 14:02:26 +0200 (CEST)
Received: from localhost ([::1]:35216 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1llVlP-000246-Re
	for larch@yhetil.org; Tue, 25 May 2021 08:02:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37716)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mick.dauer@gmail.com>)
 id 1llVeV-00032F-Eh
 for emacs-orgmode@gnu.org; Tue, 25 May 2021 07:55:15 -0400
Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:35595)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <mick.dauer@gmail.com>)
 id 1llVeT-00054j-OO
 for emacs-orgmode@gnu.org; Tue, 25 May 2021 07:55:15 -0400
Received: by mail-lj1-x234.google.com with SMTP id f12so37743063ljp.2
 for <emacs-orgmode@gnu.org>; Tue, 25 May 2021 04:55:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=d0wsCzQceE/pJYQV8CsjT896+GA0RgntS/F14GEZM28=;
 b=NgxI7eIpCmxfVHHsc+avG5JpvfAdk+8OLIbonE8ITkS70zMm+7UPwqLVaKcjo2tXdK
 WZWVwRagJFdPby3KIg2Lnq3NC05I4QbWFFtuRVbThUJLtsET3DGX5XrD//kX59rJ9Eud
 vnupDyVlAKnxYOnLuWwW+NGDhGFP8Xbav+XGl5fta5z2oiabl7ymRV0FEzWsH2+PUCkN
 9GpYXxCKoRuEDIiWR9XE8aVLlfzKQ3WL9qBqZ2zjYgDaqFcVrG6daJ/JCXDVt5oyVDeG
 sbBN60CO9nBTJRhdWsuF0UuforJ0I6uyOFMqoRqI65EJStlJ1ZJizGd7jmfTc9UxPC8u
 lseQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=d0wsCzQceE/pJYQV8CsjT896+GA0RgntS/F14GEZM28=;
 b=eiu7Fl1kjMAawio9+sgPZ9hu23ezYxTKNhDWf7VxORSnCVQOEyKzGaO4Pjh2xLQlIq
 1P96CojuVZCSsNNx/TsX+eAIXTCxycOnOFR1/JWA2OMUbLIjPfU3eG9wl87jqm37isg+
 mdGFNftbvnaEF2bH8aGh/KrGagilRgutUbDjMzd6t4ggAXuqEusxdqzgCojkvbDSup4R
 XmEQJhnJGm/XKkM5zZURJUn/KlfTkkR561sscOXxG+nRqnB5bvLe4pamiMvL/Am1+dAw
 ue5QvEZInbXbH3mpYmUCGZOF9ToAXLcYrswYqgEc2TFyWU7nUn9tIi4Rs2quCwaZicNK
 RxXg==
X-Gm-Message-State: AOAM532/7SIOzaquaiwa6/3V6bVYqcY4rBDNd8LHz5LrQfKraRLRaWDD
 zIv2JctZ0FyNZvzzbhMZQ9bwySh5sEaUhjmZLFg=
X-Google-Smtp-Source: ABdhPJxNhJFHg6b96I2AEsnH6txdDIGjxbAeu9g4HQydT8/EPzPSeVl6lNzDLLHJUaeXBHlFZowSSh2c0V7aqeikYYc=
X-Received: by 2002:a2e:a41c:: with SMTP id p28mr18559187ljn.427.1621943711750; 
 Tue, 25 May 2021 04:55:11 -0700 (PDT)
MIME-Version: 1.0
References: <CAP7OBxLSev4MgX5ZF538dEB5brK0h6unBiptg4QE9GJk60Pz0w@mail.gmail.com>
 <87a6oj6uqu.fsf@nicolasgoaziou.fr>
In-Reply-To: <87a6oj6uqu.fsf@nicolasgoaziou.fr>
From: Michael Dauer <mick.dauer@gmail.com>
Date: Tue, 25 May 2021 13:55:00 +0200
Message-ID: <CAP7OBxJ8s00c5TBVqhhAi2yXj75Ptfn3OeFEnnQNOg2mJYPYXg@mail.gmail.com>
Subject: Re: BUG: eval macros not working anymore
To: Michael Dauer <mick.dauer@gmail.com>, emacs-orgmode@gnu.org
Content-Type: multipart/alternative; boundary="000000000000c8dc7505c32632fd"
Received-SPF: pass client-ip=2a00:1450:4864:20::234;
 envelope-from=mick.dauer@gmail.com; helo=mail-lj1-x234.google.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,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1621944146;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=d0wsCzQceE/pJYQV8CsjT896+GA0RgntS/F14GEZM28=;
	b=NqrBPVGGNnd1AfhkYwW1moCi1C9T6bta736lh4df3iLW+Kc0+Ta6NpFSwRxdEKGTIEZ5jc
	V1mJ8PbIc45yNjBw1Z34x9IWDntNvPWYCYCVraylnoIARggWV9jjlaP6oVdeFE1MlGiyPM
	XelckSZfOnVNBYTGoV9MjG1spnqPZS2JveKpGezkx7OPRVd4bGFCe1KWT5yCfNVrgJpyFG
	fnWtJHwG7hgc99SDQwH4snuPfwhf6gCapqnWher+eG5E+ri8ZZ1vdjUaaDKC972jablj5N
	Gd2HdqiKygsnl0lJhM6K4QZ9mcpCddE986Ed4ZRoGQ3cpAOkucqgUwaAnmHhFg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621944146; a=rsa-sha256; cv=none;
	b=nwSeY8zTrfc0J0Hj/7CNT55gQAN+qk2q6alH9UnyohToh3rMypitDzZ28N/s1TotmIjOnK
	XjUN5QMkTABj7dpThbb0w/izPh4j5K5IV98lyc19gEOkc9a4oII0CtYQ5yAOaqwKLnDE0S
	DukhEvivZE7cXLeCLXLUrqD7x16Lm6CP0qWANqd/cCzhD39z6Xas7zp9NsHeJ/sXT+QdDv
	h/y2ZYK7QElAzTITg0u6SBD7Q+fkDPS555tS0N1TPvTVb2Ee2edGB6Zrn0IiOh9YMnfYXB
	iCWztTqZPCSRftI1xjZ4xgifDCC83VALWTbCJs36bYDh+SYBsewwz4t83Xl6rg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20161025 header.b=NgxI7eIp;
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org
X-Migadu-Spam-Score: -3.13
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20161025 header.b=NgxI7eIp;
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org
X-Migadu-Queue-Id: 5E6BD12A62
X-Spam-Score: -3.13
X-Migadu-Scanner: scn0.migadu.com
X-TUID: pmcl+Ip2dd/3

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

How do you do this with a #+macro keyword with arguments?

The old implementation checked the string for a "(eval" prefix.

Nicolas Goaziou <mail@nicolasgoaziou.fr> schrieb am Di., 25. Mai 2021,
11:14:

> Hello,
>
> Michael Dauer <mick.dauer@gmail.com> writes:
>
> > at least not compatible with before.
> >
> > Probably caused by commit 8abdbbee395f284f2262a89187d662eaf40080b1.
> >
> > originally correct macro ("macroA" . "(eval
> > do-something-dynamically-at-macro-expansion)")
> >
> > How should this be achieved now? (functionp "any-string") is nil
>
> I think you need to write
>
>   ("macroA" . (lambda (&rest _)
> (do-something-dynamically-at-macro-expansion)))
>
> Regards,
> --
> Nicolas Goaziou
>

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

<div dir=3D"auto">How do you do this with a #+macro keyword with arguments?=
<div dir=3D"auto"><br></div><div dir=3D"auto">The old implementation checke=
d the string for a &quot;(eval&quot; prefix.=C2=A0</div></div><br><div clas=
s=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Nicolas Goaziou &lt=
;<a href=3D"mailto:mail@nicolasgoaziou.fr">mail@nicolasgoaziou.fr</a>&gt; s=
chrieb am Di., 25. Mai 2021, 11:14:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>Hello,<br>
<br>
Michael Dauer &lt;<a href=3D"mailto:mick.dauer@gmail.com" target=3D"_blank"=
 rel=3D"noreferrer">mick.dauer@gmail.com</a>&gt; writes:<br>
<br>
&gt; at least not compatible with before.<br>
&gt;<br>
&gt; Probably caused by commit 8abdbbee395f284f2262a89187d662eaf40080b1.<br=
>
&gt;<br>
&gt; originally correct macro (&quot;macroA&quot; . &quot;(eval<br>
&gt; do-something-dynamically-at-macro-expansion)&quot;)<br>
&gt;<br>
&gt; How should this be achieved now? (functionp &quot;any-string&quot;) is=
 nil<br>
<br>
I think you need to write<br>
<br>
=C2=A0 (&quot;macroA&quot; . (lambda (&amp;rest _) (do-something-dynamicall=
y-at-macro-expansion)))<br>
<br>
Regards,<br>
-- <br>
Nicolas Goaziou<br>
</blockquote></div>

--000000000000c8dc7505c32632fd--