From: Amin Bandali Date: Sun, 16 May 2021 00:46:15 +0000 (-0400) Subject: various small email-related tweaks X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/5efecfcdab8520f5da50ddf14b7e6de2b4155d51?ds=sidebyside various small email-related tweaks --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0ae6f40..8510489 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -99,7 +99,7 @@ ;;; whoami -(setq user-full-name "Amin Bandali" +(setq ;; user-full-name "bandali" user-mail-address "bandali@gnu.org") diff --git a/.emacs.d/lisp/bandali-gnus.el b/.emacs.d/lisp/bandali-gnus.el index 89da030..6c8998a 100644 --- a/.emacs.d/lisp/bandali-gnus.el +++ b/.emacs.d/lisp/bandali-gnus.el @@ -246,10 +246,10 @@ gnus-thread-sort-by-date)) ;; local key bindings (define-key gnus-summary-mode-map (kbd "M-L") #'org-store-link) - (define-key gnus-summary-mode-map (kbd "r") - #'gnus-summary-reply-with-original) - (define-key gnus-summary-mode-map (kbd "R") - #'gnus-summary-wide-reply-with-original) + ;; (define-key gnus-summary-mode-map (kbd "r") + ;; #'gnus-summary-reply-with-original) + ;; (define-key gnus-summary-mode-map (kbd "R") + ;; #'gnus-summary-wide-reply-with-original) (defvar b/gnus-summary-prefix-map) (define-prefix-command 'b/gnus-summary-prefix-map) (define-key gnus-summary-mode-map (kbd "v") @@ -282,8 +282,8 @@ jami:bandali") '((".*" (address "bandali@gnu.org") ("X-Message-SMTP-Method" "smtp fencepost.gnu.org 587")) - ("nnimap\\+gnu:l\\..*" - (signature nil)) + ;; ("nnimap\\+gnu:l\\..*" + ;; (signature nil)) ((header "subject" "ThankCRM") (to "webmasters-comment@gnu.org") (body "") @@ -346,7 +346,9 @@ jami:bandali") (add-hook 'dired-mode-hook 'gnus-dired-mode)) (with-eval-after-load 'mm-decode - (csetq mm-discouraged-alternatives '("text/html" "text/richtext") + (csetq ;; mm-attachment-override-types `("text/x-diff" "text/x-patch" + ;; ,@mm-attachment-override-types) + mm-discouraged-alternatives '("text/html" "text/richtext") mm-decrypt-option 'known mm-verify-option 'known)) diff --git a/.emacs.d/lisp/bandali-message.el b/.emacs.d/lisp/bandali-message.el index 5ec7eac..e24a629 100644 --- a/.emacs.d/lisp/bandali-message.el +++ b/.emacs.d/lisp/bandali-message.el @@ -54,6 +54,7 @@ ;; message-cite-style 'message-cite-style-bandali message-citation-line-format "%N writes:\n" message-citation-line-function 'message-insert-formatted-citation-line + message-confirm-send t message-kill-buffer-on-exit t message-send-mail-function #'smtpmail-send-it message-subscribed-address-functions