From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28369 Path: main.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.emacs.gnus.general Subject: Re: de .* and gnus-group-posting-charset-alist Date: 21 Dec 1999 21:23:40 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <87r9ggm4ab.fsf@deneb.cygnus.argh.org> References: <87ogbwjtpw.fsf@deneb.cygnus.argh.org> <87so15xmug.fsf@deneb.cygnus.argh.org> <87puw1yz7o.fsf@deneb.cygnus.argh.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165229 29508 80.91.224.250 (21 Oct 2002 01:53:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:53:49 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 26AD7D051E for ; Tue, 21 Dec 1999 15:52:11 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB14925; Tue, 21 Dec 1999 14:51:44 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 21 Dec 1999 14:51:33 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA14235 for ; Tue, 21 Dec 1999 14:51:17 -0600 (CST) Original-Received: from mail.cid.net (unknown [212.172.21.2]) by mailhost.sclp.com (Postfix) with ESMTP id 5E028D0520 for ; Tue, 21 Dec 1999 15:49:35 -0500 (EST) Original-Received: from uucp by mail.cid.net (Exim 3.11) with local-bsmtp id 120WDx-0000BD-01; Tue, 21 Dec 1999 21:49:37 +0100 Original-Received: from deneb.cygnus.argh.org ([192.168.1.2] ident=root) by cygnus.argh.org with esmtp (Exim 3.02 #1) id 120Vzl-000112-00 for ding@gnus.org; Tue, 21 Dec 1999 21:34:57 +0100 Original-Received: from fw by deneb.cygnus.argh.org with local (Exim 3.02 #1) id 120Vor-0003mY-00 for ding@gnus.org; Tue, 21 Dec 1999 21:23:41 +0100 Original-To: ding@gnus.org In-Reply-To: Florian Weimer's message of "21 Dec 1999 00:22:35 +0100" Original-Lines: 36 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28369 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28369 Okay, here it is: 1999-12-21 Florian Weimer * gnus-msg.el (gnus-group-posting-charset-alist): New layout. (gnus-setup-message): No longer make `message-posting-charset' buffer-local. (gnus-setup-posting-charset): Reflect the new layout of `gnus-group-posting-charset-alist' and `message-posting-charset'. * message.el (message-send-mail): Bind `message-this-is-mail' and `message-posting-charset'. (message-send-news): Dito, and honour new layout of `message-posting-charset'. (message-encode-message-body): Ignore `message-posting-charset'. * mm-bodies.el (mm-body-encoding): Consider `message-posting-charset' when deciding whether to use 8bit. * rfc2047.el (rfc2047-encode-message-header): Back out change. (rfc2047-encodable-p): Now solely for headers; use `message-posting-charset'. `message-posting-charset' is now a list of the form (HEADER-CHARSET BODY-CHARSETS...). It's still taken from `gnus-group-posting-charset-alist'. If HEADER-CHARSET is nil, 8-bit characters are always encoded in the header. Otherwise, HEADER-CHARSET is a symbol which denotes the charset which is to be left unencoded (blechhh!). BODY-CHARSETS is either t (which means: always use 8-bit encoding) or a list of symbols naming charsets which can be encoded using 8-bit (other charsets will be encoded as quoted-printable). The special value nil indicates that quoted-printable should be used for all charsets. I sincerely hope that this will find its way into 5.8.3. Some stuff like this is certainly required to solve this nasty problem once and for all.