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: Hourglass only for X-windows? Date: Sun, 27 Feb 2005 18:57:08 +0100 Message-ID: <000701c51cf5$d269ee10$0200a8c0@sedrcw11488> 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 1109527620 4406 80.91.229.2 (27 Feb 2005 18:07:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Feb 2005 18:07:00 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 27 19:06:59 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5SoY-00067a-H5 for ged-emacs-devel@m.gmane.org; Sun, 27 Feb 2005 19:06:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5T6k-0003cx-Uv for ged-emacs-devel@m.gmane.org; Sun, 27 Feb 2005 13:25:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5T4g-00037j-N0 for emacs-devel@gnu.org; Sun, 27 Feb 2005 13:23:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5T4Z-00032b-14 for emacs-devel@gnu.org; Sun, 27 Feb 2005 13:23:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5T4W-0002t7-0P for emacs-devel@gnu.org; Sun, 27 Feb 2005 13:23:16 -0500 Original-Received: from [81.228.10.115] (helo=av1-2-sn4.m-sp.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D5SfQ-00084n-Dd for emacs-devel@gnu.org; Sun, 27 Feb 2005 12:57:20 -0500 Original-Received: by av1-2-sn4.m-sp.skanova.net (Postfix, from userid 502) id C19393828A; Sun, 27 Feb 2005 18:57:19 +0100 (CET) Original-Received: from smtp2-1-sn4.m-sp.skanova.net (smtp2-1-sn4.m-sp.skanova.net [81.228.10.183]) by av1-2-sn4.m-sp.skanova.net (Postfix) with ESMTP id AAC7137EB9 for ; Sun, 27 Feb 2005 18:57:19 +0100 (CET) Original-Received: from sedrcw11488 (t4o58p42.telia.com [195.252.57.42]) by smtp2-1-sn4.m-sp.skanova.net (Postfix) with SMTP id DE36E37E50 for ; Sun, 27 Feb 2005 18:57:18 +0100 (CET) Original-To: "Emacs Devel" 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:33872 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33872 I am trying to understand the implementation around hourglass cursors. When I look through eval.c, fns.c, keyboard.c, lread.c and minibuf.c I see in many places something like: #ifdef HAVE_X_WINDOWS if (display_hourglass_p) cancel_hourglass (); #endif Is this really correct? It looks like displaying an hourglass cursor should only happen if x windows is available. Maybe it would be better to remove these ifdefs and require every Emacs implementation to compile the lines? Does not most systems actually have the possibility to display hourglass cursors? If they do not could the implementation not just supply some dummies for the required functions?