From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: huge files in ~/.emacs.d/auto-save-list/ Date: Wed, 23 May 2007 14:56:41 -0400 Message-ID: References: <17763.1179779953@gemini.franz.com> <20566.1179846367@gemini.franz.com> <9829.1179876386@gemini.franz.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1179946715 7679 80.91.229.12 (23 May 2007 18:58:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 May 2007 18:58:35 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Kevin Layer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 23 20:58:26 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hqw2S-00050F-P6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 May 2007 20:58:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hqw2U-0000K2-Qf for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 May 2007 14:58:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hqw0v-0007nS-5e for bug-gnu-emacs@gnu.org; Wed, 23 May 2007 14:56:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hqw0u-0007mt-N0 for bug-gnu-emacs@gnu.org; Wed, 23 May 2007 14:56:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hqw0u-0007me-DE for bug-gnu-emacs@gnu.org; Wed, 23 May 2007 14:56:48 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hqw0u-0006S8-0g for bug-gnu-emacs@gnu.org; Wed, 23 May 2007 14:56:48 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Hqw0n-0008Kw-K8; Wed, 23 May 2007 14:56:41 -0400 In-reply-to: <9829.1179876386@gemini.franz.com> (message from Kevin Layer on Tue, 22 May 2007 16:26:26 -0700) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15741 Archived-At: >> 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. This is very important! If junk is followed by valid lines, that means the junk was output from inside the function that produces the intended output. So please check this carefully. Are any of those files on backups? 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. Someone pointed out that that patch has problems; please don't try it as written. Anyway, it was meant to deal with the possibility that the problem comes from writing into the stream after the end of the autosave. If the junk is interspersed with the intended material, that's a totally different kind of problem.