From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: (require 'org-publish) causes downgrade in org-version Date: Mon, 09 Jun 2014 20:43:02 +0800 Message-ID: <87egyy45k9.fsf@ericabrahamsen.net> References: <87oay2wsdr.fsf@Rainer.invalid> <87bnu2wdgm.fsf@Rainer.invalid> <87d2eis34k.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtyrX-0002us-VH for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 08:39:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtyrQ-0005c1-BC for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 08:39:43 -0400 Received: from plane.gmane.org ([80.91.229.3]:34654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtyrQ-0005bl-5G for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 08:39:36 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WtyrO-00037Y-OZ for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 14:39:34 +0200 Received: from 114.248.0.25 ([114.248.0.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jun 2014 14:39:34 +0200 Received: from eric by 114.248.0.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jun 2014 14:39:34 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org psycho_punch writes: > So I need to explicitly call (package-initialize) in init.el, > probably one of the, if not the, first line? If I recall correctly, the recommended thing is to put all of your package-specific customizations either in the customize interface (in which case they'll get applied correctly) or behind either a mode hook, or an eval-after-load. Also see package-enable-at-startup, in the info node (emacs) Package Installation E > > On Mon, Jun 9, 2014 at 7:59 PM, Alexis wrote: > > > psycho_punch writes: > > > I've defined my initialization script in ~/.emacs.d/init.el; > I'm not sure > > if it matters. So since 'ox-publish doesn't get loaded until > after > > initialization, I defined: > > > > (add-hook 'after-init-hook (lambda() (load-file > > "/path/to/org-publish-project.el"))) > > > > I'm wondering when do the packages installed via > package-install get > > loaded... > > They get loaded when (package-initialize) is called in one's > initialisation file(s). > > > Alexis. >