Commit 7fbc89cbadde

Vincent Demeester <vincent@sbr.pm>
2017-05-02 23:21:50
Update capture journal template
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 4fd2ddc
Changed files (2)
.emacs.d/emacs.el
@@ -797,9 +797,9 @@ point reaches the beginning or end of the buffer, stop there."
         ("d" "Docker task" entry
          (file+headline (expand-file-name org-main-file org-todos-directory) "Tasks")
          "* TODO gh:docker/%(oc/prmt \"project\" 'd-prj)#%(oc/prmt \"issue/pr\" 'd-issue) %?%(oc/inc \"feature content\" \" [/]\n- [ ] Implementation\n- [ ] Tests\n- [ ] Docs\")")
-        ("j" "Journal entry" plain
+        ("j" "Journal entry" entry
          (file+datetree+prompt (expand-file-name org-journal-file org-root-directory))
-         "%K - %a\n%i\n%?\n")
+         "- %?\n%a\n%i\n")
         ;; other entries
         ))
 
.emacs.d/emacs.org
@@ -769,7 +769,7 @@
                  (not (eq (process-status server-process)
                           'listen)))
          (unless (server-running-p server-name)
-           (server-start))))
+   	(server-start))))
    #+END_SRC
 * Key hints
 ** Which-key
@@ -1651,9 +1651,9 @@
              ("d" "Docker task" entry
               (file+headline (expand-file-name org-main-file org-todos-directory) "Tasks")
               "* TODO gh:docker/%(oc/prmt \"project\" 'd-prj)#%(oc/prmt \"issue/pr\" 'd-issue) %?%(oc/inc \"feature content\" \" [/]\n- [ ] Implementation\n- [ ] Tests\n- [ ] Docs\")")
-             ("j" "Journal entry" plain
+             ("j" "Journal entry" entry
               (file+datetree+prompt (expand-file-name org-journal-file org-root-directory))
-              "%K - %a\n%i\n%?\n")
+              "- %?\n%a\n%i\n")
              ;; other entries
              ))
    #+END_SRC