From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.help Subject: strange auto-save behavior on Lynx Date: 08 Sep 2003 16:39:05 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063057845 25112 80.91.224.253 (8 Sep 2003 21:50:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2003 21:50:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 08 23:50:44 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19wTuG-0000Pg-00 for ; Mon, 08 Sep 2003 23:50:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19wTsL-0005zj-Ht for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2003 17:48:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: anarres.gsfc.nasa.gov Original-X-Trace: skates.gsfc.nasa.gov 1063053689 26928 128.183.235.92 (8 Sep 2003 20:41:29 GMT) Original-X-Complaints-To: usenet@news.gsfc.nasa.gov Original-NNTP-Posting-Date: 8 Sep 2003 20:41:29 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:116438 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12357 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12357 I'm using Emacs 21.2 on Lynx 4.0 (yes, lynx, not linux). It's doing something strange with auto-save files, and I'd like some help in tracking it down. When I first start typing in a file, say foo/bar.txt, a symbolic link foo/.#bar.txt -> stephe@roke.89 is created. Then, when I save the file, that symlink is renamed to stephe@roke.89 -> stephe@roke.89 (it is _not_ deleted). I assume this is a bug in the Lynx implementation somewhere; I'm trying to track it down. I can't find a description of the correct behavior in the Emacs manual (it talks about auto-save files, but not at this level). I tried tracing save-buffer with debug-on-entry; the rename is happening in write-region, which is a C file and can't be traced this way. Before I start trying to read the C, I thought I'd ask here. Why is Emacs creating a symlink that doesn't point anywhere real in the first place? Can anyone explain what's supposed to happen? Can anyone point to some code I should read to help find the bug? -- -- Stephe