From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21857 Path: main.gmane.org!not-for-mail From: alfred@GlobeSet.com (Alfred J Correira) Newsgroups: gmane.emacs.gnus.general Subject: Re: outbound MIME attachments broken in v0.80? Date: 09 Mar 1999 18:14:55 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035159884 25088 80.91.224.250 (21 Oct 2002 00:24:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:24:44 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id TAA28364 for ; Tue, 9 Mar 1999 19:16:33 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id SAB29380; Tue, 9 Mar 1999 18:15:45 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 09 Mar 1999 18:15:49 -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 SAA08263 for ; Tue, 9 Mar 1999 18:15:39 -0600 (CST) Original-Received: from firewall.globeset.com (root@firewall.globeset.com [207.239.133.67]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id TAA28326 for ; Tue, 9 Mar 1999 19:15:30 -0500 (EST) Original-Received: from earth.globeset.com (earth.globeset.com [10.1.1.5]) by firewall.globeset.com (8.9.1a/8.9.1) with ESMTP id SAA09563 for ; Tue, 9 Mar 1999 18:15:02 -0600 (CST) Original-Received: from COFFIN (coffin.globeset.com [10.1.192.241]) by earth.globeset.com (8.8.8/8.8.8) with ESMTP id SAA21241 for ; Tue, 9 Mar 1999 18:15:01 -0600 (CST) X-Mailer: emacs 20.3.1 (via feedmail 9-beta-3 I) Original-To: ding@gnus.org X-URL: http://www.globeset.com/ X-Kibo-Says: Kibology is no joke X-Attribution: AJC Original-Lines: 73 User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:21857 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:21857 I didn't have a chance to pick this up again until just a little while ago. I reviewed the diffs between v0.79 (where this worked) and v0.80 (where it doesn't). The offending change is in mml.el in the function mml-generate-mime-1. v0.79 (setq encoding (mm-body-encoding charset)) (setq coded (buffer-string))) (mm-with-unibyte-buffer (cond ((cdr (assq 'buffer cont)) v0.80 (setq encoding (mm-body-encoding charset)) (setq coded (buffer-string))) (with-temp-buffer (cond ((cdr (assq 'buffer cont)) Bottom line: under NTEmacs (i.e. Windows) mm-with-unibyte-buffer Good, with-temp-buffer Bad, at least wrt mm-encode-buffer doing its thing correctly. I don't know what the right long-term solution is, but reverting to mm-with-unibyte-buffer works for me ... >> "AJC" == Alfred J Correira writes: AJC> NTEmacs 20.3.1 with pgnus v0.80. AJC> I downloaded and upgraded to v0.80 yesterday and thought it was working AJC> just fine until this morning when I tried to attach (^c-^a) my first AJC> Word doc. When I did that, I got the following during encoding: AJC> Fri Mar 05 10:51:29 1999: Error while decoding: (args-out-of-range ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/ 671) AJC> Fri Mar 05 10:51:29 1999: Encoding base64... AJC> Fri Mar 05 10:51:29 1999: Sending... AJC> (from my *Messages* buffer) AJC> (I haven't figured out yet why I'm getting a decoding message during AJC> encoding.) AJC> I can send the message after the error displays, but the resulting AJC> attachment decodes to a much smaller file that is garbage (as near as I AJC> can tell). AJC> I also get the error attaching BMP files and pretty much anything AJC> non-textual. I do not get this error attaching text or html files and I AJC> can decode them just fine. AJC> In all cases I can successfully decode binary attachments sent to me AJC> from, for example, Outlook. AJC> I asked Jack Vinson to try this as well -- he doesn't get the above AJC> message but he also got garbage when he tried to decode the attachment AJC> out of his GCC folder (Word locked up on him -- it simply refused to AJC> display anything to me). AJC> Does this ring any bells? Is this working for anyone on the list using AJC> v0.80 with NTEmacs? Since no-one else has complained about this, I'm AJC> assuming that this is specific to Windows (I suspect that we're a sad AJC> minority of pgnus users :-) -- Work: Alfred.Correira@GlobeSet.Com PH: 512.427.7715 Home: Correira@Flash.Net FAX: 512.427.5101 PGP: 55 42 BB 2E 17 E9 0D 9C 0B 51 66 58 58 96 1E 45 --- The best way to have a good idea is to have lots of ideas. -- Linus Pauling