Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-mime-copy-part and saving
@ 2003-04-02  1:42 Kevin Ryde
  2003-04-12 20:57 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2003-04-02  1:42 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

I'm contemplating the way gnus-mime-copy-part ("c" on a button) sets
up the buffer it shows.

With a random 8-bit application/octet-stream, like r.gz below, viewing
with "c" and then attempting to save with C-x C-s prompts for a coding
system, and it seems even no-conversion doesn't give the right bytes.

r.gz for instance should be 393 bytes, as revealled by an "o" save.
And this is all of course with auto-compression-mode off so the zany
jka-compr stuff doesn't get involved.

Is there some magic gnus-mime-copy-part could or should do to give a
buffer which is save-able?  I guess making it unibyte (before
inserting) would work, but I expect that's not good for viewing proper
text files or stuff.


[-- Attachment #2: r.gz --]
[-- Type: application/octet-stream, Size: 393 bytes --]

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

* Re: gnus-mime-copy-part and saving
  2003-04-02  1:42 gnus-mime-copy-part and saving Kevin Ryde
@ 2003-04-12 20:57 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-04-12 20:57 UTC (permalink / raw)


Kevin Ryde <user42@zip.com.au> writes:

> I'm contemplating the way gnus-mime-copy-part ("c" on a button) sets
> up the buffer it shows.
>
> With a random 8-bit application/octet-stream, like r.gz below, viewing
> with "c" and then attempting to save with C-x C-s prompts for a coding
> system, and it seems even no-conversion doesn't give the right bytes.

That's not unlikely -- showing binary stuff in Emacs is somewhat of
an ordeal these days...

> r.gz for instance should be 393 bytes, as revealled by an "o" save.
> And this is all of course with auto-compression-mode off so the zany
> jka-compr stuff doesn't get involved.

On the other hand, if you have jka-compr installed, `c' and `o' both
work perfectly.  :-)

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




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

end of thread, other threads:[~2003-04-12 20:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-02  1:42 gnus-mime-copy-part and saving Kevin Ryde
2003-04-12 20:57 ` 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).