summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-07-15 13:29:32 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-07-15 14:54:17 -0700
commitf23408d1c2fb9afb74c44b7c666a5d4ff5338896 (patch)
treefb932701c7dbb02277917b66857b916c7a37144a
parenta6750c269b96922703dc132a66c87425ad9140d0 (diff)
downloaddotfiles-f23408d1c2fb9afb74c44b7c666a5d4ff5338896.tar.gz
stop syncing drafts written in other clients, for simplicity
-rwxr-xr-x.config/notmuch/default/hooks/post-new3
-rw-r--r--.emacs.d/init.el7
-rw-r--r--.mbsyncrc6
-rw-r--r--.muttrc2
4 files changed, 4 insertions, 14 deletions
diff --git a/.config/notmuch/default/hooks/post-new b/.config/notmuch/default/hooks/post-new
index 66f7f4d0..60a5b2f0 100755
--- a/.config/notmuch/default/hooks/post-new
+++ b/.config/notmuch/default/hooks/post-new
@@ -1,8 +1,5 @@
#!/bin/sh
-# mark all drafts as drafts, and as read
-notmuch tag -unread +draft -- folder:drafts
-
# mark all spam as spam, and as read, for Gnus
notmuch tag -unread +spam -- folder:spam
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index ab935fe4..e3b5ec1e 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -2830,8 +2830,8 @@ mutt's review view, after exiting EDITOR."
(process-groups
(cl-loop with never-process
= (spw/nm~
- (spw/nm| spw/feed-sources
- "folder:drafts" "folder:notes" "folder:sent"))
+ (spw/nm|
+ spw/feed-sources "folder:notes" "folder:sent"))
for (name . queries) in process-groups collect
(cons name (spw/nm& (spw/nm| queries) never-process))))
(browse-groups
@@ -2906,8 +2906,7 @@ mutt's review view, after exiting EDITOR."
;; browse group.
do (gnus-group-set-subscription
nname (if (string-prefix-p "Process-" name) 2 1)))
- (dolist (group '("nnmaildir+fmail:drafts" "nnmaildir+fmail:notes"))
- (gnus-group-set-subscription group 2))
+ (gnus-group-set-subscription "nnmaildir+fmail:notes" 2)
;; Finally, group buffer setup. If we want to add groups other than
;; my nnselect groups to topics, we might have starting values
diff --git a/.mbsyncrc b/.mbsyncrc
index 30fca4e7..4ad67c6f 100644
--- a/.mbsyncrc
+++ b/.mbsyncrc
@@ -87,11 +87,6 @@ Slave :fmmaildir:sent
# Master :fmimap:Lists
# Slave :fmmaildir:lists
-# drafts written outside of Emacs, in other clients
-Channel fmaild
-Master :fmimap:Drafts
-Slave :fmmaildir:drafts
-
Channel fmailt
Master :fmimap:Trash
Slave :fmmaildir:trash
@@ -112,7 +107,6 @@ Slave :fmmaildir:notes
Group fastmail
Channel fmaili
Channel fmails
-Channel fmaild
Channel fmailt
# Channel lists
Channel notes
diff --git a/.muttrc b/.muttrc
index 833f0667..b2623418 100644
--- a/.muttrc
+++ b/.muttrc
@@ -11,7 +11,7 @@ set use_from = yes
set folder=~/.fmail/
set spoolfile = +inbox
set record = +sent
-set postponed = +drafts
+# set postponed = +drafts
# set certificate_file = ~/.mutt/certificates
set move = no
set delete = ask-yes