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 >> > >> > >> > >