Gnus development mailing list
 help / color / mirror / Atom feed
From: Stainless Steel Rat <ratinox@ccs.neu.edu>
Subject: Re: compressed nnml files?
Date: Fri, 8 Dec 1995 14:31:35 -0500	[thread overview]
Message-ID: <199512081931.OAA03277@delphi.ccs.neu.edu> (raw)
In-Reply-To: craffert@sps.ml.com's message of Thu, 7 Dec 95 14:52:03 EST

-----BEGIN PGP SIGNED MESSAGE-----

>>>>> "CR" == Colin Rafferty <craffert@sps.ml.com> writes:

CR> I would like to be able to compress old articles and still be able
CR> to read them normally.  August Gnus does not play well with crypt++.
CR> I imagine that September Gnus has the same problems.

crypt++ is not a good choice for transparent, on-the-fly compression;
for that I recomend jka-compr which is also distributed with Emacs now.
But that alone won't work because nnml.el won't operate correctly on the
compressed files.  For that a little bit of hacking in nnml.el is in
order:

- -----
#!/bin/sh

if test -f x-easymenu.el; then
  mv x-easymenu.el easymenu.el
fi

cp nnml.el nnml.el.orig
cat nnml.el.orig | sed 's/\[0-9\]+/\[0-9\]+\\\\(\\\\.gz\\\\)?/g' > nnml.el
- -----

This will at least let nnml work with gzipped mail files for the most
common tasks, allowing jka-compr to do it's thing.  There are a number
of other segments of Gnus' code that operate on directory listings that
this little bit of hackery won't patch, and I wouldn't rely on a brute-
force sed to do it.

The best complete solution, as I see it, is to build a regular
expression from jka-compr-compression-info-list, then modify any code
that references file name in a buffer to include that regexp.  In short,
it's going to be a pain no matter what.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMMiSeJ6VRH7BJMxHAQGr0gP/TSTBogMe50QDu1smAYc5QOH6oMaPiXPZ
weLiu1u+C/VYsYjce1wztf9U/BRE1E06oxjudEh2xUbhUyzjo8qSLFBbdDBED0qA
nlDLgcARAN3gmDx/mPxosp5Jt6zmYjRe3hL3R4KEdw0PqZEvGCs9DXQQxQ89OHya
bPv1yF5vV48=
=qlji
-----END PGP SIGNATURE-----
-- 
Rat <ratinox@ccs.neu.edu>          \ Do not taunt Happy Fun Ball.
PGP Public Key: Ask for one today!  \ 
http://www.ccs.neu.edu/home/ratinox/ \ 


  parent reply	other threads:[~1995-12-08 19:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-07 19:52 Colin Rafferty
1995-12-08  8:10 ` Lars Magne Ingebrigtsen
1995-12-08 19:31 ` Stainless Steel Rat [this message]
1995-12-10 15:16   ` Lars Magne Ingebrigtsen
1995-12-11 15:24   ` Colin Rafferty
1995-12-11 16:02     ` Stainless Steel Rat
1995-12-29  2:54     ` Greg Stark
1996-01-10 18:25       ` Lars Magne Ingebrigtsen
1996-01-12  8:59         ` Kai Grossjohann
1996-01-12 16:12         ` Joe Hildebrand
1996-01-13 20:59           ` Aharon (Al) Schkolnik
1996-01-16 17:50             ` Joe Hildebrand
1995-12-08 18:11 Colin Rafferty

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=199512081931.OAA03277@delphi.ccs.neu.edu \
    --to=ratinox@ccs.neu.edu \
    /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).