From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Oberbrunner Subject: Something like SETUPFILE, but in .emacs? Date: Thu, 10 Feb 2011 16:40:44 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2115600589==" Return-path: Received: from [140.186.70.92] (port=36305 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PneFs-00032q-9i for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 16:40:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PneFr-0000zN-1x for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 16:40:48 -0500 Received: from mail-yi0-f41.google.com ([209.85.218.41]:53757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PneFq-0000z4-VY for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 16:40:47 -0500 Received: by yia25 with SMTP id 25so877260yia.0 for ; Thu, 10 Feb 2011 13:40:46 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============2115600589== Content-Type: multipart/alternative; boundary=00235448f28317a32b049bf46f35 --00235448f28317a32b049bf46f35 Content-Type: text/plain; charset=ISO-8859-1 First time poster on this list, but old-school Emacs user since 1982. And I have to say, org-mode is amazing. I'm running current git master on emacs 24.0.50.1 on Windows. I've put all my org-mode export template stuff into a setup file in my home dir, and I make all my org-mode files use it by putting #+SETUPFILE: ~/my-setup.org My question is can I make this totally automatic, so every .org file I load gets that setupfile automatically? btw, here's my settings in my setup file in case anyone's interested. Mostly export stuff for HTML and LaTeX so the output comes out nice. ## Emacs org-mode settings. Include into a .org file at the end like this: ## #+SETUPFILE: ~/emacs-org-mode-setup.org #+AUTHOR: me #+EMAIL: garyo@example.org #+DATE: #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:2 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t author:nil email:nil creator:nil timestamp:nil #+OPTIONS: TeX:t LaTeX:auto skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path: http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: # Page formatting, use full page w/ less whitespace: #+LaTeX_HEADER: \usepackage[cm]{fullpage} #+LaTeX_HEADER: \usepackage[compact]{titlesec} # Snug up lists: #+LaTeX_HEADER: \usepackage{paralist} #+LaTeX_HEADER: \let\itemize\compactitem #+LaTeX_HEADER: \let\description\compactdesc #+LaTeX_HEADER: \let\enumerate\compactenum # Colors: #+LaTeX_HEADER: \usepackage{color} -- -- Gary --00235448f28317a32b049bf46f35 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable First time poster on this list, but old-school Emacs user since 1982. =A0An= d I have to say, org-mode is amazing. =A0I'm running current git master= on emacs 24.0.50.1 on Windows.

I've put all my org-= mode export template stuff into a setup file in my home dir, and I make all= my org-mode files use it by putting
=A0#+SETUPFILE: ~/my-setup.org

My question is can I make this totally automatic, so every= .org file I load gets that setupfile automatically?

btw, here's my settings in my setup file in case anyone's intereste= d. =A0Mostly export stuff for HTML and LaTeX so the output comes out nice.<= /div>

## Emacs org-mode settings. =A0Include into a= .org file at the end like this:
## #+SETUPFILE: ~/emacs-or= g-mode-setup.org
#+AUTHOR: =A0 =A0me
#+EMAIL: =A0 = =A0 garyo@example.org
#+= DATE:=A0
#+DESCRIPTION:=A0
#+KEYWORDS:=A0
#+LANGUAGE: =A0en=
#+OPTIONS: =A0 H:2 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:= t *:t <:t author:nil email:nil creator:nil timestamp:nil
#+OPT= IONS: =A0 TeX:t LaTeX:auto skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:<= a href=3D"http://orgmode.org/org-info.js">http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: n= oexport
#+LINK_UP: =A0=A0
#+LINK_HOME:=A0
# Page formattin= g, use full page w/ less whitespace:
#+LaTeX_HEADER: \usepackage[= cm]{fullpage}
#+LaTeX_HEADER: \usepackage[compact]{titlesec}
# Snug up lists:
#+LaTeX_HEADER: \usepackage{paralist}
= #+LaTeX_HEADER: \let\itemize\compactitem
#+LaTeX_HEADER: \let\des= cription\compactdesc
#+LaTeX_HEADER: \let\enumerate\compactenum = =A0
# Colors:
#+LaTeX_HEADER: \usepackage{color}

<= /div>
--
-- Gary
--00235448f28317a32b049bf46f35-- --===============2115600589== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============2115600589==--