From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stelian Iancu Subject: Re: Babel related bug in elpa version 20121231 Date: Sun, 6 Jan 2013 21:21:50 +0100 Message-ID: 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> <87obh3ryul.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d042f93807ba2a804d2a47627 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrwjD-0006tO-0h for emacs-orgmode@gnu.org; Sun, 06 Jan 2013 15:21:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrwjA-0000Uy-6w for emacs-orgmode@gnu.org; Sun, 06 Jan 2013 15:21:54 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:35571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Trwj9-0000Uq-TU for emacs-orgmode@gnu.org; Sun, 06 Jan 2013 15:21:52 -0500 Received: by mail-pa0-f44.google.com with SMTP id hz11so10300489pad.17 for ; Sun, 06 Jan 2013 12:21:51 -0800 (PST) In-Reply-To: <87obh3ryul.fsf@gmail.com> 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: Eric Schulte Cc: Tom Davey , Emacs Org mode mailing list --f46d042f93807ba2a804d2a47627 Content-Type: text/plain; charset=ISO-8859-1 On Sunday, January 6, 2013, Eric Schulte wrote: > 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. > Thanks Eric, will give it a shot. --f46d042f93807ba2a804d2a47627 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sunday, January 6, 2013, Eric Schulte wrote:
Tom Davey <tdavey@gmail.com> writ= es:

> 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&q= uot;. This
> ensures that my personal initialization, including the Starter Kit
> .org files, doesn't begin to execute until all the ELPA packages a= re
> 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.

Thanks Eric, will give it a shot.=A0= =A0
--f46d042f93807ba2a804d2a47627--