summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el17
1 files changed, 2 insertions, 15 deletions
diff --git a/init.el b/init.el
index 9b8fed3..c558d7f 100644
--- a/init.el
+++ b/init.el
@@ -941,18 +941,6 @@
(interactive)
(jao-recoll (format "dir:%s " jao-org-notes-dir)))
-(defun jao-recoll-open-with-notmuch (fname)
- (let ((id (with-temp-buffer
- (insert-file fname)
- (goto-char (point-min))
- (when (re-search-forward "[Mm]essage-[Ii][Dd]: <?\\([^><]+\\)>?"
- nil t)
- (match-string 1)))))
- (when id (notmuch-show (concat "id:" id)))))
-
-(with-eval-after-load "org"
- (org-link-set-parameters "message" :follow #'jao-recoll-open-with-notmuch))
-
;;;; consult-recoll
(jao-load-path "consult-recoll")
@@ -985,7 +973,6 @@
(use-package consult-recoll
:init (setq consult-recoll-open-fns
'(("application/pdf" . jao-open-doc)
- ("message/rfc822" . jao-recoll-open-with-notmuch)
("text/html" . jao-recoll-open-html))
consult-recoll-search-flags nil
consult-recoll-format-candidate #'jao-recoll-format)
@@ -1847,9 +1834,9 @@
;; (transient-get-suffix 'jao-transient-pdf-view '(0 -1))
;;; Email
-(setq jao-afio-mail-function 'notmuch)
+(setq jao-afio-mail-function 'gnus)
(require 'jao-custom-email)
-(require 'jao-custom-notmuch)
+;; (require 'jao-custom-notmuch)
;;; Shells and terms
;;;; shell modes