From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Silent autoloading Date: Sun, 16 Nov 2008 15:34:33 +0100 Message-ID: <87zljzrb7q.fsf@gmx.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1226846099 31608 80.91.229.12 (16 Nov 2008 14:34:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Nov 2008 14:34:59 +0000 (UTC) Cc: rgm@gnu.org, Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 16 15:36:00 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 1L1ijD-0002jl-Ei for ged-emacs-devel@m.gmane.org; Sun, 16 Nov 2008 15:35:55 +0100 Original-Received: from localhost ([127.0.0.1]:47847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1ii5-0002Zp-1y for ged-emacs-devel@m.gmane.org; Sun, 16 Nov 2008 09:34:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1ihy-0002Yi-Mw for emacs-devel@gnu.org; Sun, 16 Nov 2008 09:34:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1ihy-0002YC-7w for emacs-devel@gnu.org; Sun, 16 Nov 2008 09:34:38 -0500 Original-Received: from [199.232.76.173] (port=54067 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1ihx-0002Xv-H7 for emacs-devel@gnu.org; Sun, 16 Nov 2008 09:34:38 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:60836) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L1ihw-00082s-Vk for emacs-devel@gnu.org; Sun, 16 Nov 2008 09:34:37 -0500 Original-Received: (qmail invoked by alias); 16 Nov 2008 14:34:35 -0000 Original-Received: from p57A21363.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.19.99] by mail.gmx.net (mp012) with SMTP; 16 Nov 2008 15:34:35 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+z1NFU1g2zrEU9lsQ2u/aUcUWXW5RdMlGAmP3Rc1 ZHphCDhxULftoY In-Reply-To: (Stefan Monnier's message of "Sun, 09 Nov 2008 20:51:06 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:105714 Archived-At: Stefan Monnier writes: > 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? > Stefan Best regards, Michael.