unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9139@debbugs.gnu.org, bzg@altern.org
Subject: bug#9139: 24.0.50; Inappropriate warning: "File no longer exists!"
Date: Sun, 11 Sep 2011 16:49:40 +0200	[thread overview]
Message-ID: <m31uvnw2uz.fsf@stories.gnus.org> (raw)
In-Reply-To: <E1R2d5O-0008ID-Eo@fencepost.gnu.org> (Eli Zaretskii's message of "Sun, 11 Sep 2011 02:00:10 -0400")

Eli Zaretskii <eliz@gnu.org> writes:

>> (visited-file-modtime)
>> => (-1 65535)
>> 
>> in foo.txt.  But is that a bug?
>
> No.  -1 as the modtime exactly means that the file does not exist.  So
> at most we need to update the doc string, assuming that we want to
> reveal such implementation details.

I've now updated the doc string.  It seems like a non-optimal return
value for this situation (nil might make more sense), though, but
changing that might break stuff, I guess.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  reply	other threads:[~2011-09-11 14:49 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
2011-09-11  2:52 ` Lars Magne Ingebrigtsen
2011-09-11  6:00   ` Eli Zaretskii
2011-09-11 14:49     ` Lars Magne Ingebrigtsen [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m31uvnw2uz.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=9139@debbugs.gnu.org \
    --cc=bzg@altern.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).