From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4317 Path: main.gmane.org!not-for-mail From: Stainless Steel Rat Newsgroups: gmane.emacs.gnus.general Subject: Re: compressed nnml files? Date: Fri, 8 Dec 1995 14:31:35 -0500 Organization: The Happy Fun Ball Brigade Message-ID: <199512081931.OAA03277@delphi.ccs.neu.edu> References: <9512071952.AA18753@sparc10.sps.ml.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035145078 29142 80.91.224.250 (20 Oct 2002 20:17:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:17:58 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.6.11/8.6.9) with ESMTP id MAA22937 for ; Fri, 8 Dec 1995 12:28:27 -0800 Original-Received: from amber.ccs.neu.edu (root@amber.ccs.neu.edu [129.10.111.100]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Fri, 8 Dec 1995 20:31:48 +0100 Original-Received: from delphi.ccs.neu.edu (ratinox@delphi.ccs.neu.edu [129.10.112.101]) by amber.ccs.neu.edu (8.7.1/8.7.1) with ESMTP id OAA08399 for ; Fri, 8 Dec 1995 14:31:36 -0500 (EST) Original-Received: (ratinox@localhost) by delphi.ccs.neu.edu (8.6.12/8.6.4) id OAA03277; Fri, 8 Dec 1995 14:31:35 -0500 Original-To: "(ding) Gnus Mailing List" In-reply-to: craffert@sps.ml.com's message of Thu, 7 Dec 95 14:52:03 EST X-NSA-Fodder: CIA Mossad kibo cryptographic NORAD Clinton cracking FSF X-Attribution: Rat Xref: main.gmane.org gmane.emacs.gnus.general:4317 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4317 -----BEGIN PGP SIGNED MESSAGE----- >>>>> "CR" == Colin Rafferty 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 \ Do not taunt Happy Fun Ball. PGP Public Key: Ask for one today! \ http://www.ccs.neu.edu/home/ratinox/ \