Gnus development mailing list
 help / color / mirror / Atom feed
* outbound MIME attachments broken in v0.80?
@ 1999-03-05 20:16 Alfred J Correira
  1999-03-10  0:14 ` Alfred J Correira
  0 siblings, 1 reply; 3+ messages in thread
From: Alfred J Correira @ 1999-03-05 20:16 UTC (permalink / raw)


NTEmacs 20.3.1 with pgnus v0.80.

I downloaded and upgraded to v0.80 yesterday and thought it was working just
fine until this morning when I tried to attach (^c-^a) my first Word doc.  When
I did that, I got the following during encoding:

Fri Mar 05 10:51:29 1999: Error while decoding: (args-out-of-range ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/ 671)
Fri Mar 05 10:51:29 1999: Encoding base64...
Fri Mar 05 10:51:29 1999: Sending...
(from my *Messages* buffer)

(I haven't figured out yet why I'm getting a decoding message during encoding.)

I can send the message after the error displays, but the resulting attachment
decodes to a much smaller file that is garbage (as near as I can tell).

I also get the error attaching BMP files and pretty much anything non-textual.
I do not get this error attaching text or html files and I can decode them just
fine.

In all cases I can successfully decode binary attachments sent to me from, for
example, Outlook.

I asked Jack Vinson to try this as well -- he doesn't get the above message but
he also got garbage when he tried to decode the attachment out of his GCC
folder (Word locked up on him -- it simply refused to display anything to me).

Does this ring any bells?  Is this working for anyone on the list using v0.80
with NTEmacs?  Since no-one else has complained about this, I'm assuming that
this is specific to Windows (I suspect that we're a sad 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
---
Moderation in principle is always a vice.
-- Thomas Paine (The Rights of Man)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: outbound MIME attachments broken in v0.80?
  1999-03-05 20:16 outbound MIME attachments broken in v0.80? Alfred J Correira
@ 1999-03-10  0:14 ` Alfred J Correira
  1999-03-14 15:48   ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Alfred J Correira @ 1999-03-10  0:14 UTC (permalink / raw)


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 <alfred@GlobeSet.Com> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: outbound MIME attachments broken in v0.80?
  1999-03-10  0:14 ` Alfred J Correira
@ 1999-03-14 15:48   ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-03-14 15:48 UTC (permalink / raw)


alfred@GlobeSet.com (Alfred J Correira) writes:

> I don't know what the right long-term solution is, but reverting to
> mm-with-unibyte-buffer works for me ...

I've now reverted this in 0.81.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-03-14 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-05 20:16 outbound MIME attachments broken in v0.80? Alfred J Correira
1999-03-10  0:14 ` Alfred J Correira
1999-03-14 15:48   ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).