From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: auto-revert error on macOS when auto-revert-use-notify is t Date: Sat, 20 Jan 2018 16:34:06 +0100 Message-ID: <874lngfssx.fsf@gmx.de> References: <87po6xvom5.fsf@gmx.de> <83r2rdg7u3.fsf@gnu.org> <87vagkjswm.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1516462345 21822 195.159.176.226 (20 Jan 2018 15:32:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Jan 2018 15:32:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , "emacs-devel@gnu.org" To: zhang cc Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 20 16:32:21 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecv7v-000515-CD for ged-emacs-devel@m.gmane.org; Sat, 20 Jan 2018 16:32:15 +0100 Original-Received: from localhost ([::1]:45462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecv9v-00025p-FQ for ged-emacs-devel@m.gmane.org; Sat, 20 Jan 2018 10:34:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecv9p-00025Y-0G for emacs-devel@gnu.org; Sat, 20 Jan 2018 10:34:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecv9l-0004tC-UT for emacs-devel@gnu.org; Sat, 20 Jan 2018 10:34:13 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:56550) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ecv9l-0004sk-Kk; Sat, 20 Jan 2018 10:34:09 -0500 Original-Received: from detlef.gmx.de ([79.140.121.3]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MfEsY-1eRKYX0zgw-00OmZo; Sat, 20 Jan 2018 16:34:07 +0100 In-Reply-To: (zhang cc's message of "Fri, 5 Jan 2018 14:47:33 +0000") X-Provags-ID: V03:K0:+3KNmyXiQ49rEpjdQ/wQYDcVzlNlqwUj8lRs3Rhyl7qZ2tYWBgu /4OXpl2n7R1k5z7a7NjkygQ0Uh/LbFahzNqMCaw/XouvAano3Oz8rx4wuOqSzatgEUyBYYG Dcb9BkgK0SRr7gIjMvlZz/xqlHpTFB+9OWZwJq2NSevizIncfOgPi39Yp55miK06v+6zkHx rP2w2QDj8Qh4J6ShXUZZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:ugpbaO5lqTg=:gdSrxYRYTKf5YpDH8AG3Vd FDFF9bKm0MJbEOoG5dD7uD/GWXy7YUSRd/tqa+DIgKyJatjc4lVhlbYcpHng/58T5xAQ6T+jX CiebnlOVd8vu6Vtusx41FO4viVyB/5QvyKUG7oB0Atz7bcI2tuimHzFm5fob+esyyBgUtW9XB II6DIg3rR+WCYhbhd5SrwnTLoZEjAXyXjxB6B0RDGGC2x9gGQu1VxzwYXUSpko9tomE8DPBDj fS0mcpeGHzxJ7wUiAH9jQ6FdKhlnfIcJ8LunVUvshmPwQ8b58gq0Q9JhTPLxpG2SkdUkRtdJK aeniEL7XnSK8lao1M4DuaYeuNODyuS5QaFAfXw9sTHEVObnR6AG5PCQz7jduEpGUHZg0hAf0P bJsEO3fsgFqjP0y5MniC3kByH84Mhv9mkBfewycCuC/pOeDn9dY1Af/kCFjyw8XdfP8kgRguc HRakfQUIAZYngkcarkMgqUrDFofoKbTh452D2n5uixsvwS7Pk+kYGw9ViGlKH3hb5+pvs9ik2 NC+AW4NDsIDh4W+sn++AC4zgvSUuCDdhJLWx7uc+k/kfzJS1LUwqUH9VdS4qZhuZlUvgKpSpw 4BjHZWkizhbXmlhp0ldW/OasFQ4GFd2BUSpQ2/SDYdxVSlPiJrCy1bPZTONdyor3zq/I8ISX6 +qp+BtPbn3YwwHWn0nlIa0Xu3pYzBtleD0WT90IqLkXIHb6h9mO7fjgWZbA/ViueSCbo68Kj6 qlyoo+kwlQDtr8sOu/6GZZaf5GwuYCmS8eWcwZjpJZNe0n61LYmOFTMQZ0HUfQgqyBMrRQ/U X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222108 Archived-At: zhang cc writes: Hi, > I will put it in my TODO. If time permits, I'll work on this, if > nobody beats me. > > Thank you for your attention and your work. > My English is poor. I=E2=80=99m afraid I can=E2=80=99t discribe it clearl= y. Maybe > someone else can do it? I've pushed a patch to the master branch. It recreates a file notification in autorevert, if a file was deleted and recreated afterwards. Since autorevert watches directories, the solution was simpler than expected. The `create' event for the file from the directory is a perfect trigger. Could you, pls, check whether it works for you? I have extended the `auto-revert-test02-auto-revert-deleted-file', which runs OK in my environment. Testing on macOS (kqueue) is not possible for me. Best regards, Michael.