From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Julian M. Burgos" Subject: Re: Using an org based init file slows down emacs startup by 50x..help needed :( Date: Mon, 12 Dec 2016 12:24:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGPet-0003lp-HZ for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 07:24:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGPeq-0002iA-8F for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 07:24:43 -0500 Received: from hafgarpur.hafro.is ([130.208.64.48]:40284) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGPep-0002hD-Si for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 07:24:40 -0500 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Thomas S. Dye" Cc: Xebar Saram , org mode Hi Xebar, An simple alternative is to do what I do: keep your init file in an org mode file, and simple tangle it manually whenever you do changes. In this way you avoid the overload of the tangling process at startup. My emacs starts in about 10 seconds. Julian Thomas S. Dye writes: > Aloha Xebar, > > Xebar Saram writes: > >> Ok so i think the reason really is that i have way to many lisp code b= locks >> as suggested. i found out a very interesting post that maybe of intere= st to >> alot of org users >> >> http://www.holgerschurig.de/en/emacs-efficiently-untangling-elisp/ >> >> this creates a new function that very efficiently tangles my org file = and >> the time goes from 6 minutes to 25 seconds!! >> >> this is a link to an example init file >> >> https://bitbucket.org/holgerschurig/emacsconf/src/416b2bba2d1d334b9c6d= dbd56f8c7f8bd8bc4aab?at=3Dmaster > > Have you seen Eric Schulte's starter-kit > (http://eschulte.github.io/emacs24-starter-kit/)? Using it, I keep my > initialization functions in a few different Org mode files, which the > starter-kit tangles to .el iff the Org mode file has been changed since > it was last tangled. I'm able to keep the initialization process > reasonably organized (I'm the limiting factor), without the wait. > > hth, > Tom -- Julian Mariano Burgos, PhD Hafranns=C3=B3knastofnun, ranns=C3=B3kna- og r=C3=A1=C3=B0gjafarstofnun h= afs og vatna/ Marine and Freshwater Research Institute Sk=C3=BAlagata 4, 121 Reykjav=C3=ADk, Iceland S=C3=ADmi/Telephone : +354-5752037 Br=C3=A9fs=C3=ADmi/Telefax: +354-5752001 Netfang/Email: julian.burgos@hafogvatn.is