From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16834 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: New bug in 0.22 & 0.23 Date: 09 Sep 1998 15:41:21 +-400 Organization: Computer Dept of U Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <5bhfyh6plq.fsf@rye.cs.rochester.edu> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035155640 30115 80.91.224.250 (20 Oct 2002 23:14:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:14:00 +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 PAA03936 for ; Wed, 9 Sep 1998 15:43:00 -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 OAF00981; Wed, 9 Sep 1998 14:13:51 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 09 Sep 1998 14:42:31 -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 OAA03429 for ; Wed, 9 Sep 1998 14:42:21 -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 PAA03913 for ; Wed, 9 Sep 1998 15:41:36 -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 PAA23217 for ; Wed, 9 Sep 1998 15:41:22 -0400 Original-Received: from rye.cs.rochester.edu (rye.cs.rochester.edu [192.5.53.192]) by slate.cs.rochester.edu (8.6.9/O) with ESMTP id PAA02462 for ; Wed, 9 Sep 1998 15:41:22 -0400 Original-Received: (from zsh@localhost) by rye.cs.rochester.edu (SMI-8.6/N++) id PAA27620; Wed, 9 Sep 1998 15:41:22 -0400 Original-To: ding@gnus.org X-Attribution: ZSH In-Reply-To: Graham Murray's message of "09 Sep 1998 17:47:44 +0000" Original-Lines: 43 User-Agent: Gnus/5.070023 Emacs/20.3 (Pterodactyl Gnus v0.23) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:16834 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:16834 >>>>> "GM" == Graham Murray writes: GM> Jean-Yves Perrier writes: >> all messages I send are archived in an nnfolder:archive group >> Each new message has: >> MIME-Version: 1.0 >> Content-Type: text/plain; charset="us-ascii" >> Content-Transfer-Encoding: 7bit >> >> appended at the end (whatever the content is ISO, 8 bits...) >> >> The same messages are sent correctly to the To: ... (i.e. >> without this appended. GM> More seriously, newsgroup articles posted from Drafts using Agent also GM> have this "header" at the end of the article sent to the server. GM> I am only using emacs 19 here, but at work I have tried pgnus on my GM> emacs 20.3 system and also agent. An article I posted did *not* show GM> this in the Drafts folder (prior to sending), but it showed up in both GM> the archive folder and in the copy posted to the newsserver. I find that message-encode-message-body is called more than once. gnus-request-accept-article, gnus-request-replace-article, message-send-mail, and message-send-news called this function, so when you send a mail, message-send-mail call message-encode-message-body, then the mail is archived by calling gnus-request-accept-article. So you got double encoded. If you use agent, gnus-request-accept-article is called, so triple encoded or more. I do not know why Lars put encoding codes in gnus-request-accept-article, gnus-request-replace-article. I guess, it helps to remove the following codes in gnus-request-accept-article, gnus-request-replace-article. (save-restriction (message-narrow-to-headers) (rfc2047-encode-message-header)) (message-encode-message-body) -- Shenghuo