emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Michael Dauer <mick.dauer@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: BUG: eval macros not working anymore
Date: Tue, 25 May 2021 11:14:01 +0200	[thread overview]
Message-ID: <87a6oj6uqu.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAP7OBxLSev4MgX5ZF538dEB5brK0h6unBiptg4QE9GJk60Pz0w@mail.gmail.com> (Michael Dauer's message of "Mon, 24 May 2021 18:42:49 +0200")

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


  reply	other threads:[~2021-05-25  9:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 16:42 Michael Dauer
2021-05-25  9:14 ` Nicolas Goaziou [this message]
2021-05-25 11:55   ` Michael Dauer
2021-05-25 15:51     ` Nicolas Goaziou
2021-05-25 18:32       ` Michael Dauer
2021-05-26 18:37         ` Michael Dauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6oj6uqu.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mick.dauer@gmail.com \
    --subject='Re: BUG: eval macros not working anymore' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).