[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
auto-saving and jka-compr-write-region
From: |
Kai Großjohann |
Subject: |
auto-saving and jka-compr-write-region |
Date: |
Thu, 06 Dec 2001 18:47:26 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu) |
In fileio.c, function auto_save_1, I see that `write-region' is called
with nil for START and END. But if the filename handler for that file
(the autosave file) is jka-compr, then jka-compr-write-region barfs
because it assumes the values to be numbers, not nil.
Is it dangerous to use a *.gz file as an autosave file, or should
this work?
Should jka-compr-write-region grok START and END being nil? If so,
how should that be achieved?
This comes about because Tramp arranges to set the auto-save file name
for a buffer to be a filename with *.gz, if the filename of the buffer
was *.gz. Maybe Tramp shouldn't do this, but I get the feeling it
ought to work.
kai
--
Simplification good! Oversimplification bad! (Larry Wall)
- auto-saving and jka-compr-write-region,
Kai Großjohann <=
- Re: auto-saving and jka-compr-write-region, Richard Stallman, 2001/12/07
- Re: auto-saving and jka-compr-write-region, Kai Großjohann, 2001/12/07
- Re: auto-saving and jka-compr-write-region, Richard Stallman, 2001/12/09
- Re: auto-saving and jka-compr-write-region, Kai Großjohann, 2001/12/11
- Re: auto-saving and jka-compr-write-region, Richard Stallman, 2001/12/11
- Re: auto-saving and jka-compr-write-region, Kai Großjohann, 2001/12/28
- Re: auto-saving and jka-compr-write-region, Richard Stallman, 2001/12/29
- Re: auto-saving and jka-compr-write-region, Kai Großjohann, 2001/12/30
- Re: auto-saving and jka-compr-write-region, Henrik Holm, 2001/12/11