emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Suggestion: Replace #+SETUP_FILE with #+INCLUDE
Date: Wed, 10 Oct 2012 14:08:41 +0200	[thread overview]
Message-ID: <87a9vu5y2e.fsf@gmail.com> (raw)

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

             reply	other threads:[~2012-10-10 12:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-10 12:08 Nicolas Goaziou [this message]
2012-10-10 18:04 ` Suggestion: Replace #+SETUP_FILE with #+INCLUDE François Pinard
2012-10-11  7:51   ` Sebastien Vauban
2012-10-27  7:58 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a9vu5y2e.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).