emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <m2y3zlxy53.fsf@krugs.de> (raw)
In-Reply-To: <CAOQHXPoz1KS-z9s1aHD3-xdkCZsO6hHPvV3QsJV44SozcjEgwg@mail.gmail.com> (Xebar Saram's message of "Sat, 10 Dec 2016 20:33:56 +0200")

[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]

Xebar Saram <zeltakc@gmail.com> 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

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/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 <zeltakc@gmail.com> 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
>
>

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

  parent reply	other threads:[~2016-12-12 10:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-10  8:36 Using an org based init file slows down emacs startup by 50x..help needed :( Xebar Saram
2016-12-10  8:43 ` Nicolas Goaziou
2016-12-10 12:53 ` Xebar Saram
2016-12-10 18:33   ` Xebar Saram
2016-12-10 20:24     ` Thomas S. Dye
2016-12-12 12:24       ` Julian M. Burgos
2016-12-12 10:03     ` Rainer M Krug [this message]
2016-12-12 21:30 ` Grant Rettke
2016-12-13  7:19   ` Xebar Saram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y3zlxy53.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).