GNU bug report logs -
#16519
24.3.50; gfile notifications not received in batch mode
Previous Next
Reported by: Michael Albinus <michael.albinus <at> gmx.de>
Date: Wed, 22 Jan 2014 09:51:01 UTC
Severity: normal
Found in version 24.3.50
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
> Maybe we should have ert-sit-for, then, which does everything like
> sit-for, except relying on input-pending-p?
There is ert-async.el <https://github.com/rejeep/ert-async.el>. I like
this idea, although the timer loop applies only
accept-process-output. read-event shall be added, at least.
Maybe we should contact the author, whether he agrees to merge this code
into ert.el?
>> I remember. I've added the !HAVE_DBUS prepocessor statetements due to
>> Bug#11415. It was a similar situation, D-Bus events were not read in
>> batch mode. So we really need a changed handling of special events in
>> the main loop, instead of adding more preprocessor lines.
>
> I don't see why we would need a separate queue for special events.
> What we need, perhaps, is a way to peek at stdin to see whether
> there's some input ready to be gobbled. Shouldn't select/pselect
> already provide that? IOW, there should be no need to call getchar at
> all at this point.
Reading file notifications via gio does not use file descriptors, which
are handled via xg_select. The same will happen, if we switch to gdbus
or kdbus later on. That's why we might need another kind of mainloop integration.
I'm not too familiar with kbd_buffer_store_event and the mechanisms
behind. If we still could use them - OK.
Best regards, Michael.
This bug report was last modified 11 years and 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.