emacs-devel
[Top][All Lists]
Advanced

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

Re: TUTORIAL.gz


From: David Kastrup
Subject: Re: TUTORIAL.gz
Date: Mon, 17 Oct 2005 18:20:55 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

David Reitter <address@hidden> writes:

> 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?

Maybe buffer-local is somehow workable?  This would have the added
advantage that if the user managed to edit and save the buffer, it
would get recompressed even if global auto-compression-mode was off.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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