all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 11852@debbugs.gnu.org, Dirk Ullrich <dirk.ullrich@gmail.com>
Subject: bug#11852: Hook `find-file-not-found-functions' is ignored
Date: Tue, 03 Jul 2012 16:56:13 -0400	[thread overview]
Message-ID: <o4npoy36a.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAFgzs6rNP51COGzV5LRseTVfkwWTqWP-J_DE+1Ts61Svw+oJwg@mail.gmail.com> (Dirk Ullrich's message of "Tue, 3 Jul 2012 21:36:04 +0200")

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





  reply	other threads:[~2012-07-03 20:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03 19:36 bug#11852: Hook `find-file-not-found-functions' is ignored Dirk Ullrich
2012-07-03 20:56 ` Glenn Morris [this message]
2012-07-03 22:07   ` Andreas Schwab

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=o4npoy36a.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=11852@debbugs.gnu.org \
    --cc=dirk.ullrich@gmail.com \
    --cc=eggert@cs.ucla.edu \
    /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.