nit(org): lower case keywords in file templates

See https://list.orgmode.org/87tuuw3n15.fsf@nicolasgoaziou.fr/.
This commit is contained in:
Dominik Schrempf 2022-03-21 09:06:27 +01:00 committed by Henrik Lissner
parent 2d108e14a2
commit b77699c38f
4 changed files with 20 additions and 20 deletions

View file

@ -1,7 +1,7 @@
# -*- mode: snippet -*-
# name: Org template
# --
#+TITLE: ${1:`
#+title: ${1:`
(string-join
(mapcar #'capitalize
;; Replace -,_... with space

View file

@ -1,9 +1,9 @@
#+TITLE:${1:Contact Name}
#+DATE: `(format-time-string "%Y-%m-%d")`
#+EMAIL: ${2:email@address.com}
#+ADDRESS: $3
#+CITY: $4
#+COUNTRY: $5
#+title:${1:Contact Name}
#+date: `(format-time-string "%Y-%m-%d")`
#+email: ${2:email@address.com}
#+address: $3
#+city: $4
#+country: $5
${0:...}

View file

@ -1,17 +1,17 @@
#+TITLE:${1:1234-5678}
#+DATE: `(format-time-string "%Y-%m-%d")`
#+ISSUED: ${2:`(format-time-string "%Y-%m-%d")`}
#+PAID: ${3:`(format-time-string "%Y-%m-%d")`}
#+CURRENCY: ${4:CAD|USD|DKK|GBP}
#+CONTACT: ${5:Contact ID}
#+PROJECT: ${6:Project ID}
#+title:${1:1234-5678}
#+date: `(format-time-string "%Y-%m-%d")`
#+issued: ${2:`(format-time-string "%Y-%m-%d")`}
#+paid: ${3:`(format-time-string "%Y-%m-%d")`}
#+currency: ${4:CAD|USD|DKK|GBP}
#+contact: ${5:Contact ID}
#+project: ${6:Project ID}
| *Description* | *qty* | *rate* | *total* |
|----------------------------------------------+-----+--------+-------|
| $0 [1] | | | |
|----------------------------------------------+-----+--------+-------|
| | | | |
#+TBLFM: $4=$2+$3::@>$4=vsum(@2..@-1)
#+tblfm: $4=$2+$3::@>$4=vsum(@2..@-1)
[1] ...

View file

@ -1,6 +1,6 @@
#+TITLE:${1:Project Name}
#+DATE: `(format-time-string "%Y-%m-%d")`
#+CONTACT: ${2:Contact name}
#+title:${1:Project Name}
#+date: `(format-time-string "%Y-%m-%d")`
#+contact: ${2:Contact name}
$0