summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-04-27 06:18:38 +0100
committerjao <jao@gnu.org>2021-04-27 06:18:38 +0100
commitd53478315909a4eab614c754022ff69e7e105347 (patch)
treee072216378e68b7c3b9ff36177099ce4653e5505
parent6c0f7d1c91b8741d760d6052f5ff89d966876cec (diff)
downloadelibs-d53478315909a4eab614c754022ff69e7e105347.tar.gz
elibs-d53478315909a4eab614c754022ff69e7e105347.tar.bz2
learnt how to index list-id (notmuch config set index.header.List List-Id)
-rw-r--r--email.org8
-rw-r--r--init.org6
2 files changed, 9 insertions, 5 deletions
diff --git a/email.org b/email.org
index 8a9b109..755e066 100644
--- a/email.org
+++ b/email.org
@@ -533,7 +533,8 @@
#+begin_src emacs-lisp
(use-package notmuch-show
:init
- (setq notmuch-show-all-multipart/alternative-parts nil
+ (setq notmuch-message-headers '("Subject" "To" "Cc" "Date" "List-Id")
+ notmuch-show-all-multipart/alternative-parts nil
notmuch-show-indent-messages-width 0
notmuch-show-imenu-indent t
notmuch-show-part-button-default-action 'notmuch-show-view-part
@@ -662,7 +663,8 @@
:demand t
:init
- (setq notmuch-show-mark-read-tags '("-new" "-unread")
+ (setq notmuch-crypto-process-mime nil
+ notmuch-show-mark-read-tags '("-new" "-unread")
notmuch-archive-tags '("+trove" "-new" "-unread" "-flagged")
notmuch-tagging-keys
'(("a" notmuch-archive-tags "Archive")
@@ -758,6 +760,8 @@
tag_deleted "jao.(drivel|lists|books|think)" 3d
tag_deleted "feeds.+" 3d
+ notmuch tag +deleted +trash -new -unread -- "folder:trash and tag:new"
+
XDG_RUNTIME_DIR='/run/user/1000' \
/usr/local/bin/emacsclient -e '(jao-notmuch-update-minibuffer)' > /dev/null
#+end_src
diff --git a/init.org b/init.org
index c0ec176..3d2d9ce 100644
--- a/init.org
+++ b/init.org
@@ -3029,10 +3029,10 @@
#+begin_src emacs-lisp
(defun jao-circe (&optional p)
(interactive "P")
+ ;; (when (or p (y-or-n-p "Connect to bitlbee using circe? "))
+ ;; (circe "Bitlbee"))
(when (or p (y-or-n-p "Connect to freenode using circe? "))
- (circe "Freenode"))
- (when (or p (y-or-n-p "Connect to bitlbee using circe? "))
- (circe "Bitlbee")))
+ (circe "Freenode")))
(defun jao-chats (&optional p)
(interactive "P")