home: Remove unused package and config for emacs-mu4e-maildirs-extension

* .guix/rekahsoft/guix-config/home.scm: Remove the emacs-mu4e-maildirs-extension package
* user-config/emacs/.emacs.d/config.org: Remove the now unnecessary configuration for
mu4e-maildirs-extension (fwiw, this functionality is now included by default upstream).
This commit is contained in:
Collin J. Doering 2023-12-25 00:03:02 -05:00
parent 53ca043cb9
commit 76da1da2cb
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
2 changed files with 0 additions and 29 deletions

View File

@ -92,7 +92,6 @@ single certifcate used for local development with caddy.")
emacs-ix
emacs-lsp-haskell
emacs-mu4e-dashboard
emacs-mu4e-maildirs-extension
emacs-org-html-theme-darksun
emacs-org-html-themes
emacs-org-projectile

View File

@ -1238,34 +1238,6 @@ Leverage [[https://github.com/seagle0128/all-the-icons-ibuffer][all-the-icons-ib
:after mu4e
:config (mu4e-icalendar-setup))
;; TODO: this functionality has moved upstream. See: https://github.com/djcb/mu/pull/1586.
;; Also, this appears to be broken when using guix powered emacs
(use-package mu4e-maildirs-extension
:after mu4e
:config (progn
(mu4e-maildirs-extension)
;; Override mu4e-maildirs-extension-get-relevant-maildirs to allow filtering of
;; displayed maildirs depending on the current mu4e context
(defun mu4e-maildirs-extension-get-relevant-maildirs ()
(seq-filter (lambda (maildir)
(string-match-p
(alist-get 'user-mail-address (mu4e-context-vars (mu4e-context-current)))
maildir))
(mu4e-get-maildirs)))
(defun mu4e-maildirs-after-enter-context ()
(interactive)
(let ((current-prefix-arg '(16)))
(mu4e-maildirs-extension-with-buffer
(call-interactively 'mu4e-maildirs-extension-force-update))))
(defadvice mu4e-context-switch
(after mu4e-context-after-enter-func activate)
(mu4e-maildirs-after-enter-context))
(ad-activate 'mu4e-context-switch)))
(use-package mu4e-alert
:after mu4e
:commands mu4e-alert-set-default-style