emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Something like SETUPFILE, but in .emacs?


From: Gary Oberbrunner
Subject: [Orgmode] Something like SETUPFILE, but in .emacs?
Date: Thu, 10 Feb 2011 16:40:44 -0500

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:     address@hidden
#+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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]