emacs-devel
[Top][All Lists]
Advanced

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

Re: TUTORIAL.gz


From: David Reitter
Subject: Re: TUTORIAL.gz
Date: Mon, 17 Oct 2005 17:03:00 +0100

On 17 Oct 2005, at 15:46, Stefan Monnier wrote:

Agreed.  Except that let-binding auto-compression-mode doesn't do much
if anything. Better just check whether auto-compression-mode is nil and if
so don't try to load the .gz file.

Seems like I got confused by instructions from jka-compr.el:

;; To use jka-compr, invoke the command `auto-compression-mode' (which
;; see), or customize the variable of the same name.  Its operation
;; should be transparent to the user (except for messages appearing when
;; a file is being compressed or uncompressed).

The DOC strings are much clearer regarding this issue.

Shouldn't we better enable auto-compression-mode temporarily if it is switched off? I mean, if a site-wide installation (or distribution) compresses stuff like tutorials and, more importantly, things like NEWS, then Emacs should load these files on request no matter whether the user has turned off auto-compression-mode. It would be seen as a bug if it didn't.


Actually, jka-compr.el should provide a list of extensions it understands, so we wouldn't have to hard-code .gz here. I guess jka-compr-load- suffixes
could be used for that.

Isn't it more than enough to support distribution-wide .gz compression?




reply via email to

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