From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23323 Path: main.gmane.org!not-for-mail From: Hamish Macdonald Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME attachments? Date: 15 Jun 1999 11:34:06 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <6wemjd32c1.fsf@lucent.com> References: <6w7lp55yc1.fsf@lucent.com> <6wbteh4is3.fsf@lucent.com> <6w3dzt4ijg.fsf@lucent.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161076 1336 80.91.224.250 (21 Oct 2002 00:44:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:44:36 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA20897 for ; Tue, 15 Jun 1999 11:35:07 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB10669; Tue, 15 Jun 1999 10:34:52 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 15 Jun 1999 10:35:37 -0500 (CDT) 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 KAA28096 for ; Tue, 15 Jun 1999 10:35:26 -0500 (CDT) Original-Received: from auemlsrv.firewall.lucent.com (auemail1.lucent.com [192.11.223.161]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA20882 for ; Tue, 15 Jun 1999 11:34:30 -0400 (EDT) Original-Received: from keeper (h135-121-208-220.lucent.com [135.121.208.220]) by auemlsrv.firewall.lucent.com (Pro-8.9.3/8.9.3) with SMTP id LAA03321 for ; Tue, 15 Jun 1999 11:34:28 -0400 (EDT) Original-Received: from rhea.sybarus.ca by keeper (SMI-8.6/SMI-SVR4) id LAA02107; Tue, 15 Jun 1999 11:34:08 -0400 Original-Received: (from hamishm@localhost) by rhea.sybarus.ca (8.9.1b+Sun/8.9.1) id LAA23725; Tue, 15 Jun 1999 11:34:07 -0400 (EDT) X-Authentication-Warning: rhea.sybarus.ca: Processed from queue /export/users/hamishm/spool/mqueue X-Authentication-Warning: rhea.sybarus.ca: Processed by hamishm with -C /export/users/hamishm/mail/cf/hamish.cf Original-To: ding@gnus.org X-Zippy: I was in a HOT TUB! I was NORMAL! I was ITALIAN!! I enjoyed th' EARTHQUAKE! In-Reply-To: Hamish Macdonald's message of "15 Jun 1999 10:58:43 -0400" User-Agent: Gnus/5.070088 (Pterodactyl Gnus v0.88) XEmacs/21.1 (20 Minutes to Nikko) Original-Lines: 20 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:23323 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23323 >>>>> On 15 Jun 1999 10:58:43 -0400, >>>>> In message <6w3dzt4ijg.fsf@lucent.com>, >>>>> I wrote: Hamish> I created another message, attaching the same Hamish> application/octet-stream I'd attached successfully before. Hamish> This time I said it was image/gif. It was attached fine. It Hamish> seems only real image files are hosed. I did some tracing, Hamish> and (insert-file-contents filename) in the guts of the mml Hamish> stuff was returning a length of 0 bytes inserted... Definately some sort of screwy XEmacs thing. When insert-file-contents returns, the buffer the file was inserted into is read-only. When mm-encode-content-transfer-encoding calls base64-encode-region, it calls (point-min) and (point-max) to get the bounds of the temp buffer. These both return 1. Yet when I switch to the temp buffer, the GIF is visible as an inline gif. XEmacs should just insert the contents, no? Hamish.