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, 09 Nov 2008 10:06:03 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1226243181 27066 80.91.229.12 (9 Nov 2008 15:06:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2008 15:06:21 +0000 (UTC) Cc: rgm@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii , Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 09 16:07:24 2008 connect(): Connection refused 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 1KzBsp-0004zU-VA for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2008 16:07:24 +0100 Original-Received: from localhost ([127.0.0.1]:57488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzBrh-0004Uj-V8 for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2008 10:06:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzBrc-0004UK-NW for emacs-devel@gnu.org; Sun, 09 Nov 2008 10:06:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzBrc-0004U4-3f for emacs-devel@gnu.org; Sun, 09 Nov 2008 10:06:08 -0500 Original-Received: from [199.232.76.173] (port=59661 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzBrc-0004U1-0k for emacs-devel@gnu.org; Sun, 09 Nov 2008 10:06:08 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:63137 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzBrY-0005JS-81; Sun, 09 Nov 2008 10:06:04 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArMEAK+KFklMCqyo/2dsb2JhbACBdscWg1iBEQ X-IronPort-AV: E=Sophos;i="4.33,569,1220241600"; d="scan'208";a="29582900" Original-Received: from 76-10-172-168.dsl.teksavvy.com (HELO pastel.home) ([76.10.172.168]) by ironport2-out.teksavvy.com with ESMTP; 09 Nov 2008 10:06:04 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 65B9389DE; Sun, 9 Nov 2008 10:06:03 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Sun, 09 Nov 2008 06:20:51 +0200") 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:105497 Archived-At: >> > Stefan, any insights? Having Emacs sit silently in the minibuffer for >> > prolonged periods of time, without saying anything, makes me think it's >> > stuck, so at the very least let's have an option to get the old >> > behavior back. >> >> I agree with the basic premise, but I'm wondering what's the >> relationship: what kind of machine are you using where loading a .elc >> file is not virtually instantaneous? >> What's the actual use case where you've seen this problem of having >> Emacs sit silently for a prolonged period of time? > emacs -Q > C-x C-f /foo:b > On "windows32 home-c4e4a596f7 2.5.1 2600 i786-pc Intel unknown MinGW", > a 3-GHz single-CPU machine, it takes Emacs 7 seconds to echo the `b' > after the colon. This is with a cold cache; with warm cache, it's > still 2 seconds, which is annoyingly visible. > On "Linux fencepost 2.6.16.29-xen #1 SMP Wed Dec 6 07:32:36 EST 2006 > x86_64 GNU/Linux", a 2-GHz Dual-Core AMD Opteron(tm) Processor 2214 > machine, the numbers are 4 seconds and 3 seconds, accordingly. > Maybe Tramp is a large package, but then "C-x C-f" is a very > frequently used command. Ah, yes, I see that for Tramp indeed. How 'bout making Tramp output something before loading itself? Stefan