projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
08a1550
)
* .emacs.d/lisp/bandali-gnus.el: Decode application/gzip attachments.
author
Amin Bandali
<bandali@gnu.org>
Sun, 25 Dec 2022 05:53:27 +0000
(
00:53
-0500)
committer
Amin Bandali
<bandali@gnu.org>
Sun, 25 Dec 2022 05:57:13 +0000
(
00:57
-0500)
.emacs.d/lisp/bandali-gnus.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/lisp/bandali-gnus.el
b/.emacs.d/lisp/bandali-gnus.el
index
f4e44e6
..
2ca03e4
100644
(file)
--- a/
.emacs.d/lisp/bandali-gnus.el
+++ b/
.emacs.d/lisp/bandali-gnus.el
@@
-379,13
+379,22
@@
(with-eval-after-load 'gnus-dired
(add-hook 'dired-mode-hook 'gnus-dired-mode))
(with-eval-after-load 'gnus-dired
(add-hook 'dired-mode-hook 'gnus-dired-mode))
+(with-eval-after-load 'mm-archive
+ (add-to-list
+ 'mm-archive-decoders
+ '("application/gzip" nil "gunzip" "-S" ".zip" "-kd" "%f" "-r")))
+
(with-eval-after-load 'mm-decode
(setq
;; 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
(with-eval-after-load 'mm-decode
(setq
;; 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-verify-option 'known)
+ (add-to-list
+ 'mm-inline-media-tests
+ `("application/gzip" mm-archive-dissect-and-inline identity))
+ (add-to-list 'mm-inlined-types "application/gzip" 'append))
(with-eval-after-load 'mm-uu
(when (version< "27" emacs-version)
(with-eval-after-load 'mm-uu
(when (version< "27" emacs-version)