From mboxrd@z Thu Jan 1 00:00:00 1970 From: psycho_punch Subject: Re: (require 'org-publish) causes downgrade in org-version Date: Mon, 9 Jun 2014 16:17:00 +0800 Message-ID: References: <87oay2wsdr.fsf@Rainer.invalid> Reply-To: psychopunch.me@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a982ede6eb704fb62d515 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtulK-0005eX-Eu for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 04:17:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtulJ-00062Y-5h for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 04:17:02 -0400 Received: from mail-ig0-x230.google.com ([2607:f8b0:4001:c05::230]:45507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtulJ-00062P-0C for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 04:17:01 -0400 Received: by mail-ig0-f176.google.com with SMTP id a13so3548854igq.9 for ; Mon, 09 Jun 2014 01:17:00 -0700 (PDT) In-Reply-To: <87oay2wsdr.fsf@Rainer.invalid> 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: Achim Gratz Cc: emacs-orgmode@gnu.org --047d7b3a982ede6eb704fb62d515 Content-Type: text/plain; charset=UTF-8 Ok, so apparently, ox-publish doesn't get loaded after init in my setup; I'm not sure why. What I have done so far is to run the publish script after init using the after-init-hook. However, I feel like this shouldn't be how it's done. On Mon, Jun 9, 2014 at 1:42 PM, Achim Gratz wrote: > psycho_punch writes: > > I have just upgraded org-mode to the latest available in ELPA. > > According to the official documentation, the installation has to be > > done in fresh emacs session where no org-related scripts/files have > > been loaded. The installation is successful, and org-version reports > > that I have updated to 8.2.6 (from 7.9.3f). However, as soon as I put > > back my old org-related scripts, and reload emacs, I'd get 7.9.3f when > > I run org-version. To track what's causing it I retrace my steps by > > adding my org-related scripts one by one. I found out that when I add > > back (require 'org-publish), the version downgrades to the built-in > > one. I don't know why this is happening. > > You need to replace this with (require 'ox-publish). As to why this is > happening, you're sending Emacs down the wrong rabbit hole to search for > Org and the autoload stuff will do the rest. > > > Regards, > Achim. > -- > +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ > > Wavetables for the Terratec KOMPLEXER: > http://Synth.Stromeko.net/Downloads.html#KomplexerWaves > > > --047d7b3a982ede6eb704fb62d515 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ok, so apparently, ox-publish doesn't get loaded after= init in my setup; I'm not sure why. What I have done so far is to run = the publish script after init using the after-init-hook. However, I feel li= ke this shouldn't be how it's done.


On Mon,= Jun 9, 2014 at 1:42 PM, Achim Gratz <Stromeko@nexgo.de> wro= te:
psycho_punch writes:
> I have just upgraded org-mode to the latest available in ELPA.
> According to the official documentation, the installation has to be > done in fresh emacs session where no org-related scripts/files have > been loaded. The installation is successful, and org-version reports > that I have updated to 8.2.6 (from 7.9.3f). However, as soon as I put<= br> > back my old org-related scripts, and reload emacs, I'd get 7.9.3f = when
> I run org-version. To track what's causing it I retrace my steps b= y
> adding my org-related scripts one by one. I found out that when I add<= br> > back (require 'org-publish), the version downgrades to the built-i= n
> one. I don't know why this is happening.

You need to replace this with (require 'ox-publish). =C2=A0As to = why this is
happening, you're sending Emacs down the wrong rabbit hole to search fo= r
Org and the autoload stuff will do the rest.


Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+<= br>
Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves



--047d7b3a982ede6eb704fb62d515--