From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17114 Path: main.gmane.org!not-for-mail From: zsh@cs.rochester.edu (Öìʤ»ð) Newsgroups: gmane.emacs.gnus.general Subject: re-encode edited article or not Date: 15 Sep 1998 02:39:48 -400 Organization: Computer Dept of U Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2nogsh516z.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=cn-gb-2312 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035155873 31653 80.91.224.250 (20 Oct 2002 23:17:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:17:53 +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 CAA02075 for ; Tue, 15 Sep 1998 02:37:06 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id BAF29949; Tue, 15 Sep 1998 01:08:03 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 15 Sep 1998 01:35:14 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id BAA23812 for ; Tue, 15 Sep 1998 01:34:39 -0500 (CDT) 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 CAA02050 for ; Tue, 15 Sep 1998 02:34:00 -0400 (EDT) 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 CAA18938 for ; Tue, 15 Sep 1998 02:33:59 -0400 Original-Received: from brain.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by slate.cs.rochester.edu (8.6.9/O) with ESMTP id CAA05746 for ; Tue, 15 Sep 1998 02:33:56 -0400 Original-Received: (from zsh@localhost) by brain.cs.rochester.edu (8.9.0/8.8.5) id CAA03871; Tue, 15 Sep 1998 02:39:50 -0400 Original-To: ding@gnus.org X-Attribution: ZSH Original-Lines: 17 User-Agent: Gnus/5.070031 (Pterodactyl Gnus v0.31) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17114 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17114 After a article is edited, gnus-request-replace-article encodes the article then replaces original one. It works well in general cases. But when "e" an article which is showed (gnus-summary-show-article) with argument, i.e. [C-u g] in summary buffer, the article is not decoded, but encoded when you finish editing, so some MIME headers are changed. For example, edit this article after [C-u g], the charset will be changed from "cn-gb-2312" to "us-ascii". I think a local varible should be added to article buffer to indicated whether the article has been decoded, so that it can be decided whether the article needs to be encoded when gnus-request-replace-article. -- Shenghuo ZHU(Öìʤ»ð)