From e0ec6bfab646e67c188ce1c86fdd683f263f3df1 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 13 Jun 2023 18:56:23 -0700 Subject: [PATCH] [oni-org] Add template for capturing Emacs package questions --- oni-org/oni-org.el | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index c9aeede..2b2c02a 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0607.232822 +;; Version: 2023.0613.185557 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table) ;; This program is free software; you can redistribute it and/or modify @@ -1212,6 +1212,21 @@ This is done by adding a ‘:hidden t’ header argument to the code block." (tags-todo "TODO=\"TODO\"+#listening" ((org-agenda-overriding-header (oni-org--center-align "To Listen To"))))))) +(setf (map-elt org-capture-templates "sE") + '("Questions for Emacs packages" plain (function ignore) + "- Do I want to integrate this in my configuration? + - %? +- What will it add / What advantage will it bring? + - +- How would I integrate it with my config? + - " + :empty-lines 1 + :immediate-finish t + :jump-to-captured t)) + +(setf (map-elt org-capture-templates "s") + '("Snippets")) + (setf (map-elt org-capture-templates "t") '("A simple TODO item." entry (file "") "* TODO %? :PROPERTIES: