projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a967479
)
[emacs/gnus] bindings and posting styles fixes
author
Amin Bandali
<bandali@gnu.org>
Thu, 8 Nov 2018 04:15:19 +0000
(23:15 -0500)
committer
Amin Bandali
<bandali@gnu.org>
Thu, 8 Nov 2018 04:17:27 +0000
(23:17 -0500)
init.org
patch
|
blob
|
blame
|
history
diff --git
a/init.org
b/init.org
index
0a9434c
..
c784100
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-1780,18
+1780,12
@@
Hopefully temporary.
gnus-message-archive-group "nnimap:Sent"
gnus-parameters
'(("amin"
gnus-message-archive-group "nnimap:Sent"
gnus-parameters
'(("amin"
- (display . 20)
- (posting-style
- ((header "to" "amin@aminb.org")
- (address "amin@aminb.org"))
- ((header "delivered-to" "gnu@aminb.org")
- (address "bandali@gnu.org"))))
+ (display . 20))
("uwaterloo"
(display . 20)
(posting-style
(address "abandali@uwaterloo.ca")
(gcc "\"nnimap+uwaterloo:Sent Items\""))))
("uwaterloo"
(display . 20)
(posting-style
(address "abandali@uwaterloo.ca")
(gcc "\"nnimap+uwaterloo:Sent Items\""))))
- ;; gnus-init-file amin-gnus-init-file
gnus-home-directory (no-littering-expand-var-file-name "gnus/")
gnus-directory (no-littering-expand-var-file-name "gnus/News/")
message-directory amin-maildir
gnus-home-directory (no-littering-expand-var-file-name "gnus/")
gnus-directory (no-littering-expand-var-file-name "gnus/News/")
message-directory amin-maildir
@@
-1822,18
+1816,40
@@
Hopefully temporary.
(lapsed (progn
(string-match " (.+" combined-lapsed)
(match-string 0 combined-lapsed))))
(lapsed (progn
(string-match " (.+" combined-lapsed)
(match-string 0 combined-lapsed))))
- (concat local lapsed)))))
+ (concat local lapsed))))
+ (bind-keys
+ :map gnus-article-mode-map
+ ("r" . gnus-article-reply-with-original)
+ ("R" . gnus-article-wide-reply-with-original)))
(use-package gnus-sum
(use-package gnus-sum
+ :bind (:map gnus-summary-mode-map
+ :prefix-map amin--gnus-summary-prefix-map
+ :prefix "v"
+ ("r" . gnus-summary-reply)
+ ("w" . gnus-summary-wide-reply)
+ ("v" . gnus-summary-show-raw-article))
:config
(setq gnus-extra-headers (append gnus-extra-headers
:config
(setq gnus-extra-headers (append gnus-extra-headers
- '(List-Id X-RT-Originator))))
+ '(List-Id X-RT-Originator)))
+ (bind-keys
+ :map gnus-summary-mode-map
+ ("r" . gnus-summary-reply-with-original)
+ ("R" . gnus-summary-wide-reply-with-original)))
(use-package nnmail
:config
(setq nnmail-extra-headers (append nnmail-extra-headers
'(List-Id X-RT-Originator))))
(use-package nnmail
:config
(setq nnmail-extra-headers (append nnmail-extra-headers
'(List-Id X-RT-Originator))))
+(use-package gnus-msg
+ :config
+ (setq gnus-posting-styles
+ '(((header "delivered-to" "amin@aminb.org")
+ (address "amin@aminb.org"))
+ ((header "delivered-to" "gnu@aminb.org")
+ (address "bandali@gnu.org")))))
+
(use-package mm-decode
:config
(setq mm-discouraged-alternatives '("text/html" "text/richtext")))
(use-package mm-decode
:config
(setq mm-discouraged-alternatives '("text/html" "text/richtext")))