From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26900 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: article editing oddity Date: 15 Nov 1999 16:23:01 -0500 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <5b1z9rlaa2.fsf@giga.cs.rochester.edu> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164022 21795 80.91.224.250 (21 Oct 2002 01:33:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:33:42 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA19763 for ; Mon, 15 Nov 1999 16:23:45 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB32299; Mon, 15 Nov 1999 15:23:38 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 15 Nov 1999 15:23:44 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA06250 for ; Mon, 15 Nov 1999 15:23:32 -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 ESMTP id QAA19749 for ; Mon, 15 Nov 1999 16:23:04 -0500 (EST) Original-Received: from giga.cs.rochester.edu (giga.cs.rochester.edu [192.5.53.186]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id QAA20358 for ; Mon, 15 Nov 1999 16:23:03 -0500 (EST) Original-Received: (from zsh@localhost) by giga.cs.rochester.edu (8.9.1b+Sun/Q++) id QAA29301; Mon, 15 Nov 1999 16:23:03 -0500 (EST) Original-To: 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 In-Reply-To: Lars Magne Ingebrigtsen's message of "15 Nov 1999 21:51:28 +0100" Original-Lines: 49 User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26900 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26900 >>>>> "LMI" == Lars Magne Ingebrigtsen writes: LMI> Vladimir Volovich writes: >> i've got a message which was in windows-1251 encoding, but >> Content-Type header said that it was in koi8-r, so the message was >> unreadable. >> >> I pressed C-u g e, and changed "charset=koi8-r" to >> "charset=windows-1251" in the Content-Type header. >> >> Then i pressed C-c C-c >> >> But the saved article still contained "charset=koi8-r" ! LMI> Uhm. `C-c C-c' after editing the message will create brand new LMI> Content-Type headers. And since Gnus thought that the text was LMI> koi8-r, Gnus put that in the new header. How about not rebuilding headers if the article is shown by `C-u g'? Or not reuilding headers when check in by `C-u C-c C-c'? LMI> *sigh* LMI> Anyway, `C-u W M c' will let you re-interpret the message using a LMI> different charset. [...] I don't think this works, unless press `C-u g C-u W M c', since it washes an article in the article buffer, where characters have been decoded by (wrong) charset, then the result is double-decoded, i.e. `\201's shows. Even `C-u g C-u W M c' does not decode subject and other headers. *sigh* My unofficial solution is advicing gnus-summary-show-article. When number argument comes, pick a charset from predefined charsets or minibuffer, set gnus-newsgroup-charset and gnus-newsgroup-ignored-charsets, then ad-do-it. If this solution is acceptable, I can patch the gnus-summary-show-article, and maybe a little work let gnus ignored all charsets. -- Shenghuo ZHU