From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [bug?] File contents of SETUPFILE's is read twice Date: Wed, 05 Feb 2014 21:53:50 +0100 Message-ID: <86y51p2sdd.fsf@somewhere.org> References: <8661otbpcb.fsf@somewhere.org> <87ppn1mvdg.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <87ppn1mvdg.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org> (Bastien's message of "Wed, 05 Feb 2014 16:28:43 +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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: Bastien Cc: public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >> It seems wrong to me that the SETUPFILE's are accessed twice. > > That's because setupfile is checked within > `org-macro-initialize-templates' and `org-set-regexps-and-options', > both called from org-mode. So, you mean that SETUPFILE *must* be read twice, right? I understand the first call. The second one (in `org-set-regexps-and-options') stays a bit cryptic to me, right now. Best regards, Seb -- Sebastien Vauban