Article View: gnu.emacs.vm.bug
Article #9006Re: compressed folders?
From: Kyle Jones
Date: Tue, 19 May 1992 16:32
Date: Tue, 19 May 1992 16:32
26 lines
1890 bytes
1890 bytes
Boris 'Bromley' Goldowsky writes: > : crypt 90-01-09 > : Kyle Jones, <kyle@wendy-fate.uu.net> > : archive.cis.ohio-state.edu:/pub/gnu/emacs/elisp-archive/misc/crypt.el.Z > : Handle crypt/compress/compact files. > > Thanks, this works nicely, except I notice one odd thing: when I visit a > compressed folder I get a file-mode-specification error momentarily (it is > then immediately overwritten by the "Uncompressing..." message) Emacs is probably trying to parse the binary garbage as if it were a -*-mode-*- specification, and of course is having problems. The find-file-hook kicks in after that and uncompresses the file. > This is when I visit a file that is in VM-mode by virtue of my > auto-mode-alist, which ends with > (cons (concat "^" (expand-file-name "~/.*/mail")) 'vm-mode) > Other than that it seems to work fine, except that I end up looking at the > headers on the first message that are supposed to be invisible, so somehow > narrowing has not gotten done correctly for this first message. This comes from running vm-mode from auto-mode-alist. I believe find-file-noselect or some subfunction undoes the narrowing, by way of a save-restriction wrapped around calls to the find-file-hooks.
Technical Details
Message-ID:
<9205191632.AA13492@wendy-fate.UU.NET>Path:
arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vmReferences:
<1992May19.032717.25577@galileo.cc.rochester.edu> <9205190706.AA18430@FENCHURCH.MIT.EDU> <9205191539.AA03480@prodigal.psych.rochester.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,269608e196dff2a2 X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 1992-05-19 04:25:46 PST Newsgroups: gnu.emacs.vm.bug Sender: bug-vm-request@uunet.uu.net From: kyle@wendy-fate.uu.net (Kyle Jones) Date: Tue, 19 May 92 12:32:07 -0400 Message-ID: <9205191632.AA13492@wendy-fate.UU.NET> Subject: Re: compressed folders? References: <1992May19.032717.25577@galileo.cc.rochester.edu> <9205190706.AA18430@FENCHURCH.MIT.EDU> <9205191539.AA03480@prodigal.psych.rochester.edu> Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm Lines: 26