From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Using an org based init file slows down emacs startup by 50x..help needed :( Date: Mon, 12 Dec 2016 11:03:20 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGNSJ-00019o-I8 for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 05:03:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGNSE-0005n6-S7 for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 05:03:35 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:57485) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGNSE-0005m7-JL for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 05:03:30 -0500 In-Reply-To: (Xebar Saram's message of "Sat, 10 Dec 2016 20:33:56 +0200") 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Xebar Saram writes: > Ok so i think the reason really is that i have way to many lisp code bloc= ks as suggested. i found out a very interesting post that maybe of interest= to alot of > org users Well - it took on my MacBook Pro Retina about 30 seconds - ,---- | Wrote /Users/rainerkrug/tmp/settings.el [745 times] | Tangled 745 code blocks from settings.org `---- so I guess something else is fishy in your setup Rainer > > 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/416b2bba2d1d334b9c6ddbd= 56f8c7f8bd8bc4aab?at=3Dmaster > > i really think this should go somewhere in the org documentation=20 > > 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-lo= ad-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?=20 > > im attaching my settings.org file > > would appreciate any help > > Z > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJYTnXuAAoJENvXNx4PUvmCnswIANxvcgR2+HsBSVWAhMS164Ko 4BotVfHu4VhNvDJUuIOUZJAEIwBix9na7J36BamitYN6fVxkJ+LYZorD4OFWwzUc SXTar8+Cq14ggCsOms6fXau5R52XEdeGcf+VL9Wp9c7E5fzopSifyWJ9I6RqilN7 yHq0NpJBP9NibcJBia6dk5HtXFZE2WN2NEhTdRZyypKM9ow2mGJOOhiwH7nByNU7 Yls7dMm+pLCi0J4dzLqkbhvWQDSqt9ei8TNIPh1mViT+qUo8dKVL9uoM/5pgnmk1 taauCnFx55aSeG/xk6IQap/8/zmdsc3D/OTmjXNKRTnieQTtftCzbgR6N8gng9E= =Fkkj -----END PGP SIGNATURE----- --=-=-=--