summaryrefslogtreecommitdiff
path: root/gnus-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-09-21 17:57:46 +0800
committerJSDurand <mmemmew@gmail.com>2021-09-21 17:57:46 +0800
commit8fb37fef393277725158fd1872d1c10f8127a017 (patch)
treef8aae0eed09184975c1755aca200e84c846f1335 /gnus-conf.el
parent6362f35dea2d831dc2a9c1a09ac0fff7b37571c7 (diff)
gnus-conf: use Chinese FROM field when needed
* gnus-conf.el (gnus-parameters, gnus-posting-styles): When replying to my professors, use the Chinese FROM field.
Diffstat (limited to 'gnus-conf.el')
-rw-r--r--gnus-conf.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnus-conf.el b/gnus-conf.el
index 689a2fa..55b3b36 100644
--- a/gnus-conf.el
+++ b/gnus-conf.el
@@ -100,24 +100,24 @@
;;; parameters
(setq gnus-parameters
- '((".*"
+ `((".*"
(posting-style
- (gcc "nnmaildir+private:Sent")
- (From (format "Durand <%s>" user-mail-address))))))
+ (gcc "nnmaildir+private:Sent")))))
(require 'gnus-msg)
;;; posting style
-(setf gnus-posting-styles
+(setq gnus-posting-styles
'((".*"
(signature "李俊緯")
(address "mmemmew@gmail.com")
- (name "Durand"))
+ (From (format "Durand <%s>" user-mail-address)))
((header "from" "protesilaos")
- (signature "Sévère Durand"))
+ (signature "Durand"))
((header "from" "tan\\|mlh\\|hsialc")
(name "李俊緯")
+ (From (format "李俊緯 <%s>" user-mail-address))
(signature "生 俊緯"))))
(setq gnus-gcc-mark-as-read t)