From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: starting the emacs daemon using init.org? Date: Mon, 20 Jul 2015 20:41:29 +0200 Message-ID: <87r3o2smcm.fsf@mbork.pl> References: <87twszc33d.fsf@skimble.plus.com> <87lhebohta.fsf@nl106-137-147.student.uu.se> <87r3o383vp.fsf@skimble.plus.com> <87si8jrlnx.fsf@mbork.pl> <87lheaagbd.fsf@skimble.plus.com> <1437413803.2071.234.camel@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1437417748 10641 80.91.229.3 (20 Jul 2015 18:42:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jul 2015 18:42:28 +0000 (UTC) To: "help-gnu-emacs\@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 20 20:42:18 2015 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 1ZHG12-0007CV-Ms for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jul 2015 20:42:16 +0200 Original-Received: from localhost ([::1]:56840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHG12-0000jN-7B for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jul 2015 14:42:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHG0t-0000jI-2S for help-gnu-emacs@gnu.org; Mon, 20 Jul 2015 14:42:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHG0o-00088a-Qz for help-gnu-emacs@gnu.org; Mon, 20 Jul 2015 14:42:07 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:38846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHG0o-00088M-Kg for help-gnu-emacs@gnu.org; Mon, 20 Jul 2015 14:42:02 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 5E4C3512018 for ; Mon, 20 Jul 2015 20:41:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kcSx2Xl4uajP for ; Mon, 20 Jul 2015 20:41:36 +0200 (CEST) Original-Received: from localhost (unknown [109.232.24.146]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 5FB644F607B for ; Mon, 20 Jul 2015 20:41:36 +0200 (CEST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 195.110.48.8 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:105882 Archived-At: On 2015-07-20, at 19:46, John Mastro wrote: >> Wow I wonder what you all are doing in your init files!! >> >> My init time is 1.8 seconds...! > > 4.3 seconds on Windows and 2.5 on Linux here. Both machines are > reasonably spec'd (e.g. quad core i5 from a couple years ago) but > definitely not monsters. And I have almost 100 packages installed and > 3,600 SLOC in my init files. > > If you're not using `with-eval-after-load' (or `eval-after-load'), I > highly recommend it. I deliberately do not use any deferred loading of packages etc. - if I end up autoloading something, I usually put a (require '...) in my init.el so that Emacs doesn't pause when loading e.g. AUCTeX. I very much prefer longer startup time than pauses during work. Also, I use a few large libraries - Org, Icicles, AUCTeX... And I have a pretty low-end (about $150 three years back) netbook, which is more than enough for Elisp coding, email, Org and LaTeX. Also, long startup-time doesn't bother me at all - I often have M-x emacs-uptime of several days or even more than a week. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University