Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!LCS.MIT.EDU!MAP From: MAP@LCS.MIT.EDU Newsgroups: gnu.emacs.bug Subject: Interaction between file-precious-flag and links Message-ID: <8902012107.AA26779@gaak.LCS.MIT.EDU> Date: 1 Feb 89 21:07:20 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 13 in GNU Emacs 18.50.15 of Mon Oct 24 1988 on allspice (berkeley-unix) The code in basic-save-buffer that deals with file-precious-flag does (what I think is) the wrong thing with links. Because of the way it tries to preserve the old file, you lose if it was a link (you get a copy). Doing this right seems rather complicated because it probably needs to look at the backup-by-copying* flags and notice when there is a link and follow it and stuff. For now I have offered the user that had the problem the solution of making the file not be precious (it's RMAIL that it happens in, I just wrote them an rmail-mode-hook). This isn't really the right thing though. Mike Patton