From 8fb37fef393277725158fd1872d1c10f8127a017 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Tue, 21 Sep 2021 17:57:46 +0800 Subject: 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. --- gnus-conf.el | 12 ++++++------ 1 file 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) -- cgit v1.2.3-18-g5258