From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4358 Path: main.gmane.org!not-for-mail From: craffert@sps.ml.com (Colin Rafferty) Newsgroups: gmane.emacs.gnus.general Subject: Re: compressed nnml files? Date: Mon, 11 Dec 95 10:24:24 EST Message-ID: <9512111524.AA10536@sparc10.sps.ml.com> References: <9512071952.AA18753@sparc10.sps.ml.com> <199512081931.OAA03277@delphi.ccs.neu.edu> Reply-To: Colin Rafferty NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035145116 29313 80.91.224.250 (20 Oct 2002 20:18:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:18:36 +0000 (UTC) Cc: Stainless Steel Rat 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 IAA03462 for ; Mon, 11 Dec 1995 08:24:10 -0800 Original-Received: from njmlfire.ml.com (njmlfire.ml.com [198.242.49.1]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Mon, 11 Dec 1995 16:26:01 +0100 Original-Received: from commpost.ml.com ([146.125.4.24]) by njmlfire.ml.com (8.6.12/8.6.12) with ESMTP id KAA04586; Mon, 11 Dec 1995 10:24:27 -0500 Original-Received: from sparc10.sps.ml.com (sparc10.sps.ml.com [192.168.111.24]) by commpost.ml.com (8.6.12/8.6.12) with SMTP id KAA16599; Mon, 11 Dec 1995 10:25:21 -0500 Original-Received: from spssunp.masdev.ml.com by sparc10.sps.ml.com (4.1/SMI-4.1) id AA10536; Mon, 11 Dec 95 10:24:24 EST Original-Received: by spssunp.masdev.ml.com (4.1/SMI-4.1) id AA00296; Mon, 11 Dec 95 10:24:23 EST Original-To: (ding) GNUS Mailing List In-Reply-To: Stainless Steel Rat's message of Fri, 8 Dec 1995 14:31:35 -0500 X-Face: ByE+UMAp1klWR3?\RNGx(A-~Ri!YT%C6M!sxoJL+.;9`Q/|+dj7[KR>gGMyV.2qZeot0NI`4\MA^_Qg`F9=+Ox&zaE?Y9dV%F~Xzf';Zyk2Aobs.uu^Ey0_C6^~q';G#$HkA!ZAHXPpG-"*|Dd*Z4U$4y{{aI0c%75}i~Of(jxYtI[uIpYF<*Zoe|\*/ufb X-Y-Zippy: I had a lease on an OEDIPUS COMPLEX back in '81... Xref: main.gmane.org gmane.emacs.gnus.general:4358 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4358 Stainless Steel Rat writes: >>>>>> "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: Actually, I think that crypt++ is better because it also gives you the ability to have encrypted mail messages as well. Since it recognizes compressed/encrypted files by contents (which works very well with mail files), you can leave the files named the same (as numbers). In fact, I could see adding a command gnus-summary-encrypt-article. Here is my solution for my own problem (in my .gnus). It handles reading mail, just editing and then saving a compressed/encrypted file: (require 'nnmail) (defun nnmail-find-file (file) "Insert FILE in server buffer safely." (set-buffer nntp-server-buffer) (erase-buffer) (condition-case () (progn (if (fboundp 'crypt-insert-file-contents) (let ((crypt-auto-decode-insert t)) (crypt-insert-file-contents file)) (insert-file-contents file)) t) (file-error nil))) ; -Colin