From: yamaoka Date: Tue, 25 Feb 2003 11:59:25 +0000 (+0000) Subject: Synch to Oort Gnus. X-Git-Tag: t-gnus-6_15_17-00-quimby~41 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=884eb86fe156f116b7c28a66d331813a84a75d29;p=elisp%2Fgnus.git- Synch to Oort Gnus. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cad8a15..01fb590 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2003-02-24 Reiner Steib + + * 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 * spam.el (spam-stat-register-spam-routine, diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el index 9f7512b..c811ab9 100644 --- a/lisp/gnus-msg.el +++ b/lisp/gnus-msg.el @@ -309,11 +309,21 @@ If nil, the address field will always be empty after invoking :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. diff --git a/texi/ChangeLog b/texi/ChangeLog index 2d2033a..aa71917 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,8 @@ +2003-02-24 Reiner Steib + + * gnus.texi (Mail and Post): Added `gnus-user-agent', removed + `gnus-version-expose-system'. + 2003-02-24 Jesper Harder * gnus.texi: Markup fixes. diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index 845b363..07926a9 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -10540,13 +10540,19 @@ ISP が POP-before-SMTP の認証を要求している場合に有用です。関 これらのグループに投稿する事は (@kbd{a}) それでも苦痛を引き起こすでしょ うけど。 -@item gnus-version-expose-system -@vindex gnus-version-expose-system - -ディフォルトでシステムタイプ (@samp{i686-pc-linux} のよう -な @code{system-configuration} 変数の値) が自動的に生成され -る User-Agent ヘッダーに現れます。それは (主に美的感覚によって) 消すこと -が望まれるかもしれません。そういう場合は、これを @code{nil} にして下さい。 +@item gnus-user-agent +@vindex gnus-user-agent +@cindex User-Agent + +(訳注: T-gnus では現在この変数による制御は機能しません。) この変数は、ど +の情報が User-Agent ヘッダーに陳列されるかを制御します。それは次のシンボ +ルまたは文字列のうちのどれかであることができます: @code{full} (全情報を +見せる、すなわち Emacs と Gnus のバージョンとシステム構成)、 +@code{emacs-gnus} (Emacs と Gnus のバージョンだけを見せる)、 +@code{emacs-gnus-type} (@code{emacs-gnus} と同じ+システムタイプ)、 +@code{gnus} (Gnus のバージョンだけを見せる)、または好みの文字列。これを +文字列にするときは、正しいフォーマットを使っていることを確認して下さ +い (RFC2616 参照)。 @end table あなたは自分が送るメッセージの綴りを調べたいと思うかも知れません。もしく diff --git a/texi/gnus.texi b/texi/gnus.texi index 9a16bcd..2a459d8 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -11091,13 +11091,17 @@ really are mailing lists. Then, at least, followups to the mailing 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