From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58894 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: changing gnus-group-posting-charset-alist Date: Fri, 15 Oct 2004 19:30:00 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1097836291 30742 80.91.229.6 (15 Oct 2004 10:31:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Oct 2004 10:31:31 +0000 (UTC) Original-X-From: ding-owner+M7432@lists.math.uh.edu Fri Oct 15 12:31:22 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CIPMo-0000ke-00 for ; Fri, 15 Oct 2004 12:31:22 +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 1CIPM1-000106-00; Fri, 15 Oct 2004 05:30:33 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CIPLs-0000zy-00 for ding@lists.math.uh.edu; Fri, 15 Oct 2004 05:30:24 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CIPLq-00020v-TE for ding@lists.math.uh.edu; Fri, 15 Oct 2004 05:30:22 -0500 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id E44143A0207 for ; Fri, 15 Oct 2004 05:30:15 -0500 (CDT) Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.42) id 1CIPLf-0003Zz-T1 for ding@gnus.org; Fri, 15 Oct 2004 06:30:12 -0400 Original-To: ding@gnus.org 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.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:laa90xEAPFlRAwSE/fOdKpr5jHM= X-Hashcash: 1:17:041015:ding@gnus.org::2Rz4uuIvUzcAJv4V:00000kmL X-Antivirus-Scanner: Clean mail though you should still use an Antivirus 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: Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58894 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58894 --=-=-= Hi, I'm wondering for years about the default value for the gnus-group-posting-charset-alist variable. | gnus-group-posting-charset-alist's value is | (("^\\(no\\|fr\\)..." iso-8859-1 (iso-8859-1)) | ("^\\(fido7\\|relcom\\)..." koi8-r (koi8-r)) | (message-this-is-mail nil nil) | (message-this-is-news nil t)) | | Alist of regexps and permitted unencoded charsets for posting. | Each element of the alist has the form (TEST HEADER BODY-LIST), where | TEST is either a regular expression matching the newsgroup header or a | variable to query, | HEADER is the charset which may be left unencoded in the header (nil | means encode all charsets), | BODY-LIST is a list of charsets which may be encoded using 8bit | content-transfer encoding in the body, or one of the special values | nil (always encode using quoted-printable) or t (always use 8bit). | | Note that any value other than nil for HEADER infringes some RFCs, so | use this option with care. Is it still necessary not to encode text by qp or something to post news articles to no, fr, fido7 and relcom newsgroups? I don't use Norwegian, French or Russian, so it isn't my business, though. As for other newsgroups, Gnus forces the 8bit encoding especially to news articles' body by default. Isn't it a vestige of the time when Gnus had not been multiligualized? It is hard for me to imagine there's a difference between mail and news. What I'd like to say is: let's change the default value to: (message-this-is-news nil nil) Almost Japanese text which I write can be encoded by iso-2022-jp and 7bit. So, those text will be posted as 7bit articles. However, I sometimes followup to articles containing characters which cannot be encoded by 7bit. In those cases, text will be encoded by shift_jis, utf-8 and so forth and fed to the server without being encoded with qp or base64. A newsreader posting such articles may be only Gnus nowadays. Therefore, I make it a rule to recommend Japanese users to modify the value as follows: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline (eval-after-load "gnus-msg" '(if (boundp 'gnus-group-posting-charset-alist) (let ((news (assq 'message-this-is-news gnus-group-posting-charset-alist))) (if news (setcdr news '(nil nil)))))) --=-=-= Content-Disposition: inline WDYT? --=-=-=--