From e62c8a78ec0b8727d138fbe4144cf718b7da867d Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Sat, 15 Oct 2022 13:51:15 +0200 Subject: Remove Guix packages --- Mail.org | 110 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) (limited to 'Mail.org') diff --git a/Mail.org b/Mail.org index d946108..b0c8449 100644 --- a/Mail.org +++ b/Mail.org @@ -4,66 +4,66 @@ * jd-mu4e.el #+begin_src emacs-lisp - (use-package org-msg) + (use-package org-msg) + + (use-package mu4e + :defer 20 + :ensure nil + :config + (require 'org-mu4e) + + (setq mu4e-update-interval (* 10 60)) + (setq mu4e-get-mail-command "mbsync -a") + (setq mu4e-maildir "~/Mail") + + (setq mu4e-completing-read-function #'ivy-completing-read) + + (setq mu4e-change-filenames-when-moving t) + + (setq mu4e-contexts + `(,(make-mu4e-context + :name "Abaks" + :match-func (lambda (msg) (when msg + (string-prefix-p "/abaks" (mu4e-message-field msg :maildir)))) + :vars '( + (user-full-name . "Jakub Dlugosz") + (user-mail-address . "jakub@abaks.pl") + (mu4e-sent-folder . "/abaks/Sent Items") + (mu4e-trash-folder . "/abaks/Trash") + (mu4e-drafts-folder . "/abaks/Drafts") + (mu4e-refile-folder . "/abaks/Archive") + (mu4e-sent-messages-behavior . sent) + )) + ,(make-mu4e-context + :name "Gmail" + :match-func (lambda (msg) (when msg + (string-prefix-p "/gmail" (mu4e-message-field msg :maildir)))) + :vars '( + (user-full-name . "Jakub Dlugosz") + (user-mail-address . "jdlugosz963@gmail.pl") + (mu4e-sent-folder . "/gmail/\[Gmail\]/Wys\&AUI-ane") + (mu4e-trash-folder . "/gmail/\[Gmail\]/Kosz") + (mu4e-drafts-folder . "/gmail/\[Gmail\]/Wersje\ robocze") + (mu4e-refile-folder . "/gmail/Archive") + (mu4e-sent-messages-behavior . sent) + )))) - (use-package mu4e - :defer 20 - :ensure nil - :config - (require 'org-mu4e) + (setq mail-user-agent 'mu4e-user-agent + message-send-mail-function 'smtpmail-send-it + smtpmail-smtp-server "smtp.abaks.pl" + smtpmail-local-domain "pl" + smtpmail-smtp-service 465 + smtpmail-stream-type 'ssl) - (setq mu4e-update-interval (* 10 60)) - (setq mu4e-get-mail-command "mbsync -a") - (setq mu4e-maildir "~/Mail") + (mu4e t)) - (setq mu4e-completing-read-function #'ivy-completing-read) + (jd/leader-key-def + "m" '(:ignore t :which-key "mail") + "mm" 'mu4e + "mc" 'mu4e-compose-new) - (setq mu4e-change-filenames-when-moving t) - (setq mu4e-contexts - `(,(make-mu4e-context - :name "Abaks" - :match-func (lambda (msg) (when msg - (string-prefix-p "/abaks" (mu4e-message-field msg :maildir)))) - :vars '( - (user-full-name . "Jakub Dlugosz") - (user-mail-address . "jakub@abaks.pl") - (mu4e-sent-folder . "/abaks/Sent Items") - (mu4e-trash-folder . "/abaks/Trash") - (mu4e-drafts-folder . "/abaks/Drafts") - (mu4e-refile-folder . "/abaks/Archive") - (mu4e-sent-messages-behavior . sent) - )) - ,(make-mu4e-context - :name "Gmail" - :match-func (lambda (msg) (when msg - (string-prefix-p "/gmail" (mu4e-message-field msg :maildir)))) - :vars '( - (user-full-name . "Jakub Dlugosz") - (user-mail-address . "jdlugosz963@gmail.pl") - (mu4e-sent-folder . "/gmail/\[Gmail\]/Wys\&AUI-ane") - (mu4e-trash-folder . "/gmail/\[Gmail\]/Kosz") - (mu4e-drafts-folder . "/gmail/\[Gmail\]/Wersje\ robocze") - (mu4e-refile-folder . "/gmail/Archive") - (mu4e-sent-messages-behavior . sent) - )))) - - (setq mail-user-agent 'mu4e-user-agent - message-send-mail-function 'smtpmail-send-it - smtpmail-smtp-server "smtp.abaks.pl" - smtpmail-local-domain "pl" - smtpmail-smtp-service 465 - smtpmail-stream-type 'ssl) - - (mu4e t)) - - (jd/leader-key-def - "m" '(:ignore t :which-key "mail") - "mm" 'mu4e - "mc" 'mu4e-compose-new) - - - (provide 'jd-mu4e) + (provide 'jd-mu4e) #+end_src -- cgit v1.2.3