From: craffert@sps.ml.com (Colin Rafferty)
Cc: Stainless Steel Rat <ratinox@ccs.neu.edu>
Subject: Re: compressed nnml files?
Date: Mon, 11 Dec 95 10:24:24 EST [thread overview]
Message-ID: <9512111524.AA10536@sparc10.sps.ml.com> (raw)
In-Reply-To: Stainless Steel Rat's message of Fri, 8 Dec 1995 14:31:35 -0500
Stainless Steel Rat writes:
>>>>>> "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:
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
next prev parent reply other threads:[~1995-12-11 15:24 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
1995-12-10 15:16 ` Lars Magne Ingebrigtsen
1995-12-11 15:24 ` Colin Rafferty [this message]
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=9512111524.AA10536@sparc10.sps.ml.com \
--to=craffert@sps.ml.com \
--cc=craffert@ml.com \
--cc=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).