From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: Re: RMAIL bails out with coding-system-error Date: Sun, 05 May 2002 13:21:02 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <87bsbw87pq.fsf@snail.pool> <200205050534.g455YTX01607@aztec.santafe.edu> <87lmayeube.fsf@snail.pool> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1020597853 32207 127.0.0.1 (5 May 2002 11:24:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 5 May 2002 11:24:13 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org, pmr@pajato.com Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 174K7h-0008NM-00 for ; Sun, 05 May 2002 13:24:13 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 174KEL-0005lI-00 for ; Sun, 05 May 2002 13:31:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 174K7b-0000f1-00; Sun, 05 May 2002 07:24:07 -0400 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 174K56-0000C7-00; Sun, 05 May 2002 07:21:32 -0400 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.3/8.12.3) with ESMTP id g45BLBQ4032096; Sun, 5 May 2002 13:21:11 +0200 Original-To: David Kuehling In-Reply-To: <87lmayeube.fsf@snail.pool> (David Kuehling's message of "05 May 2002 12:57:09 +0200") Mail-Copies-To: nobody Original-Lines: 29 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Economic Science, i686-pc-linux) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3597 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3597 David Kuehling writes: > BTW, the origin of the reported occurence of that bug seems to be the > use of Mule-UCS. In rmail.el, line 1660, the following code is used to > add an X-Coding-System header to mails, using the last coding system > used: > > (insert "X-Coding-System: " > (symbol-name last-coding-system-used) > "\n"))) > > When I received the mail, the last coding system I used was one of the > coding systems that came with Mule-UCS. After temporaryly disabling > Mule-UCS, that coding system wasn't known any more... > > Using the last coding system is after all a little confusing. Maybe > `default-buffer-file-coding-system' would be a better (and more > predictable) choice? Is this X-Coding-System header actually used by RMAIL for anything? I think the header is a very bad idea and it should be removed. There is a standard for interchanging non-ASCII data using email, and it is called MIME. Inventing something new that is specific to emacs (and can even depend on which additional packages are installed..) is a perfect method to cause problems for users and make people reject the entire software because it doesn't follow standards. Gnus provides two supposedly standalone packages called Message and Emacs MIME which provides MIME encoding and decoding, can't RMAIL use them?