From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30423 Path: main.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.emacs.gnus.general Subject: Re: People with From: Date: 26 Apr 2000 19:14:43 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <87em7s6ayk.fsf@deneb.cygnus.argh.org> References: <200004241839.UAA27058@lucy.cs.uni-dortmund.de> <200004251104.NAA28148@lucy.cs.uni-dortmund.de> <200004251135.NAA28327@lucy.cs.uni-dortmund.de> <87em7ueymv.fsf@deneb.cygnus.argh.org> <200004252015.WAA28921@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035166963 8401 80.91.224.250 (21 Oct 2002 02:22:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:22:43 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 1E428D051E for ; Wed, 26 Apr 2000 13:13:55 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB31618; Wed, 26 Apr 2000 12:13:36 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 26 Apr 2000 12:12:28 -0500 (CDT) 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 MAA24361 for ; Wed, 26 Apr 2000 12:12:15 -0500 (CDT) Original-Received: from mail.netic.de (mail.s.netic.de [212.9.160.11]) by mailhost.sclp.com (Postfix) with ESMTP id 482FCD051E for ; Wed, 26 Apr 2000 13:11:08 -0400 (EDT) Original-Received: by mail.netic.de (Smail3.2.0.106/mail.s.netic.de) via LF.net GmbH Internet Services via remoteip 212.9.163.32 via remotehost cygnus.argh.org with esmtp for mailhost.sclp.com id m12kVL6-001X3hC; Wed, 26 Apr 2000 19:11:04 +0200 (CEST) Original-Received: from deneb.cygnus.argh.org ([192.168.1.2] ident=exim) by cygnus.argh.org with esmtp (Exim 3.12 #1) id 12kVKH-0000Wz-00 for ding@gnus.org; Wed, 26 Apr 2000 19:10:13 +0200 Original-Received: from fw by deneb.cygnus.argh.org with local (Exim 3.12 #1) id 12kVOd-00080o-00 for ding@gnus.org; Wed, 26 Apr 2000 19:14:43 +0200 Original-To: ding@gnus.org In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 25 Apr 2000 22:15:57 +0200" Original-Lines: 39 User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.6 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30423 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30423 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > Florian Weimer writes: >=20 > > Perhaps I should add something to the manual which explains that? > > Which section would be appropriate? >=20 > Yes, an explanation in the manual would be good. I've done some > cursory browsing of message.info and emacs-mime.info, and I couldn't > find anything about the auto-choose mechanism. Hm. I think there > should be a section somewhere which says that Gnus (or message, or > mml) looks at the message to automatically find a way to encode it > before sending. Sometimes, the message is split into several parts, > and the right charset is chosen, stuff like that. I'm going add it to emacs-mime.texi, somewhere around the description of MML. After all, charset translation from MULE to MIME takes place during MML-to-MIME translation. BTW: I've browsed some source code and discovered a code/comment discrepancy in "mm-encode-body", non-MULE case: (if (not (featurep 'mule)) ;; In the non-Mule case, we search for non-ASCII chars and ;; return the value of `mm-default-charset' if any are found. (save-excursion (goto-char (point-min)) (if (re-search-forward "[^\x0-\x7f]" nil t) (or mail-parse-charset (mm-read-charset "Charset used in the article: ")) ;; The logic in `mml-generate-mime-1' confirms that it's OK ;; to return nil here. nil)) The comment says "mm-default-charset", but actually it's "mail-parse-charset". The value that's actually used by Gnus is "message-default-charset", as it seems (in fact, this is a FAQ ;). I'll change the comment accordingly.