summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/custom/my-org.el12
-rw-r--r--emacs/init.el1
2 files changed, 9 insertions, 4 deletions
diff --git a/emacs/custom/my-org.el b/emacs/custom/my-org.el
index 4017483..f338751 100644
--- a/emacs/custom/my-org.el
+++ b/emacs/custom/my-org.el
@@ -8,7 +8,7 @@
 (require 'org-archive)
 (require 'ox)
 (require 'ox-md)
-(require 'notmuch)
+(require 'ol-notmuch)
 
 (defvar my/org-directory
   (if (memq window-system '(mac ns))
@@ -111,12 +111,16 @@
    "* %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n")
 
   ("f" "feed" entry (file "inbox.org")
-   ,(concat "* TODO %:elfeed-entry-title\n"
+   ,(concat "* TO-READ %:elfeed-entry-title :feed:\n"
             ":PROPERTIES:\n:CREATED: %T\n:END:\n"
             "%a\n"))
 
-  ("m" "mail" entry (file "inbox.org")
-   (function my/mail-todo-format-string))
+  ("m" "email note" entry (file "inbox.org")
+   ,(concat "* TODO [#A] %:subject :mail:\n"
+            ":PROPERTIES:\n"
+            ":CREATED: %T\n"
+            ":END:\n"
+            "%a\n%i%?"))
 
   ("j" "journal" entry
    (file+olp+datetree "journal.org")
diff --git a/emacs/init.el b/emacs/init.el
index cb2fbfa..bf2ceaf 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -43,6 +43,7 @@
                           nix-mode
                           notmuch
                           orderless
+                          ol-notmuch
                           protobuf-mode
                           rg
                           systemd