[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Something like SETUPFILE, but in .emacs?
From: |
Bastien |
Subject: |
Re: [Orgmode] Something like SETUPFILE, but in .emacs? |
Date: |
Sat, 12 Feb 2011 13:15:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Gary,
Gary Oberbrunner <address@hidden> writes:
> 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?
Maybe just define a function that you can hook to
`find-file-not-found-functions' ?
The function would recognize you're finding a new .org file, and
then insert "#+SETUPFILE: ~/my-setup.org" on the top of it.
HTH,
--
Bastien
- [Orgmode] Something like SETUPFILE, but in .emacs?, Gary Oberbrunner, 2011/02/10
- Re: [Orgmode] Something like SETUPFILE, but in .emacs?, Matthew Sauer, 2011/02/10
- Message not available
- [Orgmode] Re: Something like SETUPFILE, but in .emacs?, Dan Davison, 2011/02/10
- Re: [Orgmode] Something like SETUPFILE, but in .emacs?,
Bastien <=
- Re: [Orgmode] Something like SETUPFILE, but in .emacs?, Darlan Cavalcante Moreira, 2011/02/13
- Re: [Orgmode] Something like SETUPFILE, but in .emacs?, Gary Oberbrunner, 2011/02/13
- Re: [Orgmode] Something like SETUPFILE, but in .emacs?, Thomas S. Dye, 2011/02/13
- [Orgmode] Re: Something like SETUPFILE, but in .emacs?, Dan Davison, 2011/02/13
- Re: [Orgmode] Re: Something like SETUPFILE, but in .emacs?, Bastien, 2011/02/13
- [Orgmode] Re: Something like SETUPFILE, but in .emacs?, Gary Oberbrunner, 2011/02/13
- Re: [Orgmode] Re: Something like SETUPFILE, but in .emacs?, Matthew Sauer, 2011/02/14
- Re: [Orgmode] Re: Something like SETUPFILE, but in .emacs?, Matthew Sauer, 2011/02/14
- Re: [Orgmode] Re: Something like SETUPFILE, but in .emacs?, Gary Oberbrunner, 2011/02/14
- Message not available
- Message not available
- Fwd: [Orgmode] Something like SETUPFILE, but in .emacs?, Gary Oberbrunner, 2011/02/14