summaryrefslogtreecommitdiffstats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2023-09-13 21:59:06 -0400
committerAmin Bandali <bandali@gnu.org>2023-09-13 22:14:42 -0400
commitf2426f01a0fe0db214369af7e751fdfdb801e603 (patch)
tree3fce20101bd3771d1ad02e6f9c33179e181b77da /.emacs.d/lisp
parentf3c4487c6c79880ec5ae3a6eda485c6825e95984 (diff)
downloadconfigs-f2426f01a0fe0db214369af7e751fdfdb801e603.tar.gz
configs-f2426f01a0fe0db214369af7e751fdfdb801e603.tar.xz
configs-f2426f01a0fe0db214369af7e751fdfdb801e603.zip
Keep original message Date in Gnus
It's neat seeing people's differing timezones. :-)
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/bandali-gnus.el15
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))