From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12702 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: automagicly compressed nnml files Date: 26 Oct 1997 16:39:27 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152191 5208 80.91.224.250 (20 Oct 2002 22:16:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:16:31 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.7/8.8.8) with ESMTP id IAA02652 for ; Sun, 26 Oct 1997 08:59:04 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA11783 for ; Sun, 26 Oct 1997 11:00:25 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id QAA01966 for ; Sun, 26 Oct 1997 16:39:36 +0100 (MET) Original-Received: (qmail 24985 invoked by uid 504); 26 Oct 1997 15:39:35 -0000 Original-Received: (qmail 24982 invoked from network); 26 Oct 1997 15:39:34 -0000 Original-Received: from scup.pdc.kth.se (130.237.221.66) by claymore.vcinet.com with SMTP; 26 Oct 1997 15:39:33 -0000 Original-Received: (from jas@localhost) by scup.pdc.kth.se (8.8.7/8.8.7) id QAA29214; Sun, 26 Oct 1997 16:39:28 +0100 (MET) Original-To: ding@gnus.org Original-Lines: 25 X-Mailer: Quassia Gnus v0.12/XEmacs 20.3(beta90) - "Dublin" Xref: main.gmane.org gmane.emacs.gnus.general:12702 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12702 Lars Magne Ingebrigtsen 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 .gz if 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.