add po-mode.el from the gettext repo
[~bandali/configs] / .emacs.d / lisp / bandali-gnus.el
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))