From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/3905 Path: main.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.gnus.general Subject: Re2: jka-compr support? Date: Thu, 9 Nov 1995 07:25:13 +0200 Message-ID: <199511090525.HAA22192@aapo.tele.nokia.fi> Reply-To: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035144722 27814 80.91.224.250 (20 Oct 2002 20:12:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:12:02 +0000 (UTC) Cc: ratinox@ccs.neu.edu, ding@ifi.uio.no X-From-Line: ding-request@ifi.uio.no Wed Nov 8 22:11:26 1995 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 WAA20824 for ; Wed, 8 Nov 1995 22:11:20 -0800 Original-Received: from noknic.nokia.com (noknic.nokia.com [131.228.6.10]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 9 Nov 1995 06:28:55 +0100 Original-Received: from zeus.tele.nokia.fi (zeus.tele.nokia.fi [131.228.134.50]) by noknic.nokia.com (8.6.9/8.6.9) with ESMTP id HAA03152; Thu, 9 Nov 1995 07:25:49 +0200 Original-Received: from aapo.tele.nokia.fi (aapo.tele.nokia.fi [131.228.134.64]) by zeus.tele.nokia.fi (8.6.4/8.6.4) with ESMTP id HAA13005; Thu, 9 Nov 1995 07:23:57 +0200 Original-Received: from localhost (jaalto@localhost) by aapo.tele.nokia.fi (8.6.4/8.6.4) id HAA22192; Thu, 9 Nov 1995 07:25:13 +0200 Original-To: speters%samsun@us.oracle.com Original-Lines: 59 Xref: main.gmane.org gmane.emacs.gnus.general:3905 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:3905 |Wed Nov 8 -95, Stephen Peters gnu.emacs.sources | Stainless Steel Rat writes: | | >You won't loose anything if you use jka-compr, but if you're using nnml | >or nnmh you will have problems because the backends operate on file | >names in buffers and not directly with the filesystem, so jka-compr's | >hooks never come into play and your compressed mail files don't appear | >as mail files. | > | >This little script (hack! hack!) [...] | | I don't remember where I found it exactly, but I did discover an Emacs | Lisp file called jka-aux.el, which will modify the Emacs file location | routines so that trying to find "name" will automatically use | "name.gz" or "name.Z" if the former doesn't exist. This makes the | backends work completely transparently, without hacks to the file | system. And if someone wants to have compressed elisp files due to quota limit reasons, I can recommend one of my packages. Mail me if anyone is interested, because the current version is not released yet. Cheers! /jari ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ;; @(#) tinyezip.el -- 'load' support for compressed elisp files. ;; LCD Archive Entry: ;; tinyezip|Jari Aalto|jari.aalto@ntc.nokia.com| ;; Support for compressed elisp files: require, load, load-library,load-file..| ;; 02-Nov-1995|$Revision: 1.19 $|~/misc/tinyezip.el.Z| ;; Briefly: ;; o Allows commands LOAD, LOAD-LIBRARY, LOAD-FILE, REQUIRE and AUTOLOAD ;; defined load to accept jka-compr supported lisp '.el' files that are ;; compressed. Note: you can't compress .elc files and have them loaded, ;; only .el files. ;; ;; o As a special feature: you can change the actual "filename" (with hook) ;; before it is loaded by emacs. Eg. to have same load-commands, but ;; different files for different users/goups/sites ;; ;; o Correctly handles aliased commands that turn out to be in 'autoload' ;; state. ;; ;; o Now you can compress all your lisp library files in your ~/elisp ;; dir and save space eg. for quota limit reasons, while still being ;; able to load them as usual. ;; ;; o You don't have to change anything in your .emacs startup file, all ;; will work as usuall. (Note: see Limitations. You cannot use autoloaded ;; function inside lisp code without preparations.) ;;