From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Quoting of macros with eval Date: Tue, 11 Dec 2018 17:30:57 +0100 Message-ID: <87in00ja9q.fsf@nicolasgoaziou.fr> References: <878t0wnzpb.fsf@wi.uni-muenster.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWkwD-0008PY-43 for emacs-orgmode@gnu.org; Tue, 11 Dec 2018 11:31:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWkw8-0004oy-VJ for emacs-orgmode@gnu.org; Tue, 11 Dec 2018 11:31:13 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49139) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gWkw8-0004no-MG for emacs-orgmode@gnu.org; Tue, 11 Dec 2018 11:31:08 -0500 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 22E06E000A for ; Tue, 11 Dec 2018 16:31:05 +0000 (UTC) In-Reply-To: <878t0wnzpb.fsf@wi.uni-muenster.de> (Jens Lechtenboerger's message of "Tue, 11 Dec 2018 11:08:00 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, Jens Lechtenboerger 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=E2=80=99t notice that until now). > > Could the master branch offer backward compatible functionality, > please? I=E2=80=99m 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, --=20 Nicolas Goaziou