2001-10-17 21:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Thu, 18 Oct 2001 01:02:29 +0000 (01:02 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Thu, 18 Oct 2001 01:02:29 +0000 (01:02 +0000)
* gnus.texi (Formatting Basics): Extended format specs.

texi/ChangeLog
texi/gnus.texi

index dbae64e..c7777b7 100644 (file)
@@ -1,3 +1,7 @@
+2001-10-17 21:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus.texi (Formatting Basics): Extended format specs.
+
 2001-10-17  Per Abrahamsen  <abraham@dina.kvl.dk>
 
        * gnus.texi (Summary Buffer Lines): Documment %( and %).
index 648823b..c4a11d5 100644 (file)
@@ -4169,7 +4169,8 @@ possible to change this.  Just write a new function
 
 The default string is @samp{%U%R%z%I%(%[%4L: %-23,23n%]%) %s\n}.
 
-The following format specification characters are understood:
+The following format specification characters and extended format
+specification(s) are understood:
 
 @table @samp
 @item N
@@ -4259,6 +4260,9 @@ article has any children.
 The line number.
 @item O
 Download mark.
+@item &user-date;
+Age sensitive date format.  Various date format is defined in
+@code{gnus-user-date-format-alist}.
 @item u
 User defined specifier.  The next character in the format string should
 be a letter.  Gnus will call the function
@@ -18201,6 +18205,8 @@ particularly wide values.  For that you can say @samp{%4,6y}, which
 means that the field will never be more than 6 characters wide and never
 less than 4 characters wide.
 
+Also Gnus supports some extended format specifications, such as
+@samp{%&user-date;}.
 
 @node Mode Line Formatting
 @subsection Mode Line Formatting
@@ -18300,6 +18306,9 @@ be inserted into the buffer just like information from any other
 specifier.  This function may also be called with dummy values, so it
 should protect against that.
 
+Also Gnus supports extended user-defined specs, such as @samp{%u&foo;}.
+Gnus will call the function @code{gnus-user-format-function-}@samp{foo}.
+
 You can also use tilde modifiers (@pxref{Advanced Formatting} to achieve
 much the same without defining new functions.  Here's an example:
 @samp{%~(form (count-lines (point-min) (point)))@@}.  The form