Commit bae8504934fa

Vincent Demeester <vincent@sbr.pm>
2025-07-30 10:29:22
tools/emacs: add a new capture templates to be used from protocol
That allows me to capture something from firefox as a task instead of just a link. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 81e1690
Changed files (1)
tools
emacs
tools/emacs/init.el
@@ -1184,6 +1184,12 @@ minibuffer, even without explicitly focusing it."
 		 "* TODO %?\n:PROPERTIES:\n:CREATED:\t%U\n:END:\n\n%i\n\nFrom: %a"
 		 :empty-lines 1)
 	       t)
+  (add-to-list 'org-capture-templates
+	       `("tl" " New task (from capture)" entry
+		 (file ,org-inbox-file)
+		 "* TODO %a\n:PROPERTIES:\n:CREATED:\t%U\n:END:\n\n%i\n\nFrom: %a"
+		 :empty-lines 1)
+	       t)
   (add-to-list 'org-capture-templates
 	       `("td" "✅ Done" entry
 		 (file ,org-inbox-file)