[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with backup-by-copying and auto-compression-mode
From: |
arthur.chereau |
Subject: |
Re: Problems with backup-by-copying and auto-compression-mode |
Date: |
Sun, 14 Jul 2002 17:46:43 +0200 |
> > When I insert
> >
> > (setq backup-by-copying t)
> >
> > (require 'jka-compr)
> > (auto-compression-mode 1)
> >
> > in my .emacs, the backup is still done by moving (inode,
> > permissions, etc change) and there is no automatic decompression
> > when I open a gzipped file.
>
> Dunno about the backup, but is the gzipped file named *.gz? I think
> that auto-compression-mode looks at the filename.
Yes, the gzipped file is a .gz file.
What's strange is that auto-compression-mode *is* set to 1, but:
- the "Automatic File De/compression" button is not pushed
- if I click on it it says "Auto compression mode disabled", so it knows that
the old value was 1
- there is no automatic decompression when I open a *.gz gzipped file.
When I enable autocompression with
(custom-set-variables
'(auto-compression-mode t nil (jka-compr))
)
it works, so I think it's just a syntax that changed since emacs 21, but I
can't find what it is.
____________________________________________________________
Faites un voeu et puis Voila ! www.voila.fr
Avec Voila Mail, consultez vos e-mails sur votre mobile Wap.
- Re: Problems with backup-by-copying and auto-compression-mode,
arthur.chereau <=