From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: Using an org based init file slows down emacs startup by 50x..help needed :( Date: Sat, 10 Dec 2016 20:33:56 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c07da700967550543521dc2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFmU9-0000Kn-7o for emacs-orgmode@gnu.org; Sat, 10 Dec 2016 13:35:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFmU6-0006WZ-3s for emacs-orgmode@gnu.org; Sat, 10 Dec 2016 13:35:01 -0500 Received: from mail-yw0-f174.google.com ([209.85.161.174]:35887) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFmU5-0006WV-Vr for emacs-orgmode@gnu.org; Sat, 10 Dec 2016 13:34:58 -0500 Received: by mail-yw0-f174.google.com with SMTP id a10so37478035ywa.3 for ; Sat, 10 Dec 2016 10:34:57 -0800 (PST) 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: org mode --94eb2c07da700967550543521dc2 Content-Type: text/plain; charset=UTF-8 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 i really think this should go somewhere in the org documentation best to all Z On Sat, Dec 10, 2016 at 2:53 PM, Xebar Saram wrote: > Ok some more exploring made me realize that also using `M-x > org-babel-load-file` on the setting.org file and tangling it takes a LONG > time (like 6-7 minutes) so its not a problem of the init its the actual > tangling of the file. 6-7 minutes cant be normal right? > > im attaching my settings.org file > > would appreciate any help > > Z > > --94eb2c07da700967550543521dc2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 ma= ybe of interest to alot of org users


<= /div>
this creates a new function that very efficiently tangles my org = file and the time goes from 6 minutes to 25 seconds!!

<= div>this is a link to an example init file

<= div>
i really think this should go somewhere in the org docum= entation=C2=A0

best to all

Z

On= Sat, Dec 10, 2016 at 2:53 PM, Xebar Saram <zeltakc@gmail.com> wrote:
Ok some more e= xploring made me realize that also using `M-x org-babel-load-file` on the <= a href=3D"http://setting.org" target=3D"_blank">setting.org file and ta= ngling it takes a LONG time (like 6-7 minutes) so its not a problem of the = init its the actual tangling of the file. 6-7 minutes cant be normal right?= =C2=A0

im attaching my settings.org file

would appre= ciate any help

Z


--94eb2c07da700967550543521dc2--