From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Silent autoloading Date: Mon, 10 Nov 2008 22:11:13 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1226348133 18228 80.91.229.12 (10 Nov 2008 20:15:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2008 20:15:33 +0000 (UTC) Cc: rgm@gnu.org, michael.albinus@gmx.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 10 21:16:33 2008 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 1KzdBM-0000Am-Qk for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 21:16:21 +0100 Original-Received: from localhost ([127.0.0.1]:44335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzdAE-00088q-MS for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 15:15:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzdAA-00088X-Lu for emacs-devel@gnu.org; Mon, 10 Nov 2008 15:15:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzdA8-00087H-Rx for emacs-devel@gnu.org; Mon, 10 Nov 2008 15:15:05 -0500 Original-Received: from [199.232.76.173] (port=41949 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzdA8-00087A-Lb for emacs-devel@gnu.org; Mon, 10 Nov 2008 15:15:04 -0500 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:21050) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kzd6o-0007dc-Pr; Mon, 10 Nov 2008 15:11:39 -0500 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KA400M00W1E5900@i-mtaout6.012.net.il>; Mon, 10 Nov 2008 22:12:58 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.241.172]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KA4005ENW5L4E30@i-mtaout6.012.net.il>; Mon, 10 Nov 2008 22:12:57 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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:105541 Archived-At: > Date: Mon, 10 Nov 2008 09:37:18 +0100 > From: "Lennart Borgman" > Cc: "Eli Zaretskii" , rgm@gnu.org, michael.albinus@gmx.de, > emacs-devel@gnu.org > > On Mon, Nov 10, 2008 at 2:51 AM, Stefan Monnier > wrote: > > Maybe the right solution is to link this to the hourglass-mouse-cursor: > > have a global variable busy-message, and when the > > hourglass timer expires, not only we should change the mouse-cursor to > > an hourglass, but we should also output the message currently stored in > > `busy-message'. > > This way, loading a file could set this var to "Loading ..." and if > > the loading takes a while (and only in this case), you'd get the > > relevant message. This would happen to work for autoloading as well as > > for `require' and any other way to load a file. And it could be used > > in other situations (e.g. "Building completion table..."). > > That would be good. Except that, I think, it won't work on Windows, where atimer is not supported. And what about Emacs on a tty, where there's no hourglass-mouse-cursor?