From 5efecfcdab8520f5da50ddf14b7e6de2b4155d51 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 15 May 2021 20:46:15 -0400 Subject: various small email-related tweaks --- .emacs.d/init.el | 2 +- .emacs.d/lisp/bandali-gnus.el | 16 +++++++++------- .emacs.d/lisp/bandali-message.el | 1 + 3 files changed, 11 insertions(+), 8 deletions(-) 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 -- cgit v1.2.3-60-g2f50