summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--email.org5
-rw-r--r--gnus.org7
-rw-r--r--init.org2
-rw-r--r--notmuch.org1
4 files changed, 9 insertions, 6 deletions
diff --git a/email.org b/email.org
index cf76ff0..f1a561a 100644
--- a/email.org
+++ b/email.org
@@ -298,6 +298,11 @@
(jao-consult-add-buffer-source 'jao-mail-consult-source "Mail" ?n)
#+end_src
+* notmuch
+ #+begin_src emacs-lisp
+ (when (eq jao-afio-mail-function 'notmuch)
+ (jao-load-org "notmuch"))
+ #+end_src
* gnus
*** Directories
#+begin_src emacs-lisp
diff --git a/gnus.org b/gnus.org
index 61a9d61..fb5e612 100644
--- a/gnus.org
+++ b/gnus.org
@@ -192,9 +192,6 @@
(add-to-list 'gnus-secondary-select-methods
'(nnmaildir "feeds" (directory "~/var/mail/feeds/")
,(jao-gnus-search-engine 'gnus-search-notmuch))))
-
- (add-to-list 'gnus-secondary-select-methods '(nndiary "diary"))
-
#+end_src
* Demons and notifications
#+begin_src emacs-lisp
@@ -389,10 +386,10 @@
(format (concat "^nnimap:\\("
"\\(bigml/%s\\)\\|"
"\\(jao/%s\\)\\|"
- "\\(feeds/.+\\)\\|trash\\|spam"
+ "\\(feeds/.+\\)\\|trash\\|spam\\|local"
"\\)")
(regexp-opt '("reports" "deploys" "lists" "drivel" "bugs"))
- (regexp-opt '("think" "local" "drivel" "lists"))))
+ (regexp-opt '("think" "drivel" "lists"))))
(setq gnus-permanently-visible-groups "^nnselect.*")
diff --git a/init.org b/init.org
index b41f170..1c363e4 100644
--- a/init.org
+++ b/init.org
@@ -1495,7 +1495,7 @@
#+end_src
* Email
#+begin_src emacs-lisp
- (setq jao-afio-mail-function 'gnus) ;; 'notmuch 'gnus 'mu4e
+ (setq jao-afio-mail-function 'notmuch) ;; 'notmuch 'gnus 'mu4e
(jao-load-org "email")
#+end_src
* PDFs
diff --git a/notmuch.org b/notmuch.org
index 5ba0027..651374f 100644
--- a/notmuch.org
+++ b/notmuch.org
@@ -74,6 +74,7 @@
,(jao-notmuch--q "bigml" "bug" "bb")
,@(jao-notmuch--mboxes-search "bigml" "inbox" "support")
,@(jao-notmuch--mboxes-search "jao")
+ ,(jao-notmuch--q "jao" "papers" "jp" '("tag:papers" "tag:new"))
,(jao-notmuch--q "local" nil "l" '("tag:local" "tag:new"))
,(jao-notmuch--q "gmane" "emacs" "e")
,(jao-notmuch--q "gmane" nil "g"