From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Reading D-Bus messages Date: Wed, 12 Aug 2009 19:18:31 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1250072381 24775 80.91.229.12 (12 Aug 2009 10:19:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 10:19:41 +0000 (UTC) Cc: Mario Lang , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 12 12:19:33 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MbAv7-0002yy-Tj for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2009 12:19:02 +0200 Original-Received: from localhost ([127.0.0.1]:40928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbAv5-0003UM-LS for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2009 06:18:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbAun-0003Eh-M5 for emacs-devel@gnu.org; Wed, 12 Aug 2009 06:18:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbAuj-0003AF-Qh for emacs-devel@gnu.org; Wed, 12 Aug 2009 06:18:41 -0400 Original-Received: from [199.232.76.173] (port=35176 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbAuj-0003A6-9w for emacs-devel@gnu.org; Wed, 12 Aug 2009 06:18:37 -0400 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2]:64257 helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbAui-00030F-TW for emacs-devel@gnu.org; Wed, 12 Aug 2009 06:18:37 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 4CD112C40; Wed, 12 Aug 2009 19:18:31 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by monty-python.gnu.org: NetBSD 3.0 (DF) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114136 Archived-At: >>>>> On Wed, 12 Aug 2009 11:43:37 +0200, Michael Albinus said: > When Emacs is started in a terminal, this does not work anymore. The > input handling seems to wait for keyboard interrupts and alike, and > does NOT poll anymore, whether there are other incoming events. > How shall xd_read_queued_messages() be activated in such a case? Usually we monitor file/socket descriptors in such cases. D-Bus seems to have a mechanism DBusWatch for this purpose. Maybe what the GPM support is doing is helpful. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp