From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: Hourglass only for X-windows? Date: Mon, 28 Feb 2005 16:57:26 +0100 Message-ID: <007801c51dae$4674c560$0200a8c0@sedrcw11488> References: <000701c51cf5$d269ee10$0200a8c0@sedrcw11488> <01c51d0b$Blat.v2.4$215fcf20@zahav.net.il> <003201c51d2b$5c57e2f0$0200a8c0@sedrcw11488> <01c51d4f$Blat.v2.4$8840d7e0@zahav.net.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109606856 24229 80.91.229.2 (28 Feb 2005 16:07:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2005 16:07:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 28 17:07:36 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5nPB-0004zt-H6 for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 17:06:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5nhX-0004me-Ar for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 11:24:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5nc9-0000qm-UU for emacs-devel@gnu.org; Mon, 28 Feb 2005 11:19:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5nbr-0000h7-Vf for emacs-devel@gnu.org; Mon, 28 Feb 2005 11:19:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5nbr-0000dt-Py for emacs-devel@gnu.org; Mon, 28 Feb 2005 11:19:03 -0500 Original-Received: from [81.228.10.113] (helo=av3-2-sn4.m-sp.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D5nHH-0008NC-IR; Mon, 28 Feb 2005 10:57:47 -0500 Original-Received: by av3-2-sn4.m-sp.skanova.net (Postfix, from userid 502) id 5261E37E6F; Mon, 28 Feb 2005 16:57:45 +0100 (CET) Original-Received: from smtp2-1-sn4.m-sp.skanova.net (smtp2-1-sn4.m-sp.skanova.net [81.228.10.183]) by av3-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id 3DA4337E48; Mon, 28 Feb 2005 16:57:45 +0100 (CET) Original-Received: from sedrcw11488 (t3o58p59.telia.com [195.252.56.59]) by smtp2-1-sn4.m-sp.skanova.net (Postfix) with SMTP id 4724837E53; Mon, 28 Feb 2005 16:57:43 +0100 (CET) Original-To: "Eli Zaretskii" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33932 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33932 ----- Original Message ----- From: "Eli Zaretskii" > > However I can > > not see how hourglass support can be implemented at all if those places > > where you hide or show the hourglass is ifdef:ed away. Both start_hourglass > > and cancel_hourglass are ifdef:ed away (unless HAVE_X_WINDOW is defined). Am > > I perhaps misunderstanding when HAVE_X_WINDOW is defined? > > HAVE_X_WINDOWS is defined for Emacs built on GNU or Unix systems with > X support enabled. Thanks, I guessed so but was not sure. > So you are saying that hourglass cursor doesn't work on Windows? I At least I can not see that it works. > So, assuming that hourglass cursor indeed doesn't work on Windows, and > that those snippets are conditioned on X _because_ that feature is not > yet implemented in the Windows port--what is it that you don't > understand in how this feature works on Unix? What I was trying to say was this (that it probably are conditioned for X) and that it is a problem because with #ifdef HAVE_X_WINDOWS around hourglass activation/deactivation you can only get things working on X. For the w32 port there are also #if 0 around the body part of the functions that do the actual job (start_hourglass, hide_hourglass), since it is (as far as I understand) not implemented on w32 yet. I suggest removing the "#ifdef HAVE_X_WINDOWS" completely or (which I believe most would like better - but not I) replacing them with something like #ifdef HAS_HOURGLASS Can we please do one of these so that it is possible to implement hourglass support?