summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-07-08 09:44:46 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-07-11 18:37:33 -0700
commit21ccea4c3cd489c0527dbdec8d06f076f163d216 (patch)
tree9ee42c094d6f7af40a6484be01322f3cb0ef65a8
parent5fca09e07ee80865ea7dbee8500ee9b53648929e (diff)
downloaddotfiles-21ccea4c3cd489c0527dbdec8d06f076f163d216.tar.gz
move notmuch db and hooks to new XDG locations
-rwxr-xr-x.config/notmuch/default/hooks/post-new (renamed from .fmail/.notmuch/hooks/post-new)0
-rwxr-xr-x.config/notmuch/default/hooks/pre-new (renamed from .fmail/.notmuch/hooks/pre-new)0
-rw-r--r--.duply/melete-spwhitton-home/exclude2
-rw-r--r--.emacs.d/init.el3
-rw-r--r--.notmuch-config11
5 files changed, 4 insertions, 12 deletions
diff --git a/.fmail/.notmuch/hooks/post-new b/.config/notmuch/default/hooks/post-new
index 1f908d41..1f908d41 100755
--- a/.fmail/.notmuch/hooks/post-new
+++ b/.config/notmuch/default/hooks/post-new
diff --git a/.fmail/.notmuch/hooks/pre-new b/.config/notmuch/default/hooks/pre-new
index 302651d8..302651d8 100755
--- a/.fmail/.notmuch/hooks/pre-new
+++ b/.config/notmuch/default/hooks/pre-new
diff --git a/.duply/melete-spwhitton-home/exclude b/.duply/melete-spwhitton-home/exclude
index 3812be85..d230f72b 100644
--- a/.duply/melete-spwhitton-home/exclude
+++ b/.duply/melete-spwhitton-home/exclude
@@ -5,7 +5,7 @@
- /home/spwhitton/lib/podcasts/.git/annex/objects
- /home/spwhitton/lib/rt
- /home/spwhitton/lib/debconf-share
-- /home/spwhitton/.fmail/.notmuch
+- /home/spwhitton/.local/share/notmuch
- /home/spwhitton/.fmail/annex
- /home/spwhitton/local/rt
- /home/spwhitton/local/big
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 96a04dda..6cc7cf75 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -2779,7 +2779,8 @@ mutt's review view, after exiting EDITOR."
(defun spw/sync-notmuch-nnselect-groups ()
"Add or update all my Gnus-saved notmuch searches."
(interactive)
- (when (file-directory-p (expand-file-name "~/.fmail/.notmuch/xapian/"))
+ (when (file-directory-p
+ (expand-file-name "~/.local/share/notmuch/default/xapian/"))
(let* ((process-groups
`(;; To process Inbox Zero-style in distinct inboxes.
diff --git a/.notmuch-config b/.notmuch-config
index 597482a7..f5b8dc7f 100644
--- a/.notmuch-config
+++ b/.notmuch-config
@@ -2,17 +2,8 @@
#
# For more information about notmuch, see https://notmuchmail.org
-# Database configuration
-#
-# The only value supported here is 'path' which should be the top-level
-# directory where your mail currently exists and to where mail will be
-# delivered in the future. Files should be individual email messages.
-# Notmuch will store its database within a sub-directory of the path
-# configured here named ".notmuch".
-#
-
[database]
-path=/home/spwhitton/.fmail
+mail_root=/home/spwhitton/.fmail
# User configuration
#