From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: W32 version crashes on C-g Date: Tue, 21 Mar 2006 13:43:18 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1143480887 24792 80.91.229.2 (27 Mar 2006 17:34:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Mar 2006 17:34:47 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 27 19:34:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FNvby-0001LB-9O for ged-emacs-devel@m.gmane.org; Mon, 27 Mar 2006 19:34:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNvbx-0006Xm-FY for ged-emacs-devel@m.gmane.org; Mon, 27 Mar 2006 12:34:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FLgEQ-0004qV-6T for emacs-devel@gnu.org; Tue, 21 Mar 2006 07:45:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FLgEO-0004no-R9 for emacs-devel@gnu.org; Tue, 21 Mar 2006 07:45:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FLgEO-0004nT-NT for emacs-devel@gnu.org; Tue, 21 Mar 2006 07:45:00 -0500 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FLgEQ-0006k3-9c for emacs-devel@gnu.org; Tue, 21 Mar 2006 07:45:02 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepa.post.tele.dk (Postfix) with SMTP id B2C32FAC053; Tue, 21 Mar 2006 13:44:51 +0100 (CET) Original-To: "Juanma Barranquero" In-Reply-To: (Juanma Barranquero's message of "Tue, 21 Mar 2006 11:35:55 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:52094 Archived-At: "Juanma Barranquero" writes: > On 3/19/06, Kim F. Storm wrote: > >> Here is what I have done so far ... Somebody more familiar with >> W32 programming should take over from here! > > The trouble is, must be someone familiar with the Emacs architecture > on Windows, too. I've never had the time to wrap my head around the > way the Windows port handles messages, the input thread, etc. I don't think you need to understand much (or any) of Emacs internals to fix this bug. AFAICS, the bug is in sys_select in w32proc.c which does not properly emulate the "unix select" semantics for server sockets (in "listen" mode). Fixing that is pretty isolated from the rest of emacs. > > I'm very interested in working again on the emacsclient/emacsserver > stuff; but with a 50%+ CPU load, my old computer overheats in five > minutes :-( So I guess you have the motivation to fix it :-) -- Kim F. Storm http://www.cua.dk