From mboxrd@z Thu Jan  1 00:00:00 1970
From: Nick Dokos <ndokos@gmail.com>
Subject: Re: [RFC] Syntax for macros
Date: Thu, 30 Jan 2014 09:08:01 -0500
Message-ID: <8738k57ebi.fsf@gmail.com>
References: <86ha8n6ulq.fsf@somewhere.org> <87y51zta1a.fsf@bzg.ath.cx>
	<867g9hiwzy.fsf@somewhere.org> <87sis592gg.fsf@bzg.ath.cx>
	<8638k5iw3i.fsf@somewhere.org>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51972)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1W8sI1-0003gn-OD
	for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 09:08:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1W8sHu-0006hG-IH
	for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 09:08:21 -0500
Received: from plane.gmane.org ([80.91.229.3]:39507)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1W8sHu-0006h5-C0
	for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 09:08:14 -0500
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1W8sHs-0006uV-BN
	for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 15:08:12 +0100
Received: from pool-98-110-175-184.bstnma.fios.verizon.net ([98.110.175.184])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Thu, 30 Jan 2014 15:08:12 +0100
Received: from ndokos by pool-98-110-175-184.bstnma.fios.verizon.net with
	local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Thu, 30 Jan 2014 15:08:12 +0100
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: <http://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+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: emacs-orgmode@gnu.org

"Sebastien Vauban" <sva-news@mygooglest.com>
writes:

> Bastien wrote:
>> "Sebastien Vauban" writes:
>>> Bastien wrote:
>>>
>>>> Reducing to {{...}} could be better, but I'm not sure this is
>>>> what will make your friends happy :)
>>>
>>> Not entirely, no!  But I think that'd be already a good
>>> simplification.
>>
>> Added to my "will-silently-see-if-this-makes-progress" list :)
>
> Isn't it just changing those occurrences?
>
> ./org-element.el:3177:    (looking-at "{{{\\([a-zA-Z][-a-zA-Z0-9_]*\\)\\(([ \t\n]*\\([^\000]*?\\))\\)?}}}")
> ./org-element.el:3217:	   "{{{\\([a-zA-Z][-a-zA-Z0-9_]*\\)\\(([ \t\n]*\\([^\000]*?\\))\\)?}}}"
> ./org-macro.el:35:;; {{{time(format-string)}}}, {{{property(node-property)}}},
> ./org-macro.el:36:;; {{{input-file}}} and {{{modification-time(format-string)}}}.
> ./org-macro.el:38:;; Upon exporting, "ox.el" will also provide {{{author}}}, {{{date}}},
> ./org-macro.el:39:;; {{{email}}} and {{{title}}} macros.
> ./org-macro.el:165:      (while (re-search-forward "{{{[-A-Za-z0-9_]" nil t)
> ./org.el:6263:	   '("{{{.+?}}}" (0 'org-macro t))
> ./ox.el:3092:	 ;; Expand export-specific set of macros: {{{author}}},
> ./ox.el:3093:	 ;; {{{date}}}, {{{email}}} and {{{title}}}.  It must be done
>
> Best regards,
>   Seb

There is also backwards compatibility to consider.
-- 
Nick