GNU bug report logs - #79252
Option 'file-precious-flag' creates unrelatable/untrackable temporary filenames

Previous Next

Package: emacs;

Reported by: "R. Diez" <rdiez-2006 <at> rd10.de>

Date: Sat, 16 Aug 2025 07:38:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 79252 <at> debbugs.gnu.org, rdiez-2006 <at> rd10.de
Subject: bug#79252: Option 'file-precious-flag' creates unrelatable/untrackable temporary filenames
Date: Sun, 17 Aug 2025 10:48:17 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

Hi Eli,

>> On a first glance, it looks OK. I don't know whether we need special care
>> for symlinks, i.e., use buffer-file-truename instead of buffer-file-name.
>
> What could be the issues with symlinks?  The directory of
> buffer-file-name is writable, so using the name of the symlink should
> be okay, since we create a normal file.  Or what am I missing?

I don't see an issue. It is just the idea, that the temp file is more
related to the canonical file instead of the link source.

Best regards, Michael.




This bug report was last modified 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.