[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: huge files in ~/.emacs.d/auto-save-list/
From: |
Kevin Layer |
Subject: |
Re: huge files in ~/.emacs.d/auto-save-list/ |
Date: |
Tue, 22 May 2007 16:26:26 -0700 |
Richard Stallman <rms@gnu.org> wrote:
>> Could you look at the directory once each week to see
>> if more such failures have happened? Maybe then you would
>> still remember whether Emacs had crashed.
I was thinking the same thing.
>> I wonder, is the file ALL junk after a certain point?
>> Or is the junk inserted in the middle?
I think I saw occasional lines that looked ok, but they were few and
far between the junk.
>> The existing code relies on an unwind-protect to close the stream.
>> Maybe something fails to run the unwind-protect. Could you try
>> running with this change, and tell us if it prevents the problem?
I'm going to run for a while to see if the problem reoccurs with emacs
22. If it does, I'll add the following change and test it.
>> *** fileio.c 22 Mar 2007 08:15:04 -0400 1.580
>> --- fileio.c 22 May 2007 14:23:20 -0400
>> ***************
>> *** 6021,6026 ****
>> --- 6021,6027 ----
>>
>> /* Prevent another auto save till enough input events come in. */
>> record_auto_save ();
>> + fclose (stream);
>>
>> if (auto_saved && NILP (no_message))
>> {
- huge files in ~/.emacs.d/auto-save-list/, Kevin Layer, 2007/05/21
- Re: huge files in ~/.emacs.d/auto-save-list/, Eli Zaretskii, 2007/05/21
- Re: huge files in ~/.emacs.d/auto-save-list/, Richard Stallman, 2007/05/22
- Re: huge files in ~/.emacs.d/auto-save-list/, Kevin Layer, 2007/05/22
- Re: huge files in ~/.emacs.d/auto-save-list/, Richard Stallman, 2007/05/22
- Re: huge files in ~/.emacs.d/auto-save-list/,
Kevin Layer <=
- Re: huge files in ~/.emacs.d/auto-save-list/, Richard Stallman, 2007/05/23
- Re: huge files in ~/.emacs.d/auto-save-list/, Kevin Layer, 2007/05/23
- Re: huge files in ~/.emacs.d/auto-save-list/, Richard Stallman, 2007/05/24
- Re: huge files in ~/.emacs.d/auto-save-list/, Kevin Layer, 2007/05/24
- Re: huge files in ~/.emacs.d/auto-save-list/, Richard Stallman, 2007/05/25
- Re: huge files in ~/.emacs.d/auto-save-list/, Kevin Layer, 2007/05/23
- Re: huge files in ~/.emacs.d/auto-save-list/, Andreas Schwab, 2007/05/23
- Re: huge files in ~/.emacs.d/auto-save-list/, Eli Zaretskii, 2007/05/23
- Re: huge files in ~/.emacs.d/auto-save-list/, Richard Stallman, 2007/05/23
- Re: huge files in ~/.emacs.d/auto-save-list/, Richard Stallman, 2007/05/23