From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19777 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: test message: broken content-type & 8-bit messages Date: 09 Dec 1998 15:46:12 -0500 Organization: Computer Dept of U Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <5bogpddox7.fsf@brandy.cs.rochester.edu> References: <5bk901z3lk.fsf@brandy.cs.rochester.edu> <5b90ghf956.fsf@brandy.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035158065 13334 80.91.224.250 (20 Oct 2002 23:54:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:54:25 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA21054 for ; Wed, 9 Dec 1998 15:55:05 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.9.1/8.9.1) with ESMTP id OAA20791; Wed, 9 Dec 1998 14:48:54 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 09 Dec 1998 14:46:41 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id OAA13000 for ; Wed, 9 Dec 1998 14:46:31 -0600 (CST) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id PAA20863 for ; Wed, 9 Dec 1998 15:46:19 -0500 (EST) Original-Received: from slate.cs.rochester.edu (slate.cs.rochester.edu [192.5.53.101]) by cayuga.cs.rochester.edu (8.6.9/O) with ESMTP id PAA03969; Wed, 9 Dec 1998 15:46:14 -0500 Original-Received: from brandy.cs.rochester.edu (brandy.cs.rochester.edu [192.5.53.199]) by slate.cs.rochester.edu (8.6.9/O) with ESMTP id PAA11891; Wed, 9 Dec 1998 15:46:13 -0500 Original-Received: (from zsh@localhost) by brandy.cs.rochester.edu (SMI-8.6/N++) id PAA29600; Wed, 9 Dec 1998 15:46:13 -0500 Original-To: Vladimir Volovich , ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q User-Agent: Gnus/5.070065 (Pterodactyl Gnus v0.65) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 59 Xref: main.gmane.org gmane.emacs.gnus.general:19777 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:19777 >>>>> "VVV" == Vladimir Volovich writes: VVV> this did not help either. no changes; i see VVV> \301\305\302... instead of russian chars in those broken VVV> messages. note that when there is absolutely no content-type VVV> header, gnus shows russian characters right (by default in VVV> koi8-r). but i those message there was a content-type header, but VVV> it was broken: it contained "text". in some earlier versions of VVV> pgnus these messages were shown right. You means there is "Content-type: text" in header? So you can see a [1. text] button in *Article* buffer. Am I right? If so, the content is not supposed to be decoded, since the minor type of content is unknown. The mm-insert-inline is called instead of mm-inline-text. There is a trick to show the decoded content. Press 'i' on the button, then 'C-u i koi8-r RET'. There is a bug when you click the button 4 times. A patch is attached. VVV> btw: from documentation on gnus-default-charset: VVV> Default charset assumed to be used when viewing non-ASCII VVV> characters. This variable is used only in non-Mule Emacsen. VVV> but i do use mule (emacs 20.3 with mule). The documentation is incorrect. -- Shenghuo ChangeLog: Wed Dec 9 15:18:39 1998 Shenghuo ZHU * mm-decode.el (mm-display-part): Forward a line. :- cut ---- --- mm-decode.el 1998/12/09 20:17:55 1.1 +++ mm-decode.el 1998/12/09 20:18:18 @@ -236,7 +236,8 @@ (if (eq user-method 'inline) (progn (forward-line 1) - (mm-display-inline handle)) + (mm-display-inline handle) + 'inline) (when (or user-method method (not no-default)) @@ -244,6 +245,7 @@ (not method) (equal "text" (car (split-string type)))) (progn + (forward-line 1) (mm-insert-inline handle (mm-get-part handle)) 'inline) (mm-display-external