all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9139@debbugs.gnu.org
Subject: bug#9139: 24.0.50; Inappropriate warning: "File no longer exists!"
Date: Thu, 21 Jul 2011 12:27:06 +0200	[thread overview]
Message-ID: <87ei1kq685.fsf@altern.org> (raw)
In-Reply-To: <E1QjqJV-0008Hc-Iy@fencepost.gnu.org> (Eli Zaretskii's message of "Thu, 21 Jul 2011 06:17:05 -0400")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Bastien <bzg@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.

I understand the need for a warning, but emacs asserts that the file 
*no longer* exists while this file never existed before.

I suggest changing the message like this:

  "File %s doesn't exist"

-- 
 Bastien





  reply	other threads:[~2011-07-21 10:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-21  9:29 bug#9139: 24.0.50; Inappropriate warning: "File no longer exists!" Bastien
2011-07-21 10:17 ` Eli Zaretskii
2011-07-21 10:27   ` Bastien [this message]
2011-09-11  2:52 ` Lars Magne Ingebrigtsen
2011-09-11  6:00   ` Eli Zaretskii
2011-09-11 14:49     ` Lars Magne Ingebrigtsen
2011-09-11 18:57     ` Glenn Morris
2011-09-11 20:05       ` Eli Zaretskii
2011-09-11 23:32     ` bug#7547: Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ei1kq685.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=9139@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.