From: Michael Albinus <michael.albinus@gmx.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 16519@debbugs.gnu.org
Subject: bug#16519: 24.3.50; gfile notifications not received in batch mode
Date: Sun, 26 Jan 2014 17:09:22 +0100 [thread overview]
Message-ID: <87zjmi67yl.fsf_-_@gmx.de> (raw)
In-Reply-To: <83zjmkb0yu.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 25 Jan 2014 16:16:57 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
> This breaks the file-notify-test02-events test on w32. It looks like
> read-event never returns there.
Strange. There is the call (read-event nil nil 0.1) - shouldn't it
return under any circumstances?
> If I replace that with sit-for, it does return, but the test still
> fails because file-notify--test-results remains nil, something that
> wasn't being tested when I last ran the test (in early December).
sit-for seems to work for inotify based file notifications only. If
there is gio in place, one needs to perform accept-process-output. This
is unfortune, because the user cannot know in advance how to check for
events. Fortnately, both read-event and accept-process-output are called
for other reasons in interactive mode, letting the events arrive. Not
the best situation, but I don't know (yet) how to harmonize.
I don't know what it needs on w32 to get the file notification
events. Is it sit-for?
> Frankly, given the inordinate amount of work it took to try to get
> file notifications work in batch mode, I'd rather we declared they are
> not expected to work in batch, and moved on. If you, for some reason,
> still want to stick with that test, please mark
> file-notify-test02-events to be skipped for w32, as I'm tired of
> fixing the breakage there time and again.
Well, maybe there is no use case which requires file notification events
in batch mode. BUT I like to be informed by hydra, that a whatever
change has broken Emacs. Often, this are collateral damages by unrelated
changes.
Given, that I have no possibility to develop on w32, I'll go as proposed
by you and mark file-notify-test02-events (and maybe also
file-notify-test03-autorevert) as expected to fail on w32 in batch
mode. The same is currently true for gio based file notifications, but
here I'm eager to find a solution, which works on hydra.
> Thanks.
Best regards, Michael.
next prev parent reply other threads:[~2014-01-26 16:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-09 14:35 bug#13662: 24.3.50; inotify-add-watch fails in batch mode Chong Yidong
2014-01-17 11:56 ` Michael Albinus
2014-01-25 14:16 ` Eli Zaretskii
2014-01-26 15:55 ` Michael Albinus
2014-01-26 16:09 ` Michael Albinus [this message]
2014-01-26 17:43 ` bug#16519: 24.3.50; gfile notifications not received " Michael Albinus
2014-01-27 16:08 ` Michael Albinus
2014-01-29 18:14 ` Eli Zaretskii
2014-01-30 10:03 ` Michael Albinus
2014-01-30 17:03 ` Eli Zaretskii
2014-01-31 14:11 ` Michael Albinus
2014-01-31 15:17 ` Eli Zaretskii
2014-01-31 16:00 ` Michael Albinus
2014-01-31 16:53 ` Eli Zaretskii
2014-02-03 13:31 ` Michael Albinus
2014-02-03 16:13 ` Eli Zaretskii
2014-02-04 11:43 ` Michael Albinus
-- strict thread matches above, loose matches on Subject: below --
2014-01-22 9:50 Michael Albinus
2014-01-22 15:49 ` Eli Zaretskii
2014-01-24 11:23 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zjmi67yl.fsf_-_@gmx.de \
--to=michael.albinus@gmx.de \
--cc=16519@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 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.