You are here: Home Documentation Guidelines and Template files Emacs Developers Notes

Emacs Developers Notes

Developers using (x)emacs can use the templates (placed in the template folder) for newly created files in LifeV, with extension support for C++ headers/implementation, m4, README, automake Makefiles, autotest, and doxygen.

In order to use these templates properly you should install the template elisp package from Christoph Wedler. You can download the two needed files here: template.el and dirvars.el and put them e.g. in the directory ~/.emacs/lisp

Instructions:

  • save template.el in your personal lisp directory, e.g. ~/.emacs/lisp
  • tell emacs to load dirvars by editing your emacs config file (~/.emacs). E.g. add the lines:

    ;; lifev std: http://emacs-template.sourceforge.net/

    (setq load-path (cons "~/.emacs/lisp" load-path))

    (require 'template)

    (template-initialize)

    (require 'dirvars)

Document Actions
« August 2010 »
August
MoTuWeThFrSaSu
1
2345678
9101112131415
16171819202122
23242526272829
3031