GNU bug report logs - #9139
24.0.50; Inappropriate warning: "File no longer exists!"

Previous Next

Package: emacs;

Reported by: Bastien <bzg <at> altern.org>

Date: Thu, 21 Jul 2011 09:30:03 UTC

Severity: minor

Found in version 24.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Bastien <bzg <at> altern.org>
Cc: 9139 <at> debbugs.gnu.org
Subject: bug#9139: 24.0.50; Inappropriate warning: "File no longer exists!"
Date: Thu, 21 Jul 2011 06:17:05 -0400
> From: Bastien <bzg <at> altern.org>
> Date: Thu, 21 Jul 2011 11:29:39 +0200
> 
> Emacs sends an inappropriate warning message when trying to 
> find a file that isn't on the hardrive but is the filename of 
> a buffer, thus somehow "existing" in Emacs.
> 
> To reproduce the problem:
> 
> emacs -Q
> C-x f ~/foo.txt
> C-x b bar
> C-x f ~/foo.txt
> 
>   => File no longer exists!

Why is that inappropriate?  Emacs checks whether the file is newer
than it was when it was last visited or saved, to make sure you don't
accidentally overwrite the file with stale data.  If the file no
longer exists, this test cannot be performed, so Emacs alerts you to
that fact.




This bug report was last modified 13 years and 313 days ago.

Previous Next


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