From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Babel related bug in elpa version 20121231 Date: Sat, 05 Jan 2013 16:30:57 -0700 Message-ID: <87obh3ryul.fsf@gmail.com> References: <1342018996.75825.YahooMailNeo@web29804.mail.ird.yahoo.com> <8738ygbpvg.fsf@Rainer.invalid> <87mwworttu.fsf@Rainer.invalid> <87wqvrc2hu.fsf@bzg.ath.cx> <87bod3r2lo.fsf@Rainer.invalid> <87k3rrh38w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrdDE-0002Lf-AL for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 18:31:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrdDD-0000Fp-5e for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 18:31:36 -0500 Received: from mail-ie0-f182.google.com ([209.85.223.182]:43003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrdDD-0000Fh-1g for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 18:31:35 -0500 Received: by mail-ie0-f182.google.com with SMTP id s9so21577668iec.13 for ; Sat, 05 Jan 2013 15:31:34 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tom Davey Cc: Emacs Org mode mailing list Tom Davey writes: > Hi folks, > > This is a very interesting discussion. I too have run into this issue, > and addressed it in a different way. > > My init.el contains only a defun and an add-hook. The defun is simple. > It adds a few miscellaneous directories to load-path and then makes > the call to Eric's starter kit via org-babel-load-file(). > > The trick is this: I add the defun to the hook "after-init-hook". This > ensures that my personal initialization, including the Starter Kit > .org files, doesn't begin to execute until all the ELPA packages are > initialized. That way my own initialization can depend on a fully > stabilized Emacs. > > (add-hook 'after-init-hook 'my-after-init-hook-functions) > > I found this useful because my personal initialization makes little > tweaks to my ELPA packages. It seems to give me the control over the > order of initialization that I need. > > Regards to all, > Tom Davey > > -- > Tom Davey > tom@tomdavey.com > New York NY USA > Thanks for sharing, this does seem like the best way to ensure that all of the packages are loaded. I've just updated the starter kit to both require org and to use the `after-init-hook'. Hopefully this should fix as many problems as possible now, please let me know if any issues persist. Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte