Per newsgroup timezone in Date: header
问题 How to configure emacs/gnus to use per newsgroup time zone in posted messages? I would like to use CET time zone in pl.* newsgroups and UCT in general newsgroups. 回答1: I would use message-header-setup-hook or message-send-hook with this function: (defvar date-rewrite-rules '(("pl" . return-time-string-in-CET) ("." . return-time-string-in-UTC))) (defun rewrite-date-based-on-newsgroup () (save-excursion (save-restriction (widen) (goto-char 0) (narrow-to-region 0 (search-forward mail-header