From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: rgm@gnu.org, Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Silent autoloading
Date: Sun, 16 Nov 2008 14:02:45 -0500 [thread overview]
Message-ID: <jwvfxlrsddx.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87zljzrb7q.fsf@gmx.de> (Michael Albinus's message of "Sun, 16 Nov 2008 15:34:33 +0100")
>> 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?
Stefan
next prev parent reply other threads:[~2008-11-16 19:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-08 12:30 Silent autoloading Eli Zaretskii
2008-11-08 21:34 ` Glenn Morris
2008-11-08 22:54 ` Eli Zaretskii
2008-11-09 2:22 ` Stefan Monnier
2008-11-09 4:20 ` Eli Zaretskii
2008-11-09 15:06 ` Stefan Monnier
2008-11-09 18:54 ` Eli Zaretskii
2008-11-10 1:51 ` Stefan Monnier
2008-11-10 8:37 ` Lennart Borgman
2008-11-10 20:11 ` Eli Zaretskii
2008-11-10 20:19 ` Lennart Borgman
2008-11-11 4:18 ` Eli Zaretskii
2008-11-10 22:05 ` Stefan Monnier
2008-11-16 14:34 ` Michael Albinus
2008-11-16 19:02 ` Stefan Monnier [this message]
2008-11-09 11:13 ` Andreas Schwab
2008-11-09 15:04 ` Stefan Monnier
2008-11-17 5:01 ` Michael Albinus
2008-11-17 14:46 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvfxlrsddx.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.