From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: interactive feel of Emacs: the need for speed, and -Q [measure.el] Date: Wed, 08 Apr 2020 10:17:03 -0400 Message-ID: <87d08i3vvk.fsf@md5i.com> References: <87tv26qvwh.fsf@ebih.ebihd> <87mu7njm9h.fsf@ebih.ebihd> <87h7xv44xr.fsf@md5i.com> <875zeasexm.fsf@ebih.ebihd> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="125777"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 08 16:18:42 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jMBXO-000WbU-98 for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Apr 2020 16:18:42 +0200 Original-Received: from localhost ([::1]:36646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMBXN-0000Hm-84 for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Apr 2020 10:18:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49217) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMBVq-0007u5-5o for emacs-devel@gnu.org; Wed, 08 Apr 2020 10:17:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMBVp-000757-0b for emacs-devel@gnu.org; Wed, 08 Apr 2020 10:17:06 -0400 Original-Received: from md5i.com ([75.151.244.229]:45440) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMBVo-00074r-Oq for emacs-devel@gnu.org; Wed, 08 Apr 2020 10:17:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=qq4su7fk2NdYcDy14eakeapK+XN9dO9c1bU/xt8QSLY=; b=zEFmm9wXgmGOzqWjJ3rmcqGUXf FoCSmCC8R82RGKCbQMJacGa+JctEvEtsNwoyTL2Hi4icgLMYQZfZ0NK6cxtIqwl+2VScz42IksLBu HMKnusHghyy52G8cmnRgc9Jy7; Original-Received: from md5i by md5i.com with local (Exim 4.93) (envelope-from ) id 1jMBVn-00GN4Y-Ti for emacs-devel@gnu.org; Wed, 08 Apr 2020 10:17:03 -0400 In-Reply-To: <875zeasexm.fsf@ebih.ebihd> (Emanuel Berg via's message of "Wed, 08 Apr 2020 07:51:33 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.151.244.229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246668 Archived-At: Emanuel Berg via "Emacs development discussions." writes: > Michael Welsh Duggan wrote: > >> off the latter using --no-site-file > > Thanks, that works with all my Elisp! > > Perhaps it isn't that big? Where is it? The man page for > emacs(1) just says what it do (or don't), "Do not load > the site-wide startup file." - OS/distro specific > location/contents? > > Or is my Elisp just plain modular? :) > >> (See emacs info: "The Emacs Initialization File".) > > (info "(emacs) Init File") ? Sorry, yes. A slightly more detailed explanation can be found in (info "(elisp) Startup Summary"). > Seems to by default be, uhm, default.el and > site-start.el, in /usr/local/share/emacs/site-lisp ... > only that is empty for me... ? Could be anywhere in the load-path. >> (which is implied by -Q), and you can turn off the >> former by adding (setq inhibit-default-init t) in your >> init file > > Again, that didn't brake anything. > > OK, so I greped the drive for default.el and > site-start.el, either my commands stink or they don't > exist on the drive. > > Most likely, they are not the reason! > > But do I `require' tons of stuff as you mention as > a possible cause. but shouldn't that be sound stuff that > don't overpopulate hooks etc? actually, I have 273 > `require's! But as long as that's sound stuff, > where/what is the problem? sum effect? It's too hard to say for sure. Some packages have more of an effect than others. That is why it is recommended to bisect your emacs init file to find out what might be causing the problem. Although you showed a list of your customizations split between files, I have no idea how you are loading these files, whether it is due to a list of require statements in your init file or if you do something else. If the list of things you set/load/include is fairly small at the top-level, it might be worth starting with -Q and then manually evaluating your init file with C-x C-e until you find out what is causing you problems. > Most of it is just vanilla Emacs stuff being required so > configuration and extension will go thru compilation w/o > error messages a/o warnings, I'm not a heavy M/ELPA user > at all, not that I think quality anywhere should be so > lousy it'd cause all this... Once again, I couldn't say. Although the code quality of the elisp distributed with Emacs is fairly high, it is a large community project, and not everything is tested equally. Some packages are used by only a small number of people, while others are used by just about everybody. And different people have differing expectations when it comes to interactivity (and different computers which may be slower/faster). One thing I can say for certain is that the current set of active maintainers has done a very good job of tracking the bug reporting list and working hard at alleviating defects, once they are reported. -- Michael Welsh Duggan (md5i@md5i.com)