aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/init/ycp-gnus.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-gnus.el b/emacs/.emacs.d/init/ycp-gnus.el
index 90a2c5a..27ed0bd 100644
--- a/emacs/.emacs.d/init/ycp-gnus.el
+++ b/emacs/.emacs.d/init/ycp-gnus.el
@@ -97,6 +97,18 @@
"C-c n u" #'gnus-group-get-new-news)
(my-server-timer my-gnus-new-news-timer nil 300
'my-gnus-group-get-new-news-quietly)
+ ;; https://superuser.com/questions/519685/gnus-get-rid-of-mail-and-news-folders
+ ;; this also fixes issues with presumably nonexisting
+ ;; nndraft-directory causing
+ ;; (wrong-type-argument stringp nndraft-directory)
+ ;; which may require a restart of gnus to fix
+ (setq message-directory "~/.emacs.d/mail/")
+ (setq gnus-directory "~/.emacs.d/news/")
+ (setq nnfolder-directory "~/.emacs.d/mail/archive")
+ (setq nndraft-directory "~/.emacs.d/mail/drafts/")
+ (setcdr (assoc 'nndraft-directory
+ (nnoo-variables 'nndraft))
+ nndraft-directory)
)
(my-configure