Changes committed gnus/texi (ChangeLog gnus.texi)
"Katsumi Yamaoka" <[email protected]> Fri, 16 Jan 2009 09:03:25 +0100
| Newsgroups | gmane.emacs.gnus.commits |
|---|---|
| Message-ID | <[email protected]> |
Modified: ChangeLog gnus.texi (Non-ASCII Group Names, RSS): Update description of nnmail-pathname-coding-system. Index: ChangeLog diff -u gnus/texi/ChangeLog:7.434 gnus/texi/ChangeLog:7.435 --- ChangeLog:7.434 Tue Jan 6 23:11:13 2009 +++ ChangeLog Fri Jan 16 09:03:25 2009 @@ -1,3 +1,8 @@ +2009-01-16 Katsumi Yamaoka <[email protected]> + + * gnus.texi (Non-ASCII Group Names, RSS): Update description of + nnmail-pathname-coding-system. + 2009-01-06 Katsumi Yamaoka <[email protected]> * gnus.texi (Group Parameters): Add note for local variables. Index: gnus.texi diff -u gnus/texi/gnus.texi:7.313 gnus/texi/gnus.texi:7.314 --- gnus.texi:7.313 Tue Jan 6 23:11:13 2009 +++ gnus.texi Fri Jan 16 09:03:25 2009 @@ -4312,43 +4312,48 @@ @code{gnus-group-name-charset-group-alist}. There is one more important variable for non-@acronym{ASCII} group -names. @emph{XEmacs users must set this}. Emacs users necessarily need -not do: +names: @table @code @item nnmail-pathname-coding-system -The value of this variable should be a coding system or @code{nil} -(which is the default). The @code{nnml} back end, the @code{nnrss} back -end, the @acronym{NNTP} marks feature (@pxref{NNTP marks}), the agent, -and the cache use non-@acronym{ASCII} group names in those files and -directories. This variable overrides the value of -@code{file-name-coding-system} which specifies the coding system used -when encoding and decoding those file names and directory names. +@vindex nnmail-pathname-coding-system +The value of this variable should be a coding system or @code{nil}. The +default is @code{nil} in Emacs, or is the aliasee of the coding system +named @code{file-name} (a certain coding system of which an alias is +@code{file-name}) in XEmacs. + +The @code{nnml} back end, the @code{nnrss} back end, the @acronym{NNTP} +marks feature (@pxref{NNTP marks}), the agent, and the cache use +non-@acronym{ASCII} group names in those files and directories. This +variable overrides the value of @code{file-name-coding-system} which +specifies the coding system used when encoding and decoding those file +names and directory names. In XEmacs (with the @code{mule} feature), @code{file-name-coding-system} is the only means to specify the coding system used to encode and decode -file names. Therefore, @emph{you, XEmacs users, have to set it} to the -coding system that is suitable to encode and decode non-@acronym{ASCII} -group names. On the other hand, Emacs uses the value of +file names. On the other hand, Emacs uses the value of @code{default-file-name-coding-system} if @code{file-name-coding-system} -is @code{nil}. Normally the value of -@code{default-file-name-coding-system} is initialized according to the -locale, so you will need to do nothing if the value is suitable to -encode and decode non-@acronym{ASCII} group names. +is @code{nil} or it is bound to the value of +@code{nnmail-pathname-coding-system} which is @code{nil}. + +Normally the value of @code{default-file-name-coding-system} in Emacs or +@code{nnmail-pathname-coding-system} in XEmacs is initialized according +to the locale, so you will need to do nothing if the value is suitable +to encode and decode non-@acronym{ASCII} group names. The value of this variable (or @code{default-file-name-coding-system}) does not necessarily need to be the same value that is determined by @code{gnus-group-name-charset-method-alist} and @code{gnus-group-name-charset-group-alist}. -If you want to subscribe to the groups spelled in Chinese but -@code{default-file-name-coding-system} is initialized by default to -@code{iso-latin-1} for example, that is the most typical case where you -have to set @code{nnmail-pathname-coding-system} even if you are an -Emacs user. The @code{utf-8} coding system is a good candidate for it. -Otherwise, you may change the locale in your system so that -@code{default-file-name-coding-system} may be initialized to an -appropriate value, instead of specifying this variable. +If @code{default-file-name-coding-system} or this variable is +initialized by default to @code{iso-latin-1} for example, although you +want to subscribe to the groups spelled in Chinese, that is the most +typical case where you have to customize +@code{nnmail-pathname-coding-system}. The @code{utf-8} coding system is +a good candidate for it. Otherwise, you may change the locale in your +system so that @code{default-file-name-coding-system} or this variable +may be initialized to an appropriate value. @end table Note that when you copy or move articles from a non-@acronym{ASCII} @@ -17617,10 +17622,8 @@ @code{nnrss-directory} (see below) for each @code{nnrss} group. File names containing non-@acronym{ASCII} characters will be encoded by the coding system specified with the @code{nnmail-pathname-coding-system} -variable. If it is @code{nil}, in Emacs the coding system defaults to -the value of @code{default-file-name-coding-system}. If you are using -XEmacs and want to use non-@acronym{ASCII} group names, you should set -the value for the @code{nnmail-pathname-coding-system} variable properly. +variable or other. Also @xref{Non-ASCII Group Names}, for more +information. The @code{nnrss} back end generates @samp{multipart/alternative} @acronym{MIME} articles in which each contains a @samp{text/plain} part