From unknown Sat Aug 16 20:56:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22557 <22557@debbugs.gnu.org> To: bug#22557 <22557@debbugs.gnu.org> Subject: Status: 25.0.90; Saving a buffer under auto-revert turns off file notifications Reply-To: bug#22557 <22557@debbugs.gnu.org> Date: Sun, 17 Aug 2025 03:56:01 +0000 retitle 22557 25.0.90; Saving a buffer under auto-revert turns off file not= ifications reassign 22557 emacs submitter 22557 Eli Zaretskii severity 22557 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 04 13:34:46 2016 Received: (at submit) by debbugs.gnu.org; 4 Feb 2016 18:34:46 +0000 Received: from localhost ([127.0.0.1]:60609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aROju-0007u1-1X for submit@debbugs.gnu.org; Thu, 04 Feb 2016 13:34:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56827) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aROjs-0007tl-8b for submit@debbugs.gnu.org; Thu, 04 Feb 2016 13:34:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aROjl-0007TX-C1 for submit@debbugs.gnu.org; Thu, 04 Feb 2016 13:34:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aROjl-0007TS-8y for submit@debbugs.gnu.org; Thu, 04 Feb 2016 13:34:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aROjj-0000em-Ki for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 13:34:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aROji-0007ST-8i for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 13:34:35 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aROjb-0007RC-2F; Thu, 04 Feb 2016 13:34:27 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4466 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aROja-000574-0o; Thu, 04 Feb 2016 13:34:26 -0500 Date: Thu, 04 Feb 2016 20:34:10 +0200 Message-Id: <83a8ngwcil.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org, Michael Albinus Subject: 25.0.90; Saving a buffer under auto-revert turns off file notifications X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) emacs -Q C-x C-f SOME-FILE RET M-x auto-revert-mode RET M-: auto-revert-use-notify RET => t Modify the buffer and save it with "C-x C-s". Then: M-: auto-revert-use-notify RET => nil This is on MS-Windows; the same recipe on GNU/Linux with inotify doesn't have this problem. Looking under the hood reveals that filenotify.el sends a 'stopped' notification when Emacs renames SOME-FILE to SOME-FILE~, to back it up. In response, auto-revert-mode turns off file notifications and falls back to polling. It looks like the reason is this condition in filenotify.el: ;; Check for stopped. (setq stopped (or stopped (and (memq action '(deleted renamed)) (= (length (cdr registered)) 1) (or (string-equal (file-name-nondirectory file) (file-name-nondirectory (car registered))) (string-equal (file-name-nondirectory file) (car (cadr registered))))))) The second call to string-equal is the culprit: the file names match, so 'stopped' gets a non-nil value. I don't understand the logic of this: at least with w32notify, when a file is in auto-revert-mode, we watch the entire parent directory of that file, so there's no need to send the 'stopped' event when the file is renamed or deleted, only when the parent directory is deleted. This second call to string-equal was added as part of kqueue back-port, but it affects all the backends, and there's no comment or anything in the log message that explains the rationale for this part of the change, only a laconic "Add kqueue support." What is the reason for this test, and should it perhaps be limited to kqueue? In GNU Emacs 25.0.90.2 (i686-pc-mingw32) of 2016-01-31 built on HOME-C4E4A596F7 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 Configured using: 'configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int --with-modules 'CFLAGS=-Og -gdwarf-4 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Mail Minor modes in effect: shell-dirtrack-mode: t flyspell-mode: t diff-auto-refine-mode: t desktop-save-mode: t save-place-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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 temp-buffer-resize-mode: t line-number-mode: t auto-fill-function: mail-mode-auto-fill abbrev-mode: t Recent messages: Mark saved where search started [2 times] Mark set Mark saved where search started Mark set Saving file d:/gnu/git/emacs/branch/lisp/filenotify.el... Wrote d:/gnu/git/emacs/branch/lisp/filenotify.el Mark set Undo! Saving file d:/gnu/git/emacs/branch/lisp/filenotify.el... Wrote d:/gnu/git/emacs/branch/lisp/filenotify.el Load-path shadows: d:/usr/share/emacs/site-lisp/soap-inspect hides d:/usr/share/emacs/25.0.90/lisp/net/soap-inspect d:/usr/share/emacs/site-lisp/soap-client hides d:/usr/share/emacs/25.0.90/lisp/net/soap-client Features: (descr-text iso-transl ebuff-menu pp shadow emacsbug ruby-mode smie shell character-fold misearch multi-isearch rmailout url-util url-parse url-vars rfc2104 network-stream nsm starttls tls gnutls mail-extr smtpmail auth-source eieio eieio-core cl-macs password-cache dabbrev mailalias sendmail shr-color color shr dom subr-x browse-url cl-seq conf-mode arc-mode archive-mode vc-bzr org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view image-mode org-bibtex bibtex org-bbdb org-w3m org advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs bat-mode make-mode parse-time vc-cvs generic vc-svn texinfo jka-compr noutline outline bug-reference flyspell add-log info vc vc-dispatcher vc-git diff-mode easy-mmode map seq byte-opt gv bytecomp byte-compile cconv cl-extra qp rmailsum rmailmm message dired-x dired format-spec rfc822 mml mml-sec epg epg-config gnus-util mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode mail-prsvr mail-utils desktop frameset server filecache mairix cus-edit cus-start cus-load wid-edit saveplace midnight ispell generic-x cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-loaddefs pcase cl-lib paren battery time time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 1766138 246501) (symbols 56 51658 10) (miscs 48 3618 4548) (strings 16 128344 31235) (string-bytes 1 3335828) (vectors 16 42573) (vector-slots 8 1729654 252618) (floats 8 498 992) (intervals 40 338547 2583) (buffers 856 223)) From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 07:24:13 2016 Received: (at 22557) by debbugs.gnu.org; 5 Feb 2016 12:24:13 +0000 Received: from localhost ([127.0.0.1]:32863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRfQr-00029z-5P for submit@debbugs.gnu.org; Fri, 05 Feb 2016 07:24:13 -0500 Received: from mout.gmx.net ([212.227.17.22]:54650) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRfQp-00029m-0z for 22557@debbugs.gnu.org; Fri, 05 Feb 2016 07:24:11 -0500 Received: from detlef.gmx.de ([87.146.56.6]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MfzEP-1ae5c91QnN-00NOb1; Fri, 05 Feb 2016 13:24:04 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#22557: 25.0.90; Saving a buffer under auto-revert turns off file notifications References: <83a8ngwcil.fsf@gnu.org> Date: Fri, 05 Feb 2016 13:24:01 +0100 Message-ID: <87y4azs5um.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:wo6/SE7a9x0/H8s5qm2xV+19HydK4U8gRBF84TzfK10VI7ohb4S hk/M4rlpXNkc0F3t5RqrjqF4ph+7T7gLv5c+d2Fi+YlCj996YjSXwxgY9+J2HjLSMmvxUKg N4ijhHiB4duHdnJnJ1q4iF49rKI2jxXeJ5wVqIDHzCVO97C1LCn9B5ts4FQZeaBEBxn+C8v mQ4F2iUwk6EVdTflFt4lg== X-UI-Out-Filterresults: notjunk:1;V01:K0:o+p3CK+CQWE=:9TbnCc7Kr4CB1Q6Eefvjzv QidGbKZ4uZD6Y0Ocq3aAarWsbkCCpDZdlSWnei3rmnoZgRyxjMG/LQwvzeIES4/1YSin4NOqH Wa8jlMyvMDllIDnxELJHHZY8duzMBvmXayaHuOuKCknSGsYkBeR5uyzPLBNQ1rq6c3G9YFD1L CSzBfUMUeDBOP9DFQ45LbqmeSp4qQxl65kNKGW5exS0MD5YXzPRdqKatbhw1IZs00CmjilhJR jNs2OSEiXoHZBLdEycPskjv2lb//7t3Knje1oWkX595hQSNRtQGlEZCROehNeSVMAYGsg88Bc RV2ebBofTXQ1dxivM9SfdY/7QCq3FfVndETZVEFE7VU/+ecHNga/8fb1T2JXY5iggAVMe41uM m9BFmGzzkvFvfau7kxA6HhoMMoRMRJP9qV0aD/pwkAsv1v9gdUQCPotoL6Rfny6TqqhH+XqpY Vlqs4AcWmCnARbrLELQIAE4Oym/gWJ1sX6Q2Fr0jNDKy9WGCNLA42pnfQsMNxkFHLRfnC61M7 u964dm8R+j/7+Ewd/YT0Geo0JMbpnSOgkzEGTg+g4bNJ1lsjb9/HX7ujB5Y68twgG+WWiUtOO SESR6XWeeaDu9AwFXTkhWqMZbaR/bN2XzIieAeQbSnsK/CvEGAygbqe4xYcEXOGr5ZjT9jIn6 xPuAnkXD08WsHg0HsUKaXqrRugAtKhnptikwk71mq6MVmDNm60mB8Vbzy4NF7sxa+NvRiDh1s ZvKgunlKFjy7mT4yggiPidTN0nIZeYt4EwohKhzWt24mWahDVCiWvTr5bwoqOKb7uI2n8jN5i d5zPLxD X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22557 Cc: 22557@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: Hi Eli, > emacs -Q > C-x C-f SOME-FILE RET > M-x auto-revert-mode RET > M-: auto-revert-use-notify RET => t > > Modify the buffer and save it with "C-x C-s". Then: > > M-: auto-revert-use-notify RET => nil > > This is on MS-Windows; the same recipe on GNU/Linux with inotify > doesn't have this problem. For me the recipe fails in both cases. This is due to `backup-by-copying' being nil; in case of t there's no problem. But it shall work independent of this setting. This calls for a new test case in test/automated/file-notify-tests.el. Will add it. > Looking under the hood reveals that filenotify.el sends a 'stopped' > notification when Emacs renames SOME-FILE to SOME-FILE~, to back it > up. In response, auto-revert-mode turns off file notifications and > falls back to polling. > > It looks like the reason is this condition in filenotify.el: > > ;; Check for stopped. > (setq > stopped > (or > stopped > (and > (memq action '(deleted renamed)) > (= (length (cdr registered)) 1) > (or > (string-equal > (file-name-nondirectory file) > (file-name-nondirectory (car registered))) > (string-equal > (file-name-nondirectory file) > (car (cadr registered))))))) > > The second call to string-equal is the culprit: the file names match, > so 'stopped' gets a non-nil value. `stopped' shall be raised only in case of `deleted'. For `renamed', it seems to be wrong. Will check. > I don't understand the logic of this: at least with w32notify, when a > file is in auto-revert-mode, we watch the entire parent directory of > that file, so there's no need to send the 'stopped' event when the > file is renamed or deleted, only when the parent directory is deleted. In `auto-revert-notify-add-watch', only the file named by `buffer-file-name' is watched. autorevert.el does not check, what the underlying library of filenotify.el is able to do, watching single files or whole directories. And as said, a renaming of a file should not turn file notifications off. I will try to fix this. > This second call to string-equal was added as part of kqueue > back-port, but it affects all the backends, and there's no comment or > anything in the log message that explains the rationale for this part > of the change, only a laconic "Add kqueue support." The changes were introduced in the scratch/kqueue branch. Later merged to the master branch, later backported to the emacs-25 branch. Likely, commit messages were lost this way. I really hate it that we have no ChangeLog anymore, maintained by the developers. > What is the reason for this test, and should it perhaps be limited to > kqueue? Nope. If a file is supervised, and this is deleted on purpose, it shouldn't come back under supervision if a file with the same name appears later on. There is the case of renaming files during backup, which could be seen internally as delete+create file notification actions. This must be handled, I agree. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 09:42:26 2016 Received: (at 22557) by debbugs.gnu.org; 5 Feb 2016 14:42:26 +0000 Received: from localhost ([127.0.0.1]:32954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRhac-0003SX-JE for submit@debbugs.gnu.org; Fri, 05 Feb 2016 09:42:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50224) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRhab-0003SL-1p for 22557@debbugs.gnu.org; Fri, 05 Feb 2016 09:42:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRhaS-0007Ph-O0 for 22557@debbugs.gnu.org; Fri, 05 Feb 2016 09:42:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRhaS-0007PT-KW; Fri, 05 Feb 2016 09:42:16 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1700 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aRhaQ-0008Fn-SH; Fri, 05 Feb 2016 09:42:15 -0500 Date: Fri, 05 Feb 2016 16:41:59 +0200 Message-Id: <8360y3uslk.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-reply-to: <87y4azs5um.fsf@gmx.de> (message from Michael Albinus on Fri, 05 Feb 2016 13:24:01 +0100) Subject: Re: bug#22557: 25.0.90; Saving a buffer under auto-revert turns off file notifications References: <83a8ngwcil.fsf@gnu.org> <87y4azs5um.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 22557 Cc: 22557@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) > From: Michael Albinus > Cc: 22557@debbugs.gnu.org > Date: Fri, 05 Feb 2016 13:24:01 +0100 > > > I don't understand the logic of this: at least with w32notify, when a > > file is in auto-revert-mode, we watch the entire parent directory of > > that file, so there's no need to send the 'stopped' event when the > > file is renamed or deleted, only when the parent directory is deleted. > > In `auto-revert-notify-add-watch', only the file named by > `buffer-file-name' is watched. autorevert.el does not check, what the > underlying library of filenotify.el is able to do, watching single files > or whole directories. I don't think the problem is in autorevert.el. The problem is in filenotify.el, which is where 'stopped' is generated. Filenotify does know what it watches. > And as said, a renaming of a file should not turn file notifications > off. I will try to fix this. Neither should deleting a file, IMO. Otherwise you will lose during saving, since that's what Emacs does then. > I really hate it that we have no ChangeLog anymore, maintained by the > developers. Maybe we should re-introduce them. git-merge-changelog makes merging them all but free of problems, so perhaps we are paying a price that's too heavy for eliminating ChangeLog. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 09:50:57 2016 Received: (at 22557) by debbugs.gnu.org; 5 Feb 2016 14:50:57 +0000 Received: from localhost ([127.0.0.1]:32962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRhir-0003em-M9 for submit@debbugs.gnu.org; Fri, 05 Feb 2016 09:50:57 -0500 Received: from mout.gmx.net ([212.227.15.19]:60671) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRhiq-0003eY-2J for 22557@debbugs.gnu.org; Fri, 05 Feb 2016 09:50:56 -0500 Received: from detlef.gmx.de ([87.146.56.6]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lfjxq-1ZhsG32OMM-00pLeh; Fri, 05 Feb 2016 15:50:49 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#22557: 25.0.90; Saving a buffer under auto-revert turns off file notifications References: <83a8ngwcil.fsf@gnu.org> <87y4azs5um.fsf@gmx.de> <8360y3uslk.fsf@gnu.org> Date: Fri, 05 Feb 2016 15:50:48 +0100 In-Reply-To: <8360y3uslk.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 05 Feb 2016 16:41:59 +0200") Message-ID: <87mvrfus6v.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:d1BnJjzcGYa0WiHxSgxgnfxc3cRxrTqKYSslZgmNwrn2tLv6w/u Z8XHRqtJHBhWnNZzFepwZPc9M56OE5zNik0v8FGavkuuSWk9DNFF3GhCcEnHoPqyKb+EoSX wHym++wk4IKn4rHtTh+TVdIx6xNf3eSRfM+5qkGEGQio2HkdiAzoTV2nIZ8JlYbCFsVbcqi LFx3jT41rPpPoac82UyfA== X-UI-Out-Filterresults: notjunk:1;V01:K0:bzWmh4+iLQE=:cxlYG+xo4o6Ag9ViHJt7ia ktwDWcLCa9q/fqzfqOV0AyLHs1PtbN1KU4S3D3JiuscJpeCVEySUPlrPEfIgZhQssfVTghMiZ SoS7a6ezTlNjqqImR0MyUCZe/bu8h1GQ1frvMCo128f8k9FBaomohTzdZ97IQLx/Z1mK2KVLE HWeF155Tr+QealVro/I//0vl1wHbxgCxBdCwEYUSRlGyJyzPXY9RhvPsAhkj0ke5p+4X2jTNZ JeVtJe3O+13ynT/cVWEU5394qYTrtT04k2XfciyRgAPpsO3Owe3xzJl0CyWnQhCMUOJkOzFHK XMc9ljDcpWRb/5YkNiRr8exKkjoj6kDQFdtUD821zEcI0LhUIqCEJmHO0ZigIgTlDq1HfJo9k qp58xlAzgkHzgY9Alo1ovMzFbf8xxQuveXm5adp8M8zg+LFSgDNktDdyYGJIXE8Oz7HIdm3qW 1eCBRxfdX1E3eegHi/kqgTBmuDCme+BqBeoDIKGLBiFD+BbE+n32Q0r/EYIGN3dB8lvtQLtqS wr+2LpoSSOjlHMAJLzQ9w5ffj5tDfYyV+koxlzMepKYpjaWNHcCjy/zRSR1e3Nlx2bQEgf+p2 p2ZC5xu/O7nrfoudUEvZah3S+jVS7MN/+72VPbUuVGhrMzUDnWp5eofAaPu/w+E2e/1SpcfOD x/et3edNNZtk3LaGvTr+xSdMn2g/dwwUcQBxbJJCMDtu+A3ilKgpVX9iukjqmmVn85LdFIkMh UPo5J3czkFunXqXZ9NPXO/CDLa7D6Vt0dKLTHqlEyES7AYSBi+yF959A8qwjFTBFwQt05TgW/ nXNY7oT X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22557 Cc: 22557@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> And as said, a renaming of a file should not turn file notifications >> off. I will try to fix this. > > Neither should deleting a file, IMO. Otherwise you will lose during > saving, since that's what Emacs does then. That's what I meant. Deleting a file by intention shall take it off of file notification. Deleting a file temporarily, due to backup, shouldn't. I'll see how I could manage it. Fortunately, a `deleted'+`created' sequence is already handled as `renamed' in filenotify.el. I'll check how robust this is with all supported backends. >> I really hate it that we have no ChangeLog anymore, maintained by the >> developers. > > Maybe we should re-introduce them. git-merge-changelog makes merging > them all but free of problems, so perhaps we are paying a price that's > too heavy for eliminating ChangeLog. +++++++++1 Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 13:35:18 2016 Received: (at 22557) by debbugs.gnu.org; 7 Feb 2016 18:35:18 +0000 Received: from localhost ([127.0.0.1]:37455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSUB4-0004tI-EK for submit@debbugs.gnu.org; Sun, 07 Feb 2016 13:35:18 -0500 Received: from mout.gmx.net ([212.227.15.15]:49299) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSUB2-0004t4-FY for 22557@debbugs.gnu.org; Sun, 07 Feb 2016 13:35:16 -0500 Received: from detlef.gmx.de ([87.146.58.109]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MFuWk-1aDgKp2SaU-00EtA3; Sun, 07 Feb 2016 19:35:09 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#22557: 25.0.90; Saving a buffer under auto-revert turns off file notifications References: <83a8ngwcil.fsf@gnu.org> <87y4azs5um.fsf@gmx.de> <8360y3uslk.fsf@gnu.org> Date: Sun, 07 Feb 2016 19:35:08 +0100 In-Reply-To: <8360y3uslk.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 05 Feb 2016 16:41:59 +0200") Message-ID: <87pow8s71f.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:D30NMXeQ9Ze2TfLkKZPrCAZG6FH4VZ6chAGyHFOHi6oAyMDvHjp AeoECkzy4gend6E1Y/ojW7chDdVDRVrzOlDzk/y6mEZQTKg+zlYcxu32hNMYg+BRw6okQYT wh0HBGKy3TzwMyJoZlv26t+JBoSBsh5ucapAKqIX/sN5FEKZCH2mGvrmpn4c8RbZR4+XCjB isgn7eySwUMqvRZiCgmlw== X-UI-Out-Filterresults: notjunk:1;V01:K0:CtN6Jx1c3Q8=:/HyY2cWLqQwKWyIlGBzkCX TKSQMzBVzltLYHbyXXXbT5LWEnRWGOmqjN/wlGG+ugdJXhVNP1bNvU9WIUW+HnaNclynstnDy HwKFVT6d3CLUj9VT02O5y3zxafyTFp0ODBej4UFWdPMz/oGTqwUd6/0Ovr8lXfYPcvONEc69j pV+P5tkswEoX//4NfPB3NiRDxk6UVEIb3RZeBHOtPoGJTWgMra30e6ou4uvzrrhteJlYL9Ue3 Mr5G7XclxQdhY2WRwpo/1ThyF6oDDHvL8+pAHJ+ygM5Iktt6WHb5wr6Z7NrBWvBpfTe5NwX8I KZqgv+05o1eHXdbrkesKPs1j++OXIEGD1gwBynU6JAiqCbC7GgArNV+V3rSejJ1lIuVNtjKrD Y1wQL8CpnCuLclXQaGrt3cSGeOC48+Hju3v/9oRHjHkzifYvzWl9ip71puZ3ECDFIN34P5CIf s4usi+KycO0jucI/dvlEf/x5wOVNOb7SUiOzzAUQdkAykhq7gbS18vt1AQah0B71j7j/Mv22y /3D9JxTiHyJNdkGp42UobPiJ+HE129lVNWAvkJMWtbEMHjS8gXy3ljwDyb66aaFRPDeEe7nG/ PD7nIIi6hR1uNh22+Y+uJZZzF3q2HAdCR8HiE+JKjzl6sT14w6TEAEZ/3/Pzy5vFNHgkEBInQ sq50HORxf+Xcc9crJwKdIT0CCKBM3s6Mt75f0pPUAGekYavGNFKWUpRp2ws2q4gfNLLBbfjNj m7uZSeq5YUjQc9XO1ysRVAqGIPxTzDdcovkyzrFgE6H+bpnXB8m/9GDPyPwHXRP1SSmK7cEow IS2i3nv X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22557 Cc: 22557@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > I don't think the problem is in autorevert.el. The problem is in > filenotify.el, which is where 'stopped' is generated. Filenotify does > know what it watches. I've committed a patch to the emacs-25 branch, which shall fix this. There is also a new test file-notify-test07-backup for this problems. W/o the fix in filenotify.el, this test failed. Now it succeeds for me. Could you pls cross-check it with your scenario on w32? Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 14:41:25 2016 Received: (at 22557) by debbugs.gnu.org; 7 Feb 2016 19:41:25 +0000 Received: from localhost ([127.0.0.1]:37507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSVD3-0006Pt-Bn for submit@debbugs.gnu.org; Sun, 07 Feb 2016 14:41:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47576) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSVD1-0006Ph-UY for 22557@debbugs.gnu.org; Sun, 07 Feb 2016 14:41:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSVCt-0003by-Nm for 22557@debbugs.gnu.org; Sun, 07 Feb 2016 14:41:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSVCt-0003bu-KJ; Sun, 07 Feb 2016 14:41:15 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4547 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSVCs-0000u3-Rj; Sun, 07 Feb 2016 14:41:15 -0500 Date: Sun, 07 Feb 2016 21:40:56 +0200 Message-Id: <83wpqgqpfb.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-reply-to: <87pow8s71f.fsf@gmx.de> (message from Michael Albinus on Sun, 07 Feb 2016 19:35:08 +0100) Subject: Re: bug#22557: 25.0.90; Saving a buffer under auto-revert turns off file notifications References: <83a8ngwcil.fsf@gnu.org> <87y4azs5um.fsf@gmx.de> <8360y3uslk.fsf@gnu.org> <87pow8s71f.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 22557 Cc: 22557@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) > From: Michael Albinus > Cc: 22557@debbugs.gnu.org > Date: Sun, 07 Feb 2016 19:35:08 +0100 > > Eli Zaretskii writes: > > > I don't think the problem is in autorevert.el. The problem is in > > filenotify.el, which is where 'stopped' is generated. Filenotify does > > know what it watches. > > I've committed a patch to the emacs-25 branch, which shall fix > this. It does, thanks. > There is also a new test file-notify-test07-backup for this > problems. W/o the fix in filenotify.el, this test failed. Now it > succeeds for me. It fails for me on w32, I need 2 changed events, not one. If this is surprising, I can investigate more. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 14:56:47 2016 Received: (at 22557-done) by debbugs.gnu.org; 7 Feb 2016 19:56:47 +0000 Received: from localhost ([127.0.0.1]:37515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSVRu-0006mU-VZ for submit@debbugs.gnu.org; Sun, 07 Feb 2016 14:56:47 -0500 Received: from mout.gmx.net ([212.227.15.19]:51105) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSVRt-0006mH-R6 for 22557-done@debbugs.gnu.org; Sun, 07 Feb 2016 14:56:46 -0500 Received: from detlef.gmx.de ([87.146.58.109]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MdKgV-1ajLk40YVv-00IVh2; Sun, 07 Feb 2016 20:56:39 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#22557: 25.0.90; Saving a buffer under auto-revert turns off file notifications References: <83a8ngwcil.fsf@gnu.org> <87y4azs5um.fsf@gmx.de> <8360y3uslk.fsf@gnu.org> <87pow8s71f.fsf@gmx.de> <83wpqgqpfb.fsf@gnu.org> Date: Sun, 07 Feb 2016 20:56:37 +0100 In-Reply-To: <83wpqgqpfb.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Feb 2016 21:40:56 +0200") Message-ID: <87vb60guq2.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:6wbdAPSIpEdjaPH04KVztJDO9g0/uXNekdtv9+iGTaAMeUiZr+S PNf9ZKf09jBLamwZR3/Q82J1a0u6RqKxmZITgsw0f5bWUHx5G/0j6eJ5xBqLzRZwBBkKb/r 1u6Wr0zt4u5sNS4fkhohuQGdPcUV6RdlXFVDG3nPnFSqK2dV8fA0qBlrllGWcvylWsaQ0n6 vv3AOSXxSqSIE5Mzp6Kvg== X-UI-Out-Filterresults: notjunk:1;V01:K0:H46o840df1o=:B7d4ogxL+DwSCayf0YRD1Y 88jLEXfX+LKp5hZVKz/N4a3JBAPBWF46Drufk/tMASo5xazsrMbsbYzLuNyOT8gFsjDdTtI/X D1X37Vi7MqInokyCZNnW5pMX6+Db93AbLnd1FdqFLJ3FK06/D8JYDA+EJ1mSM9X7n/AQwmibr vRb2DeNInV2VFlPl0LUTDvkeentvzJIOIs+IupX3IguVqyXXlzrwx31rpjjTHOKblfueeAu94 XTn2q2IyJVfXHxneA74FcfhrJErAZ+SAE2kPpRJRl9KTKjWt8X4vnu+CcbCiP0iVUjnrHGC0R W1vf8p6Z6nfDjnkRFCvuwy2uXZBfBTtwm68R6yTdZUjQ68KlxF2lgukLIlwQis6jUDBiIBiU5 cfOo1ndUljkFbgn+qfSIbAviADzurTLeG+Lw99FpkpYsneTXY50E7yiIr5spIxk/zBbz2YbOk dj9mIRrDWXsYaub/efX3Nnxw4/lyEGhVcSIlCjXIvcvPfROSgTXdg5L8zxg+m8pfztEEgTGAn 6ABgn3B9YYbg2S9bzLseHY988DkrzOspEx8w0EYi0fKDI5MIEAPFX55G3u/7Oz9WygWsI29vf Yboy8jcS28N26l00sKglivr9oYliFXx+fx3d/LJTLfdb+kHNOm439BAmtKfjJ4ORB9ING1j6g QgvWykvmQTN7R3Nr8M/IsFxmzehi1cFsL0g5+2dBXU+lHyXp/JG2e/u2uzOa8Ns6BM/sfJ2Ee PqnTdiwjkiOMeinfFA9bnMYKZH4CwM2J9yQAQm/o3BubjDf8yLP4aghr05ZR3kx/E7nKUgdNl W06+6g+ X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22557-done Cc: 22557-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> I've committed a patch to the emacs-25 branch, which shall fix >> this. > > It does, thanks. So I'm closing the bug. >> There is also a new test file-notify-test07-backup for this >> problems. W/o the fix in filenotify.el, this test failed. Now it >> succeeds for me. > > It fails for me on w32, I need 2 changed events, not one. If this is > surprising, I can investigate more. As said, there are good chances that I'll have access to an MS Windows machine next week; I'll run all tests there. I have seen with inotify that I'll get a changed and then an attribute-changed event; the attribute-changed event is suppressed in the test. On MS Windows, there are no attribute-changed events IIUC; they are sent also as changed events. Therefore, you see two changed events. This is also the case in other tests, see the comments in file-notify-test02-events. I'll try to verify this, and adjust the expected events for file-notify-test07-backup on MS Windows. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 15:32:37 2016 Received: (at 22557) by debbugs.gnu.org; 7 Feb 2016 20:32:37 +0000 Received: from localhost ([127.0.0.1]:37542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSW0b-0007es-JT for submit@debbugs.gnu.org; Sun, 07 Feb 2016 15:32:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56558) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSW0Z-0007eg-Nd for 22557@debbugs.gnu.org; Sun, 07 Feb 2016 15:32:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSW0R-0006da-BG for 22557@debbugs.gnu.org; Sun, 07 Feb 2016 15:32:30 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSW0R-0006dW-8A; Sun, 07 Feb 2016 15:32:27 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4575 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSW0Q-0004rR-78; Sun, 07 Feb 2016 15:32:26 -0500 Date: Sun, 07 Feb 2016 22:32:08 +0200 Message-Id: <83twlkqn1z.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-reply-to: <87vb60guq2.fsf@gmx.de> (message from Michael Albinus on Sun, 07 Feb 2016 20:56:37 +0100) Subject: Re: bug#22557: 25.0.90; Saving a buffer under auto-revert turns off file notifications References: <83a8ngwcil.fsf@gnu.org> <87y4azs5um.fsf@gmx.de> <8360y3uslk.fsf@gnu.org> <87pow8s71f.fsf@gmx.de> <83wpqgqpfb.fsf@gnu.org> <87vb60guq2.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 22557 Cc: 22557@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) > From: Michael Albinus > Cc: 22557-done@debbugs.gnu.org > Date: Sun, 07 Feb 2016 20:56:37 +0100 > > > It fails for me on w32, I need 2 changed events, not one. If this is > > surprising, I can investigate more. > > As said, there are good chances that I'll have access to an MS Windows > machine next week; I'll run all tests there. > > I have seen with inotify that I'll get a changed and then an > attribute-changed event; the attribute-changed event is suppressed in > the test. > > On MS Windows, there are no attribute-changed events IIUC; they are sent > also as changed events. Therefore, you see two changed events. Yes, this was also my conclusion. > This is also the case in other tests, see the comments in > file-notify-test02-events. I'll try to verify this, and adjust the > expected events for file-notify-test07-backup on MS Windows. OK, thanks. Let me know if you need any help in these matters. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 05:02:33 2016 Received: (at 22557) by debbugs.gnu.org; 8 Feb 2016 10:02:33 +0000 Received: from localhost ([127.0.0.1]:37996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSieP-0003Bk-1S for submit@debbugs.gnu.org; Mon, 08 Feb 2016 05:02:33 -0500 Received: from mout.gmx.net ([212.227.17.21]:49260) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSieN-0003BV-I8 for 22557@debbugs.gnu.org; Mon, 08 Feb 2016 05:02:31 -0500 Received: from detlef.gmx.de ([87.146.47.108]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MVayZ-1aWl82059z-00Z2ak; Mon, 08 Feb 2016 11:02:25 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#22557: 25.0.90; Saving a buffer under auto-revert turns off file notifications References: <83a8ngwcil.fsf@gnu.org> <87y4azs5um.fsf@gmx.de> <8360y3uslk.fsf@gnu.org> <87pow8s71f.fsf@gmx.de> <83wpqgqpfb.fsf@gnu.org> <87vb60guq2.fsf@gmx.de> <83twlkqn1z.fsf@gnu.org> Date: Mon, 08 Feb 2016 11:02:22 +0100 In-Reply-To: <83twlkqn1z.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Feb 2016 22:32:08 +0200") Message-ID: <87a8nbwmdt.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:eA+Ff4OHE+Ml2MabHL212EFg6O2VVKWcBuuZk919+ODP3kXRgod 33YxQq+I7HDegJ9803QGJgb6JdvobmFe//MNQxTRlzgX0TBHg+NlcTachxXTkhnW2nBGiAK GQmz1aghFdb1nvRgcINfSAjnEysBd4eplmkqN9EWW+QSGTmlOId1xz5dyIV2PLZEzDQbrpg 2qZS5P4J8atscijLFkEdA== X-UI-Out-Filterresults: notjunk:1;V01:K0:6Xqc9CSpTDU=:PDPSsfEcRGC/mNaIDNIZuJ vfFtpqQ0XubJ6N4QOvwff0pkehYQZtLE/8LeS0cq7l2+PeJdVl6MH13rp9fv0wGlrK6tGe9Oy L3FHxRHUiZfkb+YK9uSq2omn2YHy8gwlouWKuPxW0bp+Ditn3HwbiHjAcCrlxeyBLCSpm0+ze msZhD4O3JiXi/N6smcwIY7xRYTiw9iCH01CL6MytVFz0gn7sPV25ELTtJQoFdQryahgRG11Qm RUArdCQ6SEv749P3O5W+cnYvH3b9nVZ1wOaBKwjathJiGfzVg774DM2+cWF+63jFrlUNTPUq3 +jupzHhCQnlSv3Ug7HTGDNRzjUWmr0jvMr0XD+jOxpO8DJVSsvlimda2Ioz8nmGm8ZmkH0R2e iF8ylmsp+2JyO6HRe1TIUsGwjISM2WokUH7isDba0iL4KUrLc1GTF/XgE6t4C9yF5SgcW+ZDp Q1EVE0JcaSinY80eQecB8LK3gK6Sspv2IjntvdmPcb6RlJ6M9jAtAd2WH0aYri1s9R3Ar6fBW /KyygPxQl8JMJNBmCfZqKAaPBI8UFYf8d3H2yChDR+STrViU52+HFZ8Bn72pKegb+JeFcWdLx Sj9olG1mJv8ftv7fPFLZ4KF+ccH7clh+izZeOBf+OwWBziA8VhZQqOuip+MK9jVzEKzxWpqJV 5UvgABQkG/p5+q/39DqbPy/OrjxHtyH8S6edSu+dKLJPvXIg0XJrZgS9zvzV0Cl9dzHpWq4sM IUFCs36D2rEP+CDERgWVgmsu3Y5gBa7Y5VwLhZTc3yzaptgMsUxvwQQq3Emcu79qPFu1Y69l2 7IuVFzg X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22557 Cc: 22557@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> This is also the case in other tests, see the comments in >> file-notify-test02-events. I'll try to verify this, and adjust the >> expected events for file-notify-test07-backup on MS Windows. > > OK, thanks. Let me know if you need any help in these matters. I've fixed this in the emacs-25 branch. Surprisingly, the remote case shows also two `changed' events when backing up by copying. Maybe this is a sign that Tramp's implementation could be optimized, dunno. When time permits I'll debug. kqueue does not keep file notification when backing up by rename. That's expected, because it cannot watch whole directories for changes. Maybe I'll drop a short not in the manual. Best regards, Michael. From unknown Sat Aug 16 20:56:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 07 Mar 2016 12: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