delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
From: | Michael Albinus <michael DOT albinus AT gmx DOT de> |
To: | Ken Brown <kbrown AT cornell DOT edu> |
Cc: | emacs-devel <emacs-devel AT gnu DOT org>, cygwin AT cygwin DOT com |
Subject: | Re: Reading D-Bus messages |
References: | <878w2tx6gk DOT fsf AT gmx DOT de> <4C9A493F DOT 4050701 AT cornell DOT edu> |
Date: | Thu, 23 Sep 2010 09:19:37 +0200 |
Message-ID: | <874odhyliu.fsf@gmx.de> |
User-Agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Ken Brown <kbrown AT cornell DOT edu> writes: > Hi Michael, Hi Ken, >> I do not understand all details of keyboard.c. Is there something I need >> to set in order to urge the call of xd_read_queued_messages (via >> gobble_input)? Or do I need to suppress further polling? What is the >> difference for Emacs running with cygwin, compared with the GNU/Linux case? >> >> Btw, when I call xd_read_queued_messages inside xd_pending_messages, >> everything works fine also with cygwin. But I guess this isn't the >> correct solution. > > I don't know enough to attempt an answer. Is there any chance you > could write a small self-contained program that exhibits the problem? > If so, there's a chance someone on the Cygwin list could help. The problem seems to be how gobble_input is called in kbd_buffer_get_event (keyboard.c): /* Note SIGIO has been undef'd if FIONREAD is missing. */ #ifdef SIGIO gobble_input (0); #endif /* SIGIO */ SIGIO is undefined, and gobble_input is not called under cygwin therefore. If I remove this conditional directive, D-Bus connections in Emacs work fine! What is the reason, that SIGIO is undefined under cygwin? > Ken Best regards, Michael. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |