From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16519: 24.3.50; gfile notifications not received in batch mode Date: Mon, 03 Feb 2014 18:13:10 +0200 Message-ID: <83ob2o2mzt.fsf@gnu.org> References: <87obft367u.fsf@gnu.org> <87fvomstx8.fsf@gmx.de> <83zjmkb0yu.fsf@gnu.org> <87zjmi67yl.fsf_-_@gmx.de> <87y521if0c.fsf@gmx.de> <83vbx27j0k.fsf@gnu.org> <87iot16b2i.fsf@gmx.de> <83ha8l766e.fsf@gnu.org> <87ppn8gs1j.fsf@gmx.de> <83r47o5gg7.fsf@gnu.org> <87k3dggmzx.fsf@gmx.de> <83mwic5byx.fsf@gnu.org> <877g9c5nlo.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1391444056 27363 80.91.229.3 (3 Feb 2014 16:14:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2014 16:14:16 +0000 (UTC) Cc: 16519@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 03 17:14:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WAMA7-0006Vh-LK for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Feb 2014 17:14:19 +0100 Original-Received: from localhost ([::1]:48372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAMA7-0001z1-4u for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Feb 2014 11:14:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAM9y-0001oA-5A for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2014 11:14:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAM9q-00072S-UN for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2014 11:14:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAM9q-00072O-R3 for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2014 11:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WAM9q-000699-5A for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2014 11:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Feb 2014 16:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16519 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16519-submit@debbugs.gnu.org id=B16519.139144400723568 (code B ref 16519); Mon, 03 Feb 2014 16:14:02 +0000 Original-Received: (at 16519) by debbugs.gnu.org; 3 Feb 2014 16:13:27 +0000 Original-Received: from localhost ([127.0.0.1]:48222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAM9G-000683-C5 for submit@debbugs.gnu.org; Mon, 03 Feb 2014 11:13:26 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:46153) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAM9C-00067r-53 for 16519@debbugs.gnu.org; Mon, 03 Feb 2014 11:13:23 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N0F00I00GPKUM00@a-mtaout23.012.net.il> for 16519@debbugs.gnu.org; Mon, 03 Feb 2014 18:13:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0F00IV3H27RC80@a-mtaout23.012.net.il>; Mon, 03 Feb 2014 18:13:20 +0200 (IST) In-reply-to: <877g9c5nlo.fsf@gmx.de> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84510 Archived-At: > From: Michael Albinus > Cc: 16519@debbugs.gnu.org > Date: Mon, 03 Feb 2014 14:31:47 +0100 > > Eli Zaretskii writes: > > >> 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. > > > > That just means we should call xg_select etc. in addition to calling > > pselect. The events that come that way should still be put on the > > same single queue, IMO. > > Maybe I'm too stupid, but how shall we call xg_select w/o a file descriptor? No, it's my fault: I misunderstood your comment about xg_select, sorry. What I meant to say was that the same method we use to read file notifications via gio should be used, directly or indirectly, where we call pselect, so that these events enter the event queue like any others.