Rainer Stengele <[EMAIL PROTECTED]> writes:

> I'd like to have the initial lines (configuration) of any org file be
> the same.

Perhaps we can use Tempo [1] or Templates [2] for this?

Here is an example using Tempo:

--8<---------------cut here---------------start------------->8---
(require 'tempo)

(tempo-define-template "org-initial-options"
                       '("#+STARTUP: overview
#+TAGS: @HOME(h) @IGN @KUNDE(k) @UNTERWEGS(u)
#+TAGS: BESORGEN(b) COMPUTER(c) EMAIL(e) IGNORE(r) INFO(i)
#+STARTUP: hidestars
#+SEQ_TODO: TODO INARBEIT | DONE CANCELED DELEGATED")
                       nil
                       "Insert initial options in Org files.")

(define-abbrev org-mode-abbrev-table "options" ""
  'tempo-template-org-initial-options)
--8<---------------cut here---------------end--------------->8---

Then just type "options" at the very beginning of a new Org file, then
press C-x a e, it will expand into the desired options.

Regards,

Notes: 
[1]  http://www.emacswiki.org/cgi-bin/wiki/TempoMode
[2]  http://www.emacswiki.org/cgi-bin/wiki/TemplatesMode

-- 
Bastien


_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to