From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: [bug?] File contents of SETUPFILE's is read twice Date: Wed, 05 Feb 2014 15:34:28 +0100 Message-ID: <8661otbpcb.fsf@somewhere.org> 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 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