emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Quoting of macros with eval


From: Nicolas Goaziou
Subject: Re: [O] Quoting of macros with eval
Date: Tue, 11 Dec 2018 17:30:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Jens Lechtenboerger <address@hidden> writes:

> Hi there,
>
> given a macro like
>
> #+MACRO: foo (eval (message "%s" $1))
>
> I need to call {{{foo("text")}}} with Org mode 9.1.14-9-g131531-elpa.
>
> On the master branch, that call will include the quotation marks as
> part of the string, so I need to call {{{foo(text)}}} (documented in
> the manual, but I didn’t notice that until now).
>
> Could the master branch offer backward compatible functionality,
> please?  I’m thinking about checking for and removing leading and
> trailing quotation marks...

A simple function replacing such occurrences should be easy to write.
I suggest to do that.

It is in "Incompatible changes" for a reason :)

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]