emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Something like SETUPFILE, but in .emacs?
@ 2011-02-10 21:40 Gary Oberbrunner
  2011-02-10 21:59 ` Matthew Sauer
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Gary Oberbrunner @ 2011-02-10 21:40 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1573 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2163 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

end of thread, other threads:[~2011-02-14 20:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-10 21:40 Something like SETUPFILE, but in .emacs? Gary Oberbrunner
2011-02-10 21:59 ` Matthew Sauer
     [not found] ` <13311.1297374866@alphaville>
2011-02-10 22:39   ` Gary Oberbrunner
2011-02-10 23:17 ` Dan Davison
2011-02-12 12:15 ` Bastien
2011-02-13 15:53 ` Darlan Cavalcante Moreira
2011-02-13 18:57   ` Gary Oberbrunner
2011-02-13 20:40     ` Thomas S. Dye
2011-02-13 21:16     ` Dan Davison
2011-02-14  0:08       ` Bastien
2011-02-14  2:08       ` Gary Oberbrunner
2011-02-14 15:07         ` Matthew Sauer
2011-02-14 15:14           ` Matthew Sauer
2011-02-14 20:48             ` Gary Oberbrunner
     [not found]     ` <25508.1297658851@alphaville>
     [not found]       ` <AANLkTikhjWt=O6aes9P7eQWHMu5GY7_Q7Wp1omzNE__K@mail.gmail.com>
2011-02-14 20:49         ` Fwd: " Gary Oberbrunner

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