[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Silent autoloading

From: Stefan Monnier
Subject: Re: Silent autoloading
Date: Sun, 16 Nov 2008 14:02:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> 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 <foo>..." 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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]