From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [RFC] Syntax for macros Date: Thu, 30 Jan 2014 11:48:33 +0100 Message-ID: <8638k5iw3i.fsf@somewhere.org> References: <86ha8n6ulq.fsf@somewhere.org> <87y51zta1a.fsf@bzg.ath.cx> <867g9hiwzy.fsf@somewhere.org> <87sis592gg.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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? --8<---------------cut here---------------start------------->8--- ./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 --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban