aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2011-01-31 02:01:24 +0000
committerKatsumi Yamaoka2011-01-31 02:01:24 +0000
commit12e3ca0a34ec4848dd22eee4ec4c8a239dc6e09c (patch)
tree3075835c89ed1fde161b0a76b3c4a11631fb5667 /doc/misc
parent16c3e636a68cf74386d3d4d582a3a189b84d700c (diff)
downloademacs-12e3ca0a34ec4848dd22eee4ec4c8a239dc6e09c.tar.gz
emacs-12e3ca0a34ec4848dd22eee4ec4c8a239dc6e09c.zip
gnus-art.el: Rewrite the Date header formatting functionality.
The user can now have infinitely many Date headers. This change should be pretty much backwards-compatible, even though many customisation variables have been removed. gnus.texi (Customizing Articles): Document the new way of customizing the date headers(s).
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/gnus.texi62
2 files changed, 42 insertions, 25 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 8e1bba700fd..de63af5a28c 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12011-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * gnus.texi (Customizing Articles): Document the new way of customizing
4 the date headers(s).
5
12011-01-30 Lars Ingebrigtsen <larsi@gnus.org> 62011-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2 7
3 * gnus.texi (Client-Side IMAP Splitting): Add a complete nnimap fancy 8 * gnus.texi (Client-Side IMAP Splitting): Add a complete nnimap fancy
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 26d54477bb4..1dd3efd17d8 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -9492,23 +9492,15 @@ Say how much time has elapsed between the article was posted and now
9492(@code{gnus-article-date-lapsed}). It looks something like: 9492(@code{gnus-article-date-lapsed}). It looks something like:
9493 9493
9494@example 9494@example
9495X-Sent: 6 weeks, 4 days, 1 hour, 3 minutes, 8 seconds ago 9495Date: 6 weeks, 4 days, 1 hour, 3 minutes, 8 seconds ago
9496@end example 9496@end example
9497 9497
9498@vindex gnus-article-date-lapsed-new-header
9499The value of @code{gnus-article-date-lapsed-new-header} determines
9500whether this header will just be added below the old Date one, or will
9501replace it.
9502
9503An advantage of using Gnus to read mail is that it converts simple bugs
9504into wonderful absurdities.
9505
9506This line is updated continually by default. If you wish to switch 9498This line is updated continually by default. If you wish to switch
9507that off, say: 9499that off, say:
9508 9500
9509@vindex gnus-article-update-lapsed-header 9501@vindex gnus-article-update-date-headers
9510@lisp 9502@lisp
9511(setq gnus-article-update-lapsed-header nil) 9503(setq gnus-article-update-date-headers nil)
9512@end lisp 9504@end lisp
9513 9505
9514in your @file{~/.gnus.el} file. If you want to stop the updating 9506in your @file{~/.gnus.el} file. If you want to stop the updating
@@ -11878,13 +11870,7 @@ controlling variable is a predicate list, as described above.
11878@vindex gnus-treat-strip-trailing-blank-lines 11870@vindex gnus-treat-strip-trailing-blank-lines
11879@vindex gnus-treat-unsplit-urls 11871@vindex gnus-treat-unsplit-urls
11880@vindex gnus-treat-wash-html 11872@vindex gnus-treat-wash-html
11881@vindex gnus-treat-date-english 11873@vindex gnus-treat-date
11882@vindex gnus-treat-date-iso8601
11883@vindex gnus-treat-date-lapsed
11884@vindex gnus-treat-date-local
11885@vindex gnus-treat-date-original
11886@vindex gnus-treat-date-user-defined
11887@vindex gnus-treat-date-ut
11888@vindex gnus-treat-from-picon 11874@vindex gnus-treat-from-picon
11889@vindex gnus-treat-mail-picon 11875@vindex gnus-treat-mail-picon
11890@vindex gnus-treat-newsgroups-picon 11876@vindex gnus-treat-newsgroups-picon
@@ -11939,13 +11925,39 @@ possible but those listed are probably sufficient for most people.
11939 11925
11940@xref{Article Washing}. 11926@xref{Article Washing}.
11941 11927
11942@item gnus-treat-date-english (head) 11928@item gnus-treat-date (head)
11943@item gnus-treat-date-iso8601 (head) 11929
11944@item gnus-treat-date-lapsed (head) 11930This will transform/add date headers according to the
11945@item gnus-treat-date-local (head) 11931@code{gnus-article-date-headers} variable. This is a list of Date
11946@item gnus-treat-date-original (head) 11932headers to display. The formats available are:
11947@item gnus-treat-date-user-defined (head) 11933
11948@item gnus-treat-date-ut (head) 11934@table @code
11935@item ut
11936Universal time, aka GMT, aka ZULU.
11937
11938@item local
11939The user's local time zone.
11940
11941@item english
11942A semi-readable English sentence.
11943
11944@item lapsed
11945The time elapsed since the message was posted.
11946
11947@item combined-elapsed
11948Both the original date header and a (shortened) elapsed time.
11949
11950@item original
11951The original date header.
11952
11953@item iso8601
11954ISO8601 format, i.e., ``2010-11-23T22:05:21''.
11955
11956@item user-defined
11957A format done according to the @code{gnus-article-time-format}
11958variable.
11959
11960@end table
11949 11961
11950@xref{Article Date}. 11962@xref{Article Date}.
11951 11963