home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.sources
- Path: sparky!uunet!boulder!colorado.edu!mdb
- From: mdb@colorado.edu (Mark Borges)
- Subject: Re: Compressed Info??
- In-Reply-To: neal@ctd.comsat.com's message of 27 Jan 93 14:46:51 GMT
- Message-ID: <MDB.93Jan28080633@rossby.colorado.edu>
- Sender: news@colorado.edu (The Daily Planet)
- Nntp-Posting-Host: rossby.colorado.edu
- Organization: CIRES, University of Colorado
- References: <NEAL.93Jan27094651@neal.ctd.comsat.com>
- Date: 28 Jan 93 08:06:33
- Comments: Hyperbole mail buttons accepted, v3.06.
- Lines: 52
-
- >>>>> Regarding Compressed Info??; neal@ctd.comsat.com (Neal Becker)
- >>>>> adds:
- Neal> Sure would like to have it! I use crypt++ and Dave Gillespie's
- Neal> info version 1.05. I tried gzip'ing an info, and and changes
- Neal> the localdir to say e.g.,
- Neal> rcs: (rcs.info.z)
- Neal> But it didn't work. (complained something about node top).
-
- If you have access to Dave Gillespie's info elisp source
- ;; Info package for Emacs -- Dave Gillespie's version 1.05 of 3/8/92.
- ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
- there may be a relatively simple solution. I found that by modifying
- the Info-suffix-list to:
-
- (defvar Info-suffix-list '( (".info" . nil)
- (".Z" . "uncompress -c %s")
- (".z" . "gunzip")
- (".zip" . "gunzip")
- (".Y" . "unyabba")
- (".info.Z" . "uncompress -c %s")
- (".info.z" . "gunzip")
- (".info.zip" . "gunzip")
- (".info.Y" . "unyabba") )
- "List of file name suffixes and associated decoding commands.
- Each entry should be (SUFFIX . STRING); if STRING contains %s, that is
- changed to name of the file to decode, otherwise the file is given to
- the command as standard input. If STRING is nil, no decoding is done.")
-
- works fine. Entries in localdir are of the form:
-
- * AWK: (gawk). Awk (v2.14).
- * GZIP: (gzip). Zip/Unzip, a compress replacement (v0.8.1).
-
- and the files in the directory where info is set to look are:
- % ls diff* gawk*
- diff.info-1.z diff.info.z gawk.info-3.z gawk.info-6.z gawk.info.z
- diff.info-2.z gawk.info-1.z gawk.info-4.z gawk.info-7.z
- diff.info-3.z gawk.info-2.z gawk.info-5.z gawk.info-8.z
-
- I'm not an expert, but this seems simple enough and works fine for me.
- I've yet to run across a case where it fails, but I haven't tested it
- exhaustively. Does anyone see any potential problems?
-
-
-
-
-
- --
- Mark Borges <mdb@noaacrd.Colorado.EDU> |
- CIRES, Campus Box 449 | voice: (303) 492 - 0612
- University of Colorado, Boulder, CO 80303 | fax: (303) 492 - 2468
-
-