Subject: Re: bug#11852: Hook `find-file-not-found-functions' is ignored

From: Glenn Morris <[email-masked]>
Date: Tue, 03 Jul 2012 16:56:13 -0400

Dirk Ullrich wrote:

> 2. Open a buffer for a non-existing file by `find-file'.
>    Result: function in `find-file-not-found-functions' is not called.

Seems that since "higher-resolution time stamps" patch;

    (insert-file-contents "does-not-exist" t)

does not return an error.

b fileio.c:4354

p NONEXISTENT_MODTIME_NSECS
$1 = -1

p current_buffer->modtime
$2 = {
  tv_sec = -1, 
  tv_nsec = 8
}

p EMACS_NSECS (current_buffer->modtime)
$3 = 8

> In GNU Emacs 24.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
>  of 2012-07-03 on red