Re: [O] [bug?] File contents of SETUPFILE's is read twice
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
Re: [O] [bug?] File contents of SETUPFILE's is read twice
Hi Sébastien, "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. -- Bastien
[O] [bug?] File contents of SETUPFILE's is read twice
Hello, It seems wrong to me that the SETUPFILE's are accessed twice. Here is the proof... Org file (containing a reference to a non-existing setup file): --8<---cut here---start->8--- #+SETUPFILE: ~/missing-file.setup * Test Blah... --8<---cut here---end--->8--- Minimal Emacs configuration file: --8<---cut here---start->8--- ;; Org mode (add-to-list 'load-path "~/Public/Repositories/org-mode/lisp") (find-file "~/test.org") --8<---cut here---end--->8--- Resulting *Messages* buffer: --8<---cut here---start->8--- For information about GNU Emacs and the GNU system, type C-h C-a. Cannot read file "d:/Users/fni/missing-file.setup" [2 times] --8<---cut here---end--->8--- WDYT? (this could have a performance impact, even if marginal?) Best regards, Seb -- Sebastien Vauban