diff options
author | Amin Bandali <bandali@gnu.org> | 2023-09-13 21:59:06 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2023-09-13 22:14:42 -0400 |
commit | f2426f01a0fe0db214369af7e751fdfdb801e603 (patch) | |
tree | 3fce20101bd3771d1ad02e6f9c33179e181b77da | |
parent | f3c4487c6c79880ec5ae3a6eda485c6825e95984 (diff) | |
download | configs-f2426f01a0fe0db214369af7e751fdfdb801e603.tar.gz configs-f2426f01a0fe0db214369af7e751fdfdb801e603.tar.xz configs-f2426f01a0fe0db214369af7e751fdfdb801e603.zip |
Keep original message Date in Gnus
It's neat seeing people's differing timezones. :-)
-rw-r--r-- | .emacs.d/lisp/bandali-gnus.el | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/.emacs.d/lisp/bandali-gnus.el b/.emacs.d/lisp/bandali-gnus.el index 75ecab6..b771b78 100644 --- a/.emacs.d/lisp/bandali-gnus.el +++ b/.emacs.d/lisp/bandali-gnus.el @@ -246,20 +246,7 @@ "^Gnus-Warning:") gnus-visible-headers (mapconcat #'identity gnus-sorted-header-list - "\\|") - ;; local-lapsed article dates - ;; from https://www.emacswiki.org/emacs/GnusFormatting#toc11 - gnus-article-date-headers '(user-defined) - gnus-article-time-format - (lambda (time) - (let* ((date (format-time-string "%a, %d %b %Y %T %z" time)) - (local (article-make-date-line date 'local)) - (combined-lapsed (article-make-date-line date - 'combined-lapsed)) - (lapsed (progn - (string-match " (.+" combined-lapsed) - (match-string 0 combined-lapsed)))) - (concat local lapsed)))) + "\\|")) ;; local key bindings (declare-function org-store-link "ol" (arg &optional interactive?)) (define-key gnus-article-mode-map (kbd "M-L") #'org-store-link)) |