From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.help Subject: Re: Speeding up Emacs load time Date: Sat, 29 Jun 2013 10:44:38 -0700 (PDT) Message-ID: References: <87y59urnfn.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1372529869 9539 80.91.229.3 (29 Jun 2013 18:17:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2013 18:17:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 29 20:17:50 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UsziY-00054f-8L for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Jun 2013 20:17:50 +0200 Original-Received: from localhost ([::1]:58707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsziX-0004QR-Q3 for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Jun 2013 14:17:49 -0400 X-Received: by 10.224.129.196 with SMTP id p4mr18996061qas.6.1372527878452; Sat, 29 Jun 2013 10:44:38 -0700 (PDT) X-Received: by 10.50.67.74 with SMTP id l10mr456021igt.0.1372527878417; Sat, 29 Jun 2013 10:44:38 -0700 (PDT) Original-Path: usenet.stanford.edu!j2no2960939qak.0!news-out.google.com!f7ni121qai.0!nntp.google.com!j2no2960937qak.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.12.172; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.12.172 User-Agent: G2/1.0 Injection-Date: Sat, 29 Jun 2013 17:44:38 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:199592 X-Mailman-Approved-At: Sat, 29 Jun 2013 14:17:40 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91860 Archived-At: On Saturday, June 29, 2013 10:34:05 AM UTC+5:30, Eric Abrahamsen wrote: > Emanuel Berg writes: > > Bob Proulx writes: > >> I looked at your .emacs file. It is rather extensive. Time > >> consuming parts are usually anytime you (require 'foo) or (load > >> "foo"). Do you really need all of those executed each and every > >> time you start emacs? Probably not. > > > > > OK, this is one way to think. There is another way to think. The > > other way to think is: one second at x does not equal one second > > at y. When you start Emacs, you are not in a rush. > +1 -- I used to do a bunch of autoload/eval-after-load stuff, but later > came to the same conclusion. I agree with both these viewpoints -- One second of x is not the same at y. But not repeatedly restarting emacs is not an option. The problem is that emacs invites tinkering with my elisp settings. And elisp is such an imperative language that I habitually get silly things wrong. eg I am hacking an elisp function called foo For some reason I change its name to bar I change (what I think are) all refs to foo to bar. It (seems to) run The next time I start emacs it does not run because I find that I had not renamed all foo-references to bar. So the only remedy (I know) is that first check if the elisp works and if it seems to then check again after restarting emacs. And that means that elisp-hacking means frequent restarts of emacs.