From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Silent autoloading Date: Sun, 16 Nov 2008 14:02:45 -0500 Message-ID: References: <87zljzrb7q.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1226862168 15300 80.91.229.12 (16 Nov 2008 19:02:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Nov 2008 19:02:48 +0000 (UTC) Cc: rgm@gnu.org, Eli Zaretskii , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 16 20:03:50 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 1L1muL-0006BP-7G for ged-emacs-devel@m.gmane.org; Sun, 16 Nov 2008 20:03:41 +0100 Original-Received: from localhost ([127.0.0.1]:43861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1mtD-0005iF-1n for ged-emacs-devel@m.gmane.org; Sun, 16 Nov 2008 14:02:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1mt7-0005i8-Un for emacs-devel@gnu.org; Sun, 16 Nov 2008 14:02:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1mt5-0005hw-J0 for emacs-devel@gnu.org; Sun, 16 Nov 2008 14:02:24 -0500 Original-Received: from [199.232.76.173] (port=46233 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1mt5-0005ht-AM for emacs-devel@gnu.org; Sun, 16 Nov 2008 14:02:23 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:2566 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L1mt2-0002Db-Pn; Sun, 16 Nov 2008 14:02:21 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhIFAH/8H0lMCrcy/2dsb2JhbACBbMsJgnmBFA X-IronPort-AV: E=Sophos;i="4.33,614,1220241600"; d="scan'208";a="29937319" Original-Received: from 76-10-183-50.dsl.teksavvy.com (HELO ceviche.home) ([76.10.183.50]) by ironport2-out.teksavvy.com with ESMTP; 16 Nov 2008 14:02:18 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id AA1BFB4050; Sun, 16 Nov 2008 14:02:45 -0500 (EST) In-Reply-To: <87zljzrb7q.fsf@gmx.de> (Michael Albinus's message of "Sun, 16 Nov 2008 15:34:33 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:105721 Archived-At: >> 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..."). > I was offline the last three weeks, so I'm still synchronizing. Has > something been done this way, or shall I add a message when loading Tramp? Nothing has been done in this way yet. Could you add a message for now? Stefan