+2003-02-24 Reiner Steib <Reiner.Steib@gmx.de>
+
+ * gnus-msg.el (gnus-user-agent): New variable.
+ (gnus-version-expose-system): Removed. Obsoleted by
+ `gnus-user-agent'.
+ (gnus-extended-version): Use `gnus-user-agent'.
+
2003-02-24 Teodor Zlatanov <tzz@lifelogs.com>
* spam.el (spam-stat-register-spam-routine,
:group 'gnus-message
:type 'boolean)
-(defcustom gnus-version-expose-system nil
- "If non-nil, `system-configuration' is exposed in `gnus-extended-version'.
-Note that this variable is ineffective in T-gnus."
+(defcustom gnus-user-agent 'full
+ "Which information should be exposed in the User-Agent header.
+
+It can be one of the symbols `full' \(show full information, i.e. Emacs and
+Gnus version and system configuration\), `emacs-gnus' \(show only Emacs and
+Gnus version\), `emacs-gnus-type' \(same as `emacs-gnus' plus system type\),
+`gnus' \(show only Gnus version\) or a custom string. If you set it to a
+string, be sure to use a valid format, see RFC 2616."
:group 'gnus-message
- :type 'boolean)
+ :type '(choice (item :tag "Show full info" full)
+ (item :tag "Show Gnus and Emacs versions and system type"
+ emacs-gnus-type)
+ (item :tag "Show Gnus and Emacs versions" emacs-gnus)
+ (item :tag "Show only Gnus version" gnus)
+ (string :tag "Other")))
;;; Internal variables.
+2003-02-24 Reiner Steib <Reiner.Steib@gmx.de>
+
+ * gnus.texi (Mail and Post): Added `gnus-user-agent', removed
+ `gnus-version-expose-system'.
+
2003-02-24 Jesper Harder <harder@ifa.au.dk>
* gnus.texi: Markup fixes.
\e$B$3$l$i$N%0%k!<%W$KEj9F$9$k;v$O\e(B (@kbd{a}) \e$B$=$l$G$b6lDK$r0z$-5/$3$9$G$7$g\e(B
\e$B$&$1$I!#\e(B
-@item gnus-version-expose-system
-@vindex gnus-version-expose-system
-
-\e$B%G%#%U%)%k%H$G%7%9%F%`%?%$%W\e(B (@samp{i686-pc-linux} \e$B$N$h$&\e(B
-\e$B$J\e(B @code{system-configuration} \e$BJQ?t$NCM\e(B) \e$B$,<+F0E*$K@8@.$5$l\e(B
-\e$B$k\e(B User-Agent \e$B%X%C%@!<$K8=$l$^$9!#$=$l$O\e(B (\e$B<g$KH~E*463P$K$h$C$F\e(B) \e$B>C$9$3$H\e(B
-\e$B$,K>$^$l$k$+$b$7$l$^$;$s!#$=$&$$$&>l9g$O!"$3$l$r\e(B @code{nil} \e$B$K$7$F2<$5$$!#\e(B
+@item gnus-user-agent
+@vindex gnus-user-agent
+@cindex User-Agent
+
+(\e$BLuCm\e(B: T-gnus \e$B$G$O8=:_$3$NJQ?t$K$h$k@)8f$O5!G=$7$^$;$s!#\e(B) \e$B$3$NJQ?t$O!"$I\e(B
+\e$B$N>pJs$,\e(B User-Agent \e$B%X%C%@!<$KDDNs$5$l$k$+$r@)8f$7$^$9!#$=$l$O<!$N%7%s%\\e(B
+\e$B%k$^$?$OJ8;zNs$N$&$A$N$I$l$+$G$"$k$3$H$,$G$-$^$9\e(B: @code{full} (\e$BA4>pJs$r\e(B
+\e$B8+$;$k!"$9$J$o$A\e(B Emacs \e$B$H\e(B Gnus \e$B$N%P!<%8%g%s$H%7%9%F%`9=@.\e(B)\e$B!"\e(B
+@code{emacs-gnus} (Emacs \e$B$H\e(B Gnus \e$B$N%P!<%8%g%s$@$1$r8+$;$k\e(B)\e$B!"\e(B
+@code{emacs-gnus-type} (@code{emacs-gnus} \e$B$HF1$8!\%7%9%F%`%?%$%W\e(B)\e$B!"\e(B
+@code{gnus} (Gnus \e$B$N%P!<%8%g%s$@$1$r8+$;$k\e(B)\e$B!"$^$?$O9%$_$NJ8;zNs!#$3$l$r\e(B
+\e$BJ8;zNs$K$9$k$H$-$O!"@5$7$$%U%)!<%^%C%H$r;H$C$F$$$k$3$H$r3NG'$7$F2<$5\e(B
+\e$B$$\e(B (RFC2616 \e$B;2>H\e(B)\e$B!#\e(B
@end table
\e$B$"$J$?$O<+J,$,Aw$k%a%C%;!<%8$NDV$j$rD4$Y$?$$$H;W$&$+$bCN$l$^$;$s!#$b$7$/\e(B
lists will work most of the time. Posting to these groups (@kbd{a}) is
still a pain, though.
-@item gnus-version-expose-system
-@vindex gnus-version-expose-system
-
-Your system type (@code{system-configuration} variable, such as
-@samp{i686-pc-linux}) is exposed in the auto-generated by default
-User-Agent header. Sometimes, it may be desireable (mostly because of
-aesthetic reasons) to turn it off. In this case, set it to @code{nil}.
+@item gnus-user-agent
+@vindex gnus-user-agent
+@cindex User-Agent
+
+This variable controls which information should be exposed in the
+User-Agent header. It can be one of the symbols @code{full} (show full
+information, i.e. Emacs and Gnus version and system configuration),
+@code{emacs-gnus} (show only Emacs and Gnus version),
+@code{emacs-gnus-type} (same as @code{emacs-gnus} plus system type),
+@code{gnus} (show only Gnus version) or a custom string. If you set it
+to a string, be sure to use a valid format, see RFC 2616.
@end table