From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 03 15:49:33 2012 Received: (at submit) by debbugs.gnu.org; 3 Jul 2012 19:49:33 +0000 Received: from localhost ([127.0.0.1]:45956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sm96L-0003PS-0Z for submit@debbugs.gnu.org; Tue, 03 Jul 2012 15:49:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39426) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sm91b-0002T6-He for submit@debbugs.gnu.org; Tue, 03 Jul 2012 15:44:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sm8wz-0002rx-Kw for submit@debbugs.gnu.org; Tue, 03 Jul 2012 15:39:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:49888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sm8wz-0002qm-DX for submit@debbugs.gnu.org; Tue, 03 Jul 2012 15:39:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sm8tQ-0007pb-Hh for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2012 15:36:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sm8tL-0001yb-Vt for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2012 15:36:11 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:44663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sm8tL-0001x4-Nu for bug-gnu-emacs@gnu.org; Tue, 03 Jul 2012 15:36:07 -0400 Received: by yenr5 with SMTP id r5so6653914yen.0 for ; Tue, 03 Jul 2012 12:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=h9w51lnTAwSu57EQiOM7rZp6VemM7XarYTSBMvzNoGo=; b=ATIdYgl7c73ytikgGyhT0FA0TnZpZJMg9+KNkJaXuEsn4/0DCoOIlh7ifk5FjR85vo aUEg44i5DG1x4Dh879ySu687kPhlfmXcOu0Mojn6L4esR/D2OJMtPBoei/V3aqk7HK8z iK3zs3VRlZrswf/0oYYuOIEJK7C2OjycKmxMj/ZoLv2bfxBg18si0fpaDqPGHiDoUxrq UOdoHg+epixQygTnlpiw3BwfMo23qmOr3GDNQ+6Ax58G4eowkyG2Dakd+apgXBI6Ly4l 2txAqL41Q8j7HFYZVDt6lTn78nuTSZUhz0xO8tVxmEIbnjQtTmm/AWaVgNoM4A4bwnzW yP7g== MIME-Version: 1.0 Received: by 10.60.21.198 with SMTP id x6mr19846169oee.24.1341344165107; Tue, 03 Jul 2012 12:36:05 -0700 (PDT) Received: by 10.182.53.2 with HTTP; Tue, 3 Jul 2012 12:36:04 -0700 (PDT) Date: Tue, 3 Jul 2012 21:36:04 +0200 Message-ID: Subject: Hook `find-file-not-found-functions' is ignored From: Dirk Ullrich To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 03 Jul 2012 15:49:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 1. Ensure that `find-file-not-found-functions' only contains a simple test function - for instance by: 1.1. Creating a simple file -- say `file-not-found-test.el' -- with the following content: (setq find-file-not-found-functions '()) (add-hook 'find-file-not-found-functions (function (lambda () (message "Test for `find-file-not-found-functions'")))) 1.2 Load th file from 1.1 by: emacs -Q -l file-not-found-test.el 2. Open a buffer for a non-existing file by `find-file'. Result: function in `find-file-not-found-functions' is not called. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/local/packages/emacs-devel/share/emacs/24.1.50/etc/DEBUG. In GNU Emacs 24.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2) of 2012-07-03 on red Windowing system distributor `The X.Org Foundation', version 11.0.11201902 Configured using: `configure '--prefix=/usr/local/packages/emacs-devel' '--sysconfdir=/etc' '--localstatedir=/var//local/packages/emacs-devel' '--libexecdir=/usr/local/packages/emacs-devel/lib' '--mandir=/usr/local/packages/emacs-devel/share/man' '--without-sound' '--with-games-user=packages' '--with-x-toolkit=gtk3'' Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: flyspell-mode: t delete-selection-mode: t diff-auto-refine-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill transient-mark-mode: t Recent input: M-x r e p o r t - Recent messages: Loading /usr/local/emacsen-packages/proofgeneral/lisp/pg-init.el (source)...done Setting paths for package /usr/local/emacsen-packages/sicp Setting paths for package /usr/local/emacsen-packages/python_du Setting paths for package /usr/local/emacsen-packages/haskell-mode Loading haskell-site-file...done Setting paths for package /usr/local/emacsen-packages/nasm-mode Setting paths for package /usr/local/emacsen-packages/quack Starting new Ispell process [aspell::english] ... Electric newline by `reindent-then-newline-and-indent' enabled. For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message cl-macs gv format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils flyspell ispell filladapt common-start du-sh-site du-elisp-site du-scheme-site du-quack-site quack thingatpt cmuscheme scheme du-nasm-site nasm-site du-asm-site asm-mode du-asm-modes du-cc-site du-hslike-latex-site du-haskell-site du-python-site python_du du-pg-site proof-site proof-autoloads pg-vars idris-site idris du-agda2-site agda2 du-prog-modes du-auctex-site preview-latex tex-site auto-loads du-text-modes du-yasnippet-site template du-hippie-expand du-indent du-dictem-site dictem du-spell whitespace du-auto-fill delsel dvc-autoloads dvc-core dvc-lisp dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs dvc-defs dvc-site du-ahg-site ahg dired grep compile comint ansi-color cl cl-lib macroexp ewoc log-edit ring pcvs-util add-log diff-mode easymenu easy-mmode du-browse-kill-ring-site browse-kill-ring+ browse-kill-ring advice help-fns advice-preload paren mic-paren du-buffers du-bookmarks du-gui time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 03 17:01:03 2012 Received: (at 11852) by debbugs.gnu.org; 3 Jul 2012 21:01:04 +0000 Received: from localhost ([127.0.0.1]:46100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmADX-00053N-Gi for submit@debbugs.gnu.org; Tue, 03 Jul 2012 17:01:03 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:60232) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmADT-00052v-QU for 11852@debbugs.gnu.org; Tue, 03 Jul 2012 17:01:01 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SmA8r-0005dG-Jf; Tue, 03 Jul 2012 16:56:13 -0400 From: Glenn Morris To: Paul Eggert Subject: Re: bug#11852: Hook `find-file-not-found-functions' is ignored References: X-Spook: advisors assassinate Al Jazeera Juiliett Class Submarine X-Ran: uK@EIzs|zsB1g\QV;6o5[\7,2g(M~*t&JM:plMgx;^u+RnB X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 03 Jul 2012 16:56:13 -0400 In-Reply-To: (Dirk Ullrich's message of "Tue, 3 Jul 2012 21:36:04 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11852 Cc: 11852@debbugs.gnu.org, Dirk Ullrich X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 03 18:11:54 2012 Received: (at 11852-done) by debbugs.gnu.org; 3 Jul 2012 22:11:54 +0000 Received: from localhost ([127.0.0.1]:46267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmBK5-0006zN-Th for submit@debbugs.gnu.org; Tue, 03 Jul 2012 18:11:54 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:33509) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmBK4-0006zG-4A for 11852-done@debbugs.gnu.org; Tue, 03 Jul 2012 18:11:53 -0400 Received: from frontend4.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3WRfb25Kk0z3hhvK; Wed, 4 Jul 2012 00:07:41 +0200 (CEST) Received: from igel.home (ppp-88-217-101-196.dynamic.mnet-online.de [88.217.101.196]) by mail.mnet-online.de (Postfix) with ESMTPA id 3WRfZL4q9rzbc2Z; Wed, 4 Jul 2012 00:07:06 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 0C760CA2A3; Wed, 4 Jul 2012 00:07:05 +0200 (CEST) From: Andreas Schwab To: Glenn Morris Subject: Re: bug#11852: Hook `find-file-not-found-functions' is ignored References: X-Yow: How do I get HOME? Date: Wed, 04 Jul 2012 00:07:05 +0200 In-Reply-To: (Glenn Morris's message of "Tue, 03 Jul 2012 16:56:13 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11852-done Cc: 11852-done@debbugs.gnu.org, Paul Eggert , Dirk Ullrich X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) It was using an uninitialized value. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 03 19:59:10 2012 Received: (at 11852-done) by debbugs.gnu.org; 3 Jul 2012 23:59:10 +0000 Received: from localhost ([127.0.0.1]:46425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmCzt-0000xk-Hs for submit@debbugs.gnu.org; Tue, 03 Jul 2012 19:59:09 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:44847) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SmCzp-0000xa-N6 for 11852-done@debbugs.gnu.org; Tue, 03 Jul 2012 19:59:07 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 259EA39E80E0; Tue, 3 Jul 2012 16:54:21 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6qw2ZbJhg1DL; Tue, 3 Jul 2012 16:54:20 -0700 (PDT) Received: from [192.168.1.4] (pool-108-23-119-2.lsanca.fios.verizon.net [108.23.119.2]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 9800539E8008; Tue, 3 Jul 2012 16:54:20 -0700 (PDT) Message-ID: <4FF38628.105@cs.ucla.edu> Date: Tue, 03 Jul 2012 16:54:16 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Andreas Schwab Subject: Re: bug#11852: Hook `find-file-not-found-functions' is ignored References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11852-done Cc: 11852-done@debbugs.gnu.org, Glenn Morris , Dirk Ullrich X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On 07/03/2012 03:07 PM, Andreas Schwab wrote: > It was using an uninitialized value. Thanks for fixing that. I installed a further improvement as trunk bzr 108849. From unknown Sun Jun 22 07:46:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 01 Aug 2012 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator