[Top][All Lists]

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

Re: [O] default file for any .org file

From: Sébastien Le Maguer
Subject: Re: [O] default file for any .org file
Date: Thu, 19 Oct 2017 09:02:23 +0200
User-agent: mu4e 0.9.18; emacs 25.3.1


If I understand well, you are looking for a template. On my side, I used yatemplate coupled with auto-insert. Here is the part of configuration I have:

 (use-package yatemplate
   :ensure t
   :after yasnippet

   ;; Define template directory
(setq yatemplate-dir (concat config-basedir "/third_parties/templates"))

   ;; Coupling with auto-insert

   (setq auto-insert-alist nil)
   (add-hook 'find-file-hook 'auto-insert)

I use a template like the one attached which is place on the directory "<config-basedir>/third_parties/templates". I let you adapt but technically it should work with many adaptations.

Kind regards,

#+AUTHOR: `user-full-name`
#+EMAIL: `user-mail-address`
#+DATE: `(format-time-string "%e %B %Y")`
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+SELECT_TAGS: export
#+EXCLUDE_TAGS: noexport
#+HTML_HEAD: <link rel="stylesheet" type="text/css" 
href="http://www.coli.uni-saarland.de/~slemaguer/default.css"; />
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="default.css" />

* COMMENT some extra configuration

On Thu, Oct 19 2017 (06:55), Joseph Vidal-Rosset <address@hidden> wrote:

Hello the list,

I apologize if the reply to my question has already be given here of if it
is in the org-mode website.

I would be happy to get in advance, for any new .org file that I am going to create, some properties given by default, for example the following
links for .bib file:


and others things that I am always constrained to copy from previous .org
files and paste in the new one.

Your suggestions and your help will be very welcome,


Save our in-boxes! http://emailcharter.org

Dr. Sébastien Le Maguer
Postdoctorate researcher
Co-chair of SYNSIG (https://synsig.org/index.php/Main_Page)

Saarland University
Campus C7.4 - room 2.03
D-66123 Saarbrücken

phone : +49-681-302-70030
Mail: address@hidden
website :  http://www.coli.uni-saarland.de/~slemaguer/

reply via email to

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