From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Blicher Newsgroups: gmane.emacs.devel Subject: Re: autosave Date: Sun, 9 Jun 2002 13:05:03 -0400 (EDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200206091705.g59H53bw001104@mail.nj.nec.com> References: <200206080100.g5810Sbw007341@mail.nj.nec.com> <200206091519.g59FJ3L00241@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1023644383 26648 127.0.0.1 (9 Jun 2002 17:39:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 9 Jun 2002 17:39:43 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17H6fG-0006vh-00 for ; Sun, 09 Jun 2002 19:39:42 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17H71i-0007Wc-00 for ; Sun, 09 Jun 2002 20:02:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17H6eh-0001P4-00; Sun, 09 Jun 2002 13:39:07 -0400 Original-Received: from mail.nj.nec.com ([138.15.200.209]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17H689-0006St-00; Sun, 09 Jun 2002 13:05:29 -0400 Original-Received: from mail.nj.nec.com (mail [138.15.200.209]) by mail.nj.nec.com (8.12.2/8.12.2) with ESMTP id g59H54GE001107; Sun, 9 Jun 2002 13:05:04 -0400 (EDT) Original-Received: from geeu.nj.nec.com (IDENT:blicher@geeu.nj.nec.com [138.15.168.58]) by mail.nj.nec.com (8.12.2/8.12.2) with ESMTP id g59H53bw001104; Sun, 9 Jun 2002 13:05:04 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: <200206091519.g59FJ3L00241@aztec.santafe.edu> (message from Richard Stallman on Sun, 9 Jun 2002 09:19:03 -0600 (MDT)) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4671 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4671 Date: Sun, 9 Jun 2002 09:19:03 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f From: Richard Stallman cc: emacs-devel@gnu.org Reply-to: rms@gnu.org Content-Length: 516 When unable to create (or write to?) some autosave dir .emacs.d or below, retries forever. This occurred when I was running with a home dir that I couldn't write to (because I was root on a different machine). Never had this problem in versions 20.4 and before. Would you please supply a precise test case so we can reproduce this? Please read the Bugs section in the Emacs manual, which provides guidelines on how to write a bug report to give us the necessary information so we can fix the bug. Oh, I guess I should mention a couple of other things: 1. I changed the permissions on the .emacs.d dir to be rwx everyone, and that fixed the problem. (Thus lending credence to my theory that it can't figure out that it can't write and/or read that dir. 2. I think I recall that in the past, when emacs could not for some reason write an autosave file, it would simply issue a message to that effect and go on, rather than get into an infinite loop of trying to access the autosave directory. If I'm not mistaken, the autosave files used to be written to the home dir; now apparently there is a new separate dir created in the home dir for that purpose. While this leaves less of a mess in the home dir, it makes me think it is highly likely that someone cleaned up some code a little too much. 3. Since I have like 20 years of historic emacs lisp code I am loading some of, which generally has to be trimmed at each new major release, it is true that this problem could somehow be my fault. Alas, I don't have time right now to check that. 4. Though I don't have time to do this myself right now, what I would suggest to try to reproduce this bug is this: Run with a home dir that contains an .emacs.d directory that you do not have any of rwx on. Put emacs into a state where it wants to autosave something. See what happens. If you don't have a problem, email me and say you can't do anything until I give you better info. Else, fix the bug. --peter -- A. Peter Blicher NEC Research Institute 609-951-2716 4 Independence Way 609-951-2488 fax Princeton, NJ 08540-6634 USA blicher@research.nj.nec.com