all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Kevin Layer <layer@franz.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: huge files in ~/.emacs.d/auto-save-list/
Date: Tue, 22 May 2007 19:10:08 -0400	[thread overview]
Message-ID: <E1HqdUW-0001rg-Ae@fencepost.gnu.org> (raw)
In-Reply-To: <20566.1179846367@gemini.franz.com> (message from Kevin Layer on Tue, 22 May 2007 08:06:07 -0700)

    .saves-26656-gemini.franz.com~

    There was nothing to distinguish them from all the "normal" files in
    that directory.

It would be good for a few people to study the code in fileio.c
which writes those files, and see if we can find a possible
explanation for these failures.

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 wonder, is the file ALL junk after a certain point?
Or is the junk inserted in the middle?

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?



*** 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))
      {

  reply	other threads:[~2007-05-22 23:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-21 20:39 huge files in ~/.emacs.d/auto-save-list/ Kevin Layer
2007-05-21 20:55 ` Eli Zaretskii
2007-05-21 21:47   ` Kevin Layer
2007-05-22 14:52 ` Richard Stallman
2007-05-22 15:06   ` Kevin Layer
2007-05-22 23:10     ` Richard Stallman [this message]
2007-05-22 23:26       ` Kevin Layer
2007-05-23 18:56         ` Richard Stallman
2007-05-23 19:33           ` Kevin Layer
2007-05-24 10:55             ` Richard Stallman
2007-05-24 14:43               ` Kevin Layer
2007-05-26  0:19                 ` Richard Stallman
2007-05-23 19:42           ` Kevin Layer
2007-05-23  9:32       ` Andreas Schwab
2007-05-23 11:47         ` Eli Zaretskii
2007-05-23 23:45           ` Richard Stallman
2007-05-23 18:56         ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1HqdUW-0001rg-Ae@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=layer@franz.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.