various small email-related tweaks
authorAmin Bandali <bandali@gnu.org>
Sun, 16 May 2021 00:46:15 +0000 (20:46 -0400)
committerAmin Bandali <bandali@gnu.org>
Sun, 16 May 2021 00:46:15 +0000 (20:46 -0400)
.emacs.d/init.el
.emacs.d/lisp/bandali-gnus.el
.emacs.d/lisp/bandali-message.el

index 0ae6f40..8510489 100644 (file)
@@ -99,7 +99,7 @@
 \f
 ;;; whoami
 
 \f
 ;;; whoami
 
-(setq user-full-name "Amin Bandali"
+(setq ;; user-full-name "bandali"
       user-mail-address "bandali@gnu.org")
 
 \f
       user-mail-address "bandali@gnu.org")
 
 \f
index 89da030..6c8998a 100644 (file)
                                       gnus-thread-sort-by-date))
   ;; local key bindings
   (define-key gnus-summary-mode-map (kbd "M-L") #'org-store-link)
                                       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")
   (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"))
    '((".*"
       (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 "")
      ((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
   (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))
 
          mm-decrypt-option 'known
          mm-verify-option 'known))
 
index 5ec7eac..e24a629 100644 (file)
@@ -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-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
    message-kill-buffer-on-exit t
    message-send-mail-function #'smtpmail-send-it
    message-subscribed-address-functions