This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; accrual basis accounting | |
2016/2/1 * (201602ab) ab client invoice | |
revenues:business:consulting:ab $-1000 | |
assets:business:accounts receivable:ab $1000 | |
; or, | |
; cash basis accounting doesn't include invoices, but use an unbalanced posting to track it anyway | |
2016/2/1 * (201602ab) ab client invoice | |
(assets:business:accounts receivable:ab) $1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun org-read-structure-template () | |
"Read org-mode structure template with completion. Returns template string." | |
(let* ((templates (map 'list 'second org-structure-template-alist)) | |
(prefixes (map 'list (lambda (tp) | |
;; Get template and pre-whitespace prefix for completion | |
(reverse (s-match (rx (group | |
(1+ (not (any "\n" space)))) | |
(1+ anything)) | |
tp))) | |
templates)) |
OlderNewer