Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@pdc.kth.se>
Subject: Re: automagicly compressed nnml files
Date: 26 Oct 1997 16:39:27 +0100	[thread overview]
Message-ID: <ilubu0ccz4g.fsf@scup.pdc.kth.se> (raw)
In-Reply-To: <m3oh4espck.fsf@sparky.gnus.org>

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> > It adds one variable, nnmail-article-file-suffix, which is appended to
> > the nnml-generated filename.  If one has autocompression working, this
> > will automagicly (de)compress one's mail, if one sets it to ".gz"
> 
> This is already in Gnus.  If you require `jka-compr', nnml will snarf
> gzipped articles files.

Does this work with nnfolders too?  Couldn't get it to work
anyway. (yes, i've toggled toggle-auto-compression)

I started adding gzip-support for nnfolders some days ago but ran into
a minor problem -- if the nnfolder file didn't exist it is created (as
0b file) somewhere before nnfolder-read-folder get invoked so I
couldn't just replace the call to nnheader-find-file-noselect with a
function that gzip-d's the nnfolder file and then read it as it where
an ordinary nnfolder if it couldn't find the nnfolder-file. (*)

Basically I want to gzip some of my nnfolders and then automagically
have Gnus try to gzip -d <nnfolder>.gz if <nnfolder> doesn't exist,
and on group-close gzip the folder again.

(*): Sorry if this is a Bad way to implement it, I don't know Gnus and
I probably can't program Elisp.


  reply	other threads:[~1997-10-26 15:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-18 16:13 making gnus-summary-reparent-thread work right with nnml Steinar Bang
1997-11-19  9:14 ` Steinar Bang
1997-10-24 21:01   ` automagicly compressed nnml files St. Suika Roberts
1997-10-24 23:39     ` Lars Magne Ingebrigtsen
1997-10-26 15:39       ` Simon Josefsson [this message]
1997-10-27 11:22         ` Simon Josefsson
1997-10-29  5:09       ` David Hedbor
1997-11-05 12:50         ` Lars Magne Ingebrigtsen
1997-11-06 23:37           ` David Hedbor
1997-11-13 21:14             ` Lars Magne Ingebrigtsen
1997-11-18 23:14               ` David Hedbor
1997-11-23  6:08                 ` Lars Magne Ingebrigtsen
1997-11-23  6:08 ` making gnus-summary-reparent-thread work right with nnml Lars Magne Ingebrigtsen
1997-11-24 13:53   ` Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilubu0ccz4g.fsf@scup.pdc.kth.se \
    --to=jas@pdc.kth.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).