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

View file

@ -1,9 +1,9 @@
#+TITLE:${1:Contact Name} #+title:${1:Contact Name}
#+DATE: `(format-time-string "%Y-%m-%d")` #+date: `(format-time-string "%Y-%m-%d")`
#+EMAIL: ${2:email@address.com} #+email: ${2:email@address.com}
#+ADDRESS: $3 #+address: $3
#+CITY: $4 #+city: $4
#+COUNTRY: $5 #+country: $5
${0:...} ${0:...}
@ -14,4 +14,4 @@ ${0:...}
* Invoices [/] * Invoices [/]
** PENDING YYMM-0000 *1,000 USD* ** PENDING YYMM-0000 *1,000 USD*
* Notes * Notes
* Correspondence * Correspondence

View file

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

View file

@ -1,9 +1,9 @@
#+TITLE:${1:Project Name} #+title:${1:Project Name}
#+DATE: `(format-time-string "%Y-%m-%d")` #+date: `(format-time-string "%Y-%m-%d")`
#+CONTACT: ${2:Contact name} #+contact: ${2:Contact name}
$0 $0
* Tasks [/] * Tasks [/]
* Timeframe * Timeframe
* Notes * Notes