Path: utzoo!attcan!uunet!husc6!uwvax!rutgers!tut.cis.ohio-state.edu!osu-cis!killer!pollux!ti-csl!mips!pf From: pf@mips.csc.ti.com (Paul Fuqua) Newsgroups: comp.emacs Subject: Re: Automatically uncompress files when finding them Message-ID: <63190@ti-csl.CSNET> Date: 11 Nov 88 05:27:56 GMT References: <42453@yale-celray.yale.UUCP> <2166@bucsb.UUCP> Sender: news@ti-csl.CSNET Reply-To: pf@csc.ti.com (Paul Fuqua) Organization: TI Computer Science Center, Dallas Lines: 19 In article <2166@bucsb.UUCP> jbw@bucsf.bu.edu (Joe Wells) writes: I suggest that everyone who is interested in having files automatically uncompressed by GNU Emacs should look in lisp/uncompress.el in the GNU Emacs distribution. I use it, and I like it, but it has trouble with write-protected files: the buffer comes up read-only, and the uncompress barfs, leaving it empty. The obvious first choice, binding buffer-read-only to nil around the call to shell-command-on-region, doesn't seem to fix the problem. I'd love to hear from anyone with a solution; uncompress.el is perfect for me, since it doesn't actually modify any files. pf Paul Fuqua Texas Instruments Computer Science Center, Dallas, Texas CSNet: pf@csc.ti.com (ARPA too, sometimes) UUCP: {smu, texsun, cs.utexas.edu, im4u, rice}!ti-csl!pf