From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47166 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Re: Editing UTF-8 mail messages Date: Mon, 14 Oct 2002 06:05:08 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034568429 14613 127.0.0.1 (14 Oct 2002 04:07:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 14 Oct 2002 04:07:09 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 180wVX-0003nY-00 for ; Mon, 14 Oct 2002 06:07:07 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 180wV6-0005Vv-00; Sun, 13 Oct 2002 23:06:40 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 13 Oct 2002 23:07:21 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id XAA28199 for ; Sun, 13 Oct 2002 23:07:11 -0500 (CDT) Original-Received: (qmail 24485 invoked by alias); 14 Oct 2002 04:08:04 -0000 Original-Received: (qmail 24480 invoked from network); 14 Oct 2002 04:08:04 -0000 Original-Received: from pfepa.post.tele.dk (193.162.153.2) by gnus.org with SMTP; 14 Oct 2002 04:08:04 -0000 Original-Received: from defun.localdomain (0xc3f98213.esnxr3.ras.tele.dk [195.249.130.19]) by pfepa.post.tele.dk (Postfix) with ESMTP id 5FA11481336 for ; Mon, 14 Oct 2002 06:06:21 +0200 (CEST) Original-To: ding@gnus.org In-Reply-To: (Jesper Harder's message of "Sun, 13 Oct 2002 06:42:59 +0200") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-redhat-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47166 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47166 Jesper Harder writes: > 1. When you do a plain `e' Gnus, mangles the encoding. This seems to be > one of the usual MULE-related \201-problems. > > In this case it's caused by `mm-get-part' (in mm-decode.el), which > uses the macro `mm-with-unibyte-current-buffer-mule4'. This macro > does *not* make the buffer unibyte temporarily. > > I don't understand the point of `mm-w-u-c-b-mule4' -- it doesn't > work. Why is it ever used? I suspect that the use of it in several > places could be causing some of the occasional \201-problems. > > - (mm-with-unibyte-current-buffer-mule4 > + (mm-with-unibyte-current-buffer Hmm, it might not be the right fix after all. It does fix the utf-8 editing problem, and I think also another problem that someone reported in gnu.emacs.gnus about utf-8 format=flowed messages being mangled. *But* it introduces \201's in message/rfc822-forwarding of non-ascii messages :-( Hmm, is the " *mm*"-buffer associated with a MIME-handle supposed to be unibyte or multibyte?