From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Using an org based init file slows down emacs startup by 50x..help needed :( Date: Sat, 10 Dec 2016 10:24:36 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFoHO-0001NI-55 for emacs-orgmode@gnu.org; Sat, 10 Dec 2016 15:29:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFoHL-0002v3-1x for emacs-orgmode@gnu.org; Sat, 10 Dec 2016 15:29:58 -0500 Received: from qproxy1-pub.mail.unifiedlayer.com ([173.254.64.10]:48588) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1cFoHK-0002ri-NO for emacs-orgmode@gnu.org; Sat, 10 Dec 2016 15:29:54 -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: Xebar Saram Cc: org mode Aloha Xebar, Xebar Saram writes: > Ok so i think the reason really is that i have way to many lisp code blocks > as suggested. i found out a very interesting post that maybe of interest 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/416b2bba2d1d334b9c6ddbd56f8c7f8bd8bc4aab?at=master 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 -- Thomas S. Dye http://www.tsdye.com