emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Suggestion: Replace #+SETUP_FILE with #+INCLUDE
@ 2012-10-10 12:08 Nicolas Goaziou
  2012-10-10 18:04 ` François Pinard
  2012-10-27  7:58 ` Bastien
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2012-10-10 12:08 UTC (permalink / raw)
  To: Org Mode List

Hello,

I'd like to remove #+SETUP_FILE (that is #+SETUPFILE in the old
exporter) from the new exporter.

The reasoning behind this is that #+INCLUDE already provides a similar
feature (and some others). I.e. you can almost always do:

#+INCLUDE: "my-setup.org"

instead of

#+SETUP_FILE: "my-setup.org"

The only difference is that contents of #+SETUP_FILE are not included in
the final document; they are just read. The only use case I can think of
is when one's want to share the same keywords as a file but without its
contents. But then, it's possible to strip keywords from both files and
store them in a third one, that will be included everywhere.

Therefore, I don't see any reason to keep maintaining the #+SETUP_FILE
keyword. I'd rather remove it and suggest to use #+INCLUDE: keyword
instead.


Any objection?


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2012-10-27  7:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-10 12:08 Suggestion: Replace #+SETUP_FILE with #+INCLUDE Nicolas Goaziou
2012-10-10 18:04 ` François Pinard
2012-10-11  7:51   ` Sebastien Vauban
2012-10-27  7:58 ` Bastien

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).