emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jka-compr.el doesn't recognise gzipped files from their magic bytes


From: Stefan Monnier
Subject: Re: jka-compr.el doesn't recognise gzipped files from their magic bytes
Date: Mon, 17 Sep 2007 17:50:20 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

> So shouldn't jka-compr look for the magic strings, and identify
> gzipped files that way?

jka-compr uses a file-name-handler which (as the name indicates) works at
the file-name level to detect the need for special behavior.

So what you're suggesting is a different feature, which works more like
a special major mode.  That might make a lot of sense.
Contributions welcome.  Note that a major-mode would also have some
disadvantages: e.g. when saving a file to some new name ".sifz" Emacs
wouldn't know to compress it.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]