From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63765 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: mm-coding-system-priorities per hierarchy Date: Fri, 22 Sep 2006 17:38:13 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158914728 20611 80.91.229.2 (22 Sep 2006 08:45:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Sep 2006 08:45:28 +0000 (UTC) Original-X-From: ding-owner+m12292@lists.math.uh.edu Fri Sep 22 10:45:27 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GQgep-0001cN-Lt for ding-account@gmane.org; Fri, 22 Sep 2006 10:45:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1GQgec-0000rH-00; Fri, 22 Sep 2006 03:45:02 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GQgYL-0000rC-00 for ding@lists.math.uh.edu; Fri, 22 Sep 2006 03:38:33 -0500 Original-Received: from quimby.gnus.org ([80.91.227.211]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1GQgYK-000464-F1 for ding@lists.math.uh.edu; Fri, 22 Sep 2006 03:38:33 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GQgY9-0002E7-00 for ; Fri, 22 Sep 2006 10:38:21 +0200 Original-Received: from [205.234.185.198] (port=53027 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1GQgY6-0004DC-Cn for ding@gnus.org; Fri, 22 Sep 2006 03:38:18 -0500 Original-To: ding@gnus.org X-Hashcash: 1:20:060922:ding@gnus.org::GiXvVe97hyoyqFNv:00004zo1 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:KlQyb+uG4rIBnFgsK5/t5GovfwQ= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.4 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63765 Archived-At: >>>>> In >>>>> Reiner Steib wrote: > On Thu, Sep 21 2006, Katsumi Yamaoka wrote: >> This has to be used with care. I verified that the Japanese >> mail message written when the de.test group was selected or just >> after exiting the de.test group was sent with the utf-8 encoding >> even if iso-2022-jp is better to be used. > I think the documentation of `gnus-newsgroup-variables' should > actually be improved and it should describe what > `gnus-summary-make-local-variables' does [1] (or maybe I just didn't > read the doc string carefully enough [2]): I had learned how those group-local variables work by reading the source code. > When using this expression... > (add-to-list 'gnus-newsgroup-variables 'mm-coding-system-priorities) > ... `gnus-summary-make-local-variables' sets the global value of > `mm-coding-system-priorities' to nil. I'd guess nil leads to utf-8 > instead of iso-2022-jp in your environment. No, it is not caused by the nil value. > Do you get the expected behavior with this expression? > (add-to-list 'gnus-newsgroup-variables > '(mm-coding-system-priorities . global)) That is not good for me. It should be the following: (add-to-list 'gnus-newsgroup-variables '(mm-coding-system-priorities . '(iso-8859-1 iso-2022-jp iso-2022-jp-2 shift_jis utf-8))) The value here is the default value of `mm-coding-system-priorities' in the Japanese language environment. Though it is insufficient for me even if I do so. If I set `gnus-parameters' (as you suggested) in addition to this, the value of `mm-coding-system-priorities' is changed into (iso-8859-1 iso-8859-15 utf-8) when I enter to a DE newsgroup. It is useful for posting German messages there (it is highly unlikely with me, though ;-). However, I should not send Japanese mails in there even if I recall an urgent business. It is because `iso-2022-jp', which is used for Japanese messages traditionally, is not preferred when encoding Japanese text. It is possible to send Japanese messages safely after I exit the DE group, isn't it? *No*. `mm-coding-system-priorities' still has the value (iso-8859-1 iso-8859-15 utf-8) at that time. The value will not contain `iso-2022-jp' until I enter to a FJ group or a group that is not listed in `gnus-parameters'. What I'd like to say is that a similar problem will probably happen with people who are not in the Japanes language environment as well. Group parameter is useful to things associated to group, however messages are not always associated to group. Regards,