GNU bug report logs - #11852
Hook `find-file-not-found-functions' is ignored

Previous Next

Package: emacs;

Reported by: Dirk Ullrich <dirk.ullrich <at> gmail.com>

Date: Tue, 3 Jul 2012 19:50:01 UTC

Severity: normal

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 11852 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 11852 <at> debbugs.gnu.org, Dirk Ullrich <dirk.ullrich <at> gmail.com>
Subject: Re: bug#11852: Hook `find-file-not-found-functions' is ignored
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




This bug report was last modified 12 years and 326 days ago.

Previous Next


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