From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao Lu Subject: Re: Upgrade to org 8.0 Date: Fri, 21 Jun 2013 15:34:00 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b624dfe0326d704dfaf2523 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq75v-0004p6-48 for emacs-orgmode@gnu.org; Fri, 21 Jun 2013 15:34:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uq75t-0004cx-4K for emacs-orgmode@gnu.org; Fri, 21 Jun 2013 15:34:03 -0400 Received: from mail-wi0-x242.google.com ([2a00:1450:400c:c05::242]:61496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq75s-0004cm-Q2 for emacs-orgmode@gnu.org; Fri, 21 Jun 2013 15:34:01 -0400 Received: by mail-wi0-f194.google.com with SMTP id hq4so373061wib.5 for ; Fri, 21 Jun 2013 12:34:00 -0700 (PDT) In-Reply-To: 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 --047d7b624dfe0326d704dfaf2523 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Jun 21, 2013 at 3:27 PM, Chao Lu wrote: > Thanks a lot for those replies, which are quite helpful. > > 1. lch-org.el and lch-org-export.el together completes my conf about org, > which works before 8.0 > > 2. The version I installed is 8.0.3 tar ball instead of git, usually I do > not prefer living at cutting edge. > - M-x org-version --> "Org-mode version 8.0.3 (8.0.3-dist @ > /Users/LooChao/Dropbox/.emacs.d/lisp/org/)" > - Which reveals the org loaded is the one I installed, which is in my > lisp dir. > - I agree with John's advice -- keep the new version separate and some > where in the load-path, which is ~/Dropbox/.emacs.d/lisp/org/ > > *3. M-x locate org-publish gives: > '/Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-publish.elc', > indicating my installation has something wrong... > * > * still working on it.* > ================ * I just tried list-load-path-shadows, got outputs like:* /Users/LooChao/Dropbox/.emacs.d/lisp/org/org hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org /Users/LooChao/Dropbox/.emacs.d/lisp/org/contrib/lisp/org-wl hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-wl /Users/LooChao/Dropbox/.emacs.d/lisp/org/org-w3m hides /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-w3m *...* * * *which shows my installation is OK, I guess just the new version don't have org-publish so the one bundled with emacs is not shadowed?* ================= > Thanks, > > Chao > > > On Fri, Jun 21, 2013 at 8:45 AM, John Hendy wrote: > >> >> On Jun 21, 2013 2:43 AM, "Chao Lu" wrote: >> > >> > Dear list, >> > >> > I'm trying to upgrade to org 8.0.3 and met some difficulty that could >> not solve. Please help. >> > >> > 1. About installation >> > ---------------------------- >> > Currently I'm using Emacs 24.3 under MacOSX mountain lion. >> > The org mode shipped with this version of emacs is 7.9 >> > >> > I followed the instruction, successfully compiled org 8.0.3 and put all >> the *.elc file into my load-path. >> > Here is the first confusion: >> > Before I was using (require 'org-install) to get org code evaluated. >> Seems org-install is obsolete now, then what should I put in my .emacs to >> get org loaded? >> > >> > Although I do know why, but seems my old settings get org(8.0.3) >> loaded, i.e. M-x org-version gives 8.0.3. But when I try ffap on (require >> 'org-publish) seems emacs wants to jump to >> "/Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-publish.el.gz", >> which is the old org version shipped with Emacs itself. >> > >> > 2. About org-export >> > ---------------------------- >> > I read through the upgrading notes from worg, but still haven't got a >> working configuration file, maybe that's the issue of my org installation. >> But is there's working conf on org-export that I can start with? >> > >> > I attached my lch-org-export.el, could somebody have a look how to >> improve them to get 8.0.3 working. >> > >> > Thanks in advance for the help. >> > >> >> Hi, >> >> Where exactly are the new org files installed? I don't see any load paths >> defined. >> >> I think the easiest/simplest/cleanest is to keep the hit version separate >> and just add the lisp dir to your load path vs mixing default org with >> installed git org files. >> >> I didn't catch any defined ox-* backends loaded either. For every backed >> you need to add it to org-export-backends or do: >> >> (require 'ox-backend) >> >> Lastly, you have old variable names in there... org-export-backend-* vars >> are now org-backend-*. >> >> I'd suggest reading the worg doc again! >> >> John >> >> > Chris >> > >> > >> > > --047d7b624dfe0326d704dfaf2523 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Fri, Jun 21, 2013 at 3:27 PM, Chao Lu <loochao.list@gmail.= com> wrote:
Thanks a lot for those replies, which are= quite helpful.

1. lch-org.el and lch-org-export.el together completes my co= nf about org, which works before 8.0

2. The version I installed is 8.0.3 tar ball instead of git, usually I do n= ot prefer living at cutting edge.
=A0 =A0 - M-x org-version -->= ; "Org-mode version 8.0.3 (8.0.3-dist @ /Users/LooChao/Dropbox/.emacs.= d/lisp/org/)"
=A0 =A0 - Which reveals the org loaded is the one I installed, which i= s in my lisp dir.
=A0 =A0 - I agree with John's advice -- kee= p the new version=A0separate and some where in the load-path, which is ~/Dr= opbox/.emacs.d/lisp/org/

3. M-x locate org-publish gives: '/Applications/= Documents/Emacs.app/Contents/Resources/lisp/org/org-publish.elc', indic= ating my installation has something wrong...
=A0 =A0 still working on it.
=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=A0 =A0 =A0 =A0I ju= st tried list-load-path-shadows, got outputs like:
/Users/Loo= Chao/Dropbox/.emacs.d/lisp/org/org hides /Applications/Documents/Emacs.app/= Contents/Resources/lisp/org/org
/Users/LooChao/Dropbox/.emacs.d/lisp/org/contrib/lisp/org-wl hides /Ap= plications/Documents/Emacs.app/Contents/Resources/lisp/org/org-wl
/Users/LooChao/Dropbox/.emacs.d/lisp/org/org-w3m hides /Applications/Docum= ents/Emacs.app/Contents/Resources/lisp/org/org-w3m
...

which shows my ins= tallation is OK, I guess just the new version don't have org-publish so= the one bundled with emacs is not shadowed?
=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Thanks,

Cha= o


=
On Fri, Jun 21, 2013 at 8:45 AM, John Hendy <j= w.hendy@gmail.com> wrote:


On Jun 21, 2013 2:43 AM, "Chao Lu" <loochao.list@gmail.com> wrote:
>
> Dear list,
>
> I'm trying to upgrade to org 8.0.3 and met some difficulty that co= uld not solve. Please help.
>
> 1. About installation
> ----------------------------
> Currently I'm using Emacs 24.3 under MacOSX mountain lion.
> The org mode shipped with this version of emacs is 7.9
>
> I followed the instruction, successfully compiled org 8.0.3 and put al= l the *.elc file into my load-path.
> Here is the first confusion:
> Before I was using (require 'org-install) to get org code evaluate= d. Seems org-install is obsolete now, =A0then what should I put in my .emac= s to get org loaded?
>
> Although I do know why, but seems my old settings get org(8.0.3) loade= d, i.e. M-x org-version gives 8.0.3. But when I try ffap on (require 'o= rg-publish) seems emacs wants to jump to "/Applications/Documents/Emac= s.app/Contents/Resources/lisp/org/org-publish.el.gz", which is the old= org version shipped with Emacs itself.
>
> 2. About org-export
> ----------------------------
> I read through the upgrading notes from worg, but still haven't go= t a working configuration file, maybe that's the issue of my org instal= lation. But is there's working conf on org-export that I can start with= ?
>
> I attached my =A0lch-org-export.el, could somebody have a look how to = improve them to get 8.0.3 working.=A0
>
> Thanks in advance for the help.
>

Hi,

Where exactly are the new org files installed? I don't s= ee any load paths defined.

I think the easiest/simplest/cleanest is to keep the hit ver= sion separate and just add the lisp dir to your load path vs mixing default= org with installed git org files.

I didn't catch any defined ox-* backends loaded either. = For every backed you need to add it to org-export-backends or do:

(require 'ox-backend)

Lastly, you have old variable names in there... org-export-b= ackend-* vars are now org-backend-*.

I'd suggest reading the worg doc again!

John

> Chris
>
> =A0



--047d7b624dfe0326d704dfaf2523--