From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Speeding up Emacs load time Date: Thu, 27 Jun 2013 18:14:20 +0200 Organization: Aioe.org NNTP Server Message-ID: <87vc4zpm3n.fsf@VLAN-3434.student.uu.se> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1372349912 7408 80.91.229.3 (27 Jun 2013 16:18:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 16:18:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 27 18:18:32 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 1UsEtz-0004yi-7T for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Jun 2013 18:18:31 +0200 Original-Received: from localhost ([::1]:51873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsEty-0008Rv-Q7 for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Jun 2013 12:18:30 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: SWN/nubmpQxYKwY7hPy4YA.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:i+RD1hngXmEZPlWj7NzfW69OfPk= Original-Xref: usenet.stanford.edu gnu.emacs.help:199523 X-Mailman-Approved-At: Thu, 27 Jun 2013 12:18:21 -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:91788 Archived-At: Andrew Pennebaker writes: > I love Emacs's customizability! I regularly edit my .emacs file, > and the community has been helpful and encouraging. But I do > notice that Emacs can take several (10) seconds or longer to load. I did so much fancy things once in .emacs I noticed it took some seconds to load Emacs. But, I configured one of my many ttys to automatically start Emacs when I start my computer, so starting Emacs is really part of my boot time - and then, as everyone else has told you, use different buffers and modes for everything, within a single instance of Emacs, and shut Emacs down, not as a program (although in practice, possible so) but as the final step of your productive cycle, when you shut down you system. But, to give you something concrete, I have a lot of files like .emacs-message etc. which I load from Emacs - check out the URL below, and search for "Emacs" and "conf" - and I did that to get a modular, overviewable design so I never had to "look" for anything - just open the correct file, and make a search - not for searching, but for *navigating* - and I noticed that this solution was a bit slower than doing everything in one file (as for startup) - so I put it back to one file - only to very quickly realizing that that extra few seconds once in a while was totally worth it, compared to having to browse one monster file that included everything I ever did in Emacs. Remember, time is not a quantity that is straightforward to measure. It is like beer - it is not how much you drink, it is how you feel when you drink it, and how you feel the couple of days after that. Wait the extra second now, and don't be stressed tomorrow. -- Emanuel Berg - programmer (hire me! CV below) computer projects: http://user.it.uu.se/~embe8573 internet activity: http://home.student.uu.se/embe8573