emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug?] File contents of SETUPFILE's is read twice
@ 2014-02-05 14:34 Sebastien Vauban
  2014-02-05 15:28 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Vauban @ 2014-02-05 14:34 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-05 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05 14:34 [bug?] File contents of SETUPFILE's is read twice Sebastien Vauban
2014-02-05 15:28 ` Bastien
     [not found]   ` <87ppn1mvdg.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org>
2014-02-05 20:53     ` Sebastien Vauban

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).