From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: Silent autoloading Date: Mon, 10 Nov 2008 09:37:18 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226306269 9038 80.91.229.12 (10 Nov 2008 08:37:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2008 08:37:49 +0000 (UTC) Cc: rgm@gnu.org, Eli Zaretskii , michael.albinus@gmx.de, emacs-devel@gnu.org To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 10 09:38:51 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 1KzSIN-0001OM-2N for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 09:38:51 +0100 Original-Received: from localhost ([127.0.0.1]:59834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzSHF-0004La-Ij for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 03:37:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzSH2-0004LV-5i for emacs-devel@gnu.org; Mon, 10 Nov 2008 03:37:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzSH0-0004L4-Fl for emacs-devel@gnu.org; Mon, 10 Nov 2008 03:37:26 -0500 Original-Received: from [199.232.76.173] (port=59087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzSGy-0004L0-VL for emacs-devel@gnu.org; Mon, 10 Nov 2008 03:37:25 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:47790) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KzSGv-0004OU-GB; Mon, 10 Nov 2008 03:37:21 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.159]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzSGu-0000Vq-L8; Mon, 10 Nov 2008 03:37:20 -0500 Original-Received: by fg-out-1718.google.com with SMTP id l26so2402316fgb.30 for ; Mon, 10 Nov 2008 00:37:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=nBjXX3t8dU0JO4HWN4V0cTNExHcoqfEUtXrABvD18wM=; b=aNz3DI7OfTHVq0Xct6uKIXPOGr0E5zVEwtHaP+0UL2TVkQXvGiFuTlk1NTHyFSrbMy WhUat3XqYgav2dRNrBl/S9L8B+yBxHnQZESfXw5mqijfiaP213pZ9o/RPbGJO531DSdM 0fkTZ21lmgHQpSqVEKNcWjPrxYtbZxvUANH4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KX9FghTyOD+Ub9QB064q1tvTau+PnZblO26EVTDXfYmq7BwXvXBoU3Jm5aelcLOicq xNjcm3lICut2L78NCMahRGqfwhnwBAvfwO9USDla6qU3dzugyoi8VGooWk8WrpUesI06 xXUT1ir5lbXFBF/0zkN6cUhAS7ylHaMV7mFfw= Original-Received: by 10.86.92.4 with SMTP id p4mr7029118fgb.36.1226306238808; Mon, 10 Nov 2008 00:37:18 -0800 (PST) Original-Received: by 10.86.65.3 with HTTP; Mon, 10 Nov 2008 00:37:18 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:105530 Archived-At: On Mon, Nov 10, 2008 at 2:51 AM, Stefan Monnier wrote: > You're complaining about Emacs freezing for a little while without > giving any clue to the user about what's going on. That's indeed > a problem. But this rarely happens for autoloading, and in many cases > it happens independently from autoloading. > > 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.