From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 22534@debbugs.gnu.org
Subject: bug#22534: File notify broken on Windows
Date: Wed, 3 Feb 2016 00:36:22 +0100 [thread overview]
Message-ID: <CAFgFV9N6OtnRvET5gp0+x4obt-En2v3ojEnWbVshwg5in4N5Hw@mail.gmail.com> (raw)
In-Reply-To: <83h9hrytom.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 3722 bytes --]
You will find the commit below (with not too much surprise).
However, I don't have much time these days to sort this out.
Fabrice
$ git bisect good
7bf54d01159eb09bae3c9cd86f2af0812d9afdf6 is the first bad commit
commit 7bf54d01159eb09bae3c9cd86f2af0812d9afdf6
Author: Michael Albinus <michael.albinus@gmx.de>
Date: Fri Jan 22 19:56:09 2016 +0100
Backport kqueue integration from master
* configure.ac (--with-file-notification): Add kqueue.
(top): Remove special test for "${HAVE_NS}" and
${with_file_notification}, this is handled inside gfilenotify
tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
instead of library specific variables. Add error message for
gfile on Nextstep.
* doc/lispref/os.texi (File Notifications): Add kqueue as backend.
Fix some glitches in the example.
* etc/NEWS: Mention kqueue.
* lisp/filenotify.el (file-notify--library)
(file-notify-descriptors, file-notify-callback)
(file-notify-add-watch, file-notify-rm-watch)
(file-notify-valid-p): Add kqueue support.
(file-notify--rm-descriptor): Remove WHAT arg.
* src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
* src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
* src/inotify.c (inotifyevent_to_event): Extract file name from
watch_object if the event doesn't provide it.
(Finotify_add_watch): Add file name to watch_object.
* src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
* src/kqueue.c: New file.
* src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
* test/automated/file-notify-tests.el
(file-notify--test-expected-events): Remove.
(file-notify--test-cleanup): Do not set that variable.
(file-notify--test-timeout) Use different timeouts for
different libraries.
(file-notify--test-library): New defun.
(file-notify--test-event-test): Make stronger checks.
(file-notify--test-with-events): EVENTS can also be a list of
lists. Flush outstanding events before running the body.
Make timeout heuristically depend on the number of events.
(file-notify-test01-add-watch, file-notify-test02-events)
(file-notify-test04-file-validity, file-notify-test05-dir-validity):
Rewrite in order to call file monitors but directory monitors.
(file-notify-test02-events, file-notify-test04-file-validity): Do
not skip cygwin tests. Add additional test for file creation.
Adapt expected result for different backends.
(file-notify-test03-autorevert): Some of the tests don't work for
w32notify.
(file-notify-test06-many-events): New test.
:100644 100644 b5e6b77c713ca7fa82c7c23652170dff3c5adfd5
76193fae6dd61d4448b3a304d3a0e4978afb810e M configure.ac
:040000 040000 6b5e2cfa75a456e6f4d43e183976d6e8ece21462
41f9bd9c7893cbdccf22e97d7ddc3500c4443d5c M doc
:040000 040000 98523d83bfa75e0401f7a1049548c4f94ddb6b0d
4a87e49af135328911e0b31099f0e9d0f4f13aaf M etc
:040000 040000 96c8883a122a08fe59a772611eff59a8330a37c1
8e04830234a1d3e8af4fd37ceb3eb9c4503718c3 M lisp
:040000 040000 ebdfee938f44d5d2818a29bd07f795521a3583ee
53a01fd613d99e20cb563ab8418ec2776c146f09 M src
:040000 040000 9d27cfce0b9d77d43b2180ecd95451469309da92
71329cdc731a284e563265a90876cbf8ea94305b M test
2016-02-02 17:15 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
> > From: Fabrice Popineau <fabrice.popineau@gmail.com>
> > Date: Tue, 2 Feb 2016 07:23:43 +0100
> >
> > When I run 'make check', the process is stuck on filenotify tests.
> > If I try to run the tests interactively, I have to hit 'Ctrl-g'.
> > Emacs waits forever on the first test.
>
> Can you bisect to find the commit which broke this?
>
> Thanks.
>
[-- Attachment #2: Type: text/html, Size: 5164 bytes --]
next prev parent reply other threads:[~2016-02-02 23:36 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-02 6:23 bug#22534: File notify broken on Windows Fabrice Popineau
2016-02-02 16:15 ` Eli Zaretskii
2016-02-02 23:36 ` Fabrice Popineau [this message]
2016-02-03 8:07 ` Michael Albinus
2016-02-03 12:15 ` Fabrice Popineau
2016-02-04 9:49 ` Fabrice Popineau
2016-02-04 18:47 ` Eli Zaretskii
2016-02-05 5:59 ` Fabrice Popineau
2016-02-05 10:10 ` Eli Zaretskii
2016-02-05 15:34 ` Fabrice Popineau
2016-02-05 17:18 ` Michael Albinus
2016-02-05 19:43 ` Eli Zaretskii
2016-02-05 21:58 ` Michael Albinus
2016-02-06 16:53 ` Eli Zaretskii
2016-02-06 19:24 ` Michael Albinus
2016-02-06 19:55 ` Eli Zaretskii
2016-02-07 13:37 ` Fabrice Popineau
2016-02-07 17:46 ` Eli Zaretskii
2016-02-07 18:37 ` Michael Albinus
2016-02-07 19:34 ` Fabrice Popineau
2016-02-08 10:27 ` Michael Albinus
2016-02-08 10:43 ` Fabrice Popineau
2016-02-08 18:09 ` Eli Zaretskii
2016-02-08 19:14 ` Michael Albinus
2016-02-08 19:36 ` Eli Zaretskii
2016-02-08 20:00 ` Michael Albinus
2016-02-08 20:18 ` Eli Zaretskii
2016-02-08 20:51 ` Michael Albinus
2016-02-08 21:03 ` Eli Zaretskii
2016-02-08 21:13 ` Michael Albinus
2016-02-09 3:35 ` Eli Zaretskii
2016-02-09 8:13 ` Michael Albinus
2016-02-09 10:08 ` Michael Albinus
2016-02-09 17:09 ` Eli Zaretskii
2016-02-09 18:47 ` Michael Albinus
2016-02-10 11:25 ` Michael Albinus
2016-02-08 19:15 ` Fabrice Popineau
2016-02-10 19:15 ` Eli Zaretskii
2016-02-11 15:19 ` Fabrice Popineau
2016-02-12 8:38 ` Eli Zaretskii
2016-02-15 15:31 ` Michael Albinus
2016-02-15 15:59 ` Eli Zaretskii
2016-02-15 17:52 ` Michael Albinus
2016-02-15 19:46 ` Fabrice Popineau
2016-02-08 10:21 ` Michael Albinus
2016-02-08 10:40 ` Fabrice Popineau
2016-02-08 14:33 ` Fabrice Popineau
2016-02-05 19:31 ` Eli Zaretskii
2016-02-05 17:23 ` Michael Albinus
[not found] ` <CAFgFV9P2D6-dcuHnZ2VQ6F2sW85Aj3AZWL85RJxai-LyuE87xw@mail.gmail.com>
[not found] ` <CAFgFV9MghLviOcmwmDmasZNmkDjZfoBSuwFOoSHXQNtxxkg9mA@mail.gmail.com>
[not found] ` <83egcbun0o.fsf@gnu.org>
[not found] ` <CAFgFV9Og72xHW5O9JE8og=7NrTgeMvx01bg_HBOYzduH1vjLfQ@mail.gmail.com>
[not found] ` <8360xnukzx.fsf@gnu.org>
[not found] ` <CAFgFV9N-+bZf-bBXFaDNsv3dvFQjJbpggPMJrcZ30M-HSaZDwg@mail.gmail.com>
[not found] ` <83a8mvprbg.fsf@gnu.org>
[not found] ` <CAFgFV9Patgn1GJrDkSeMKsS4cewdQRp4F8VYoftybTQ5TmfPAg@mail.gmail.com>
[not found] ` <83oabbnxvs.fsf@gnu.org>
[not found] ` <CAFgFV9N55HuPkF+mVx6Eh9szUUxhu+BkF-2KJ7nx46-3wsph5Q@mail.gmail.com>
[not found] ` <83io1glmkg.fsf@gnu.org>
[not found] ` <CAFgFV9PxijF1Q3WPo1Ebfqe4cJQVYyiu4bOm41QV4L_OvYZ35w@mail.gmail.com>
[not found] ` <87y4abtwhq.fsf@gmx.de>
[not found] ` <8337sjjsql.fsf@gnu.org>
[not found] ` <CAFgFV9MkwdPHxf_6VqYZdBt8vXwbBUxcOivkCyZWYTvi0H24XQ@mail.gmail.com>
[not found] ` <87ziuc3gay.fsf@gmx.de>
[not found] ` <83twkkwxdi.fsf@gnu.org>
[not found] ` <CAFgFV9MdwHK8OG69Dpw6wPj6FK9Fi5c3vQ_jFZaz1BfgGLBLbw@mail.gmail.com>
[not found] ` <83mvqcwa2v.fsf@gnu.org>
[not found] ` <CAFgFV9NTSw1LKn_CzrKxNmZvRMbqrctSEer_8oaniH+Lti=n6g@mail.gmail.com>
2016-03-08 7:44 ` Michael Albinus
[not found] ` <83r3fil7z3.fsf@gnu.org>
[not found] ` <CAFgFV9Pkmz0E7h4mfCLCcxmt29dbDNfAOOp=mbPKnCpPt1B3LQ@mail.gmail.com>
[not found] ` <83bn6ljbku.fsf@gnu.org>
[not found] ` <CAFgFV9PnLRZ=2-C4S9jSMpmDUxijCUQQnu-YnAv2-ifm+6kZBA@mail.gmail.com>
[not found] ` <83fuvm8wjx.fsf@gnu.org>
2016-03-19 14:51 ` Michael Albinus
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFgFV9N6OtnRvET5gp0+x4obt-En2v3ojEnWbVshwg5in4N5Hw@mail.gmail.com \
--to=fabrice.popineau@gmail.com \
--cc=22534@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).