[O] Upgrade to org 8.0
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. Chris lch-org-export.el Description: Binary data
Re: [O] Upgrade to org 8.0
On Fri, Jun 21, 2013 at 03:43:33AM -0400, 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. You should read this: http://orgmode.org/worg/org-8.0.html 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?* This has been obsolete for quite a while now; all you need is `(require 'org)' * * 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. You should read this: http://orgmode.org/worg/org-faq.html#mixed-install Hope this helps, -- Suvayu Open source is the future. It sets us free.
Re: [O] Upgrade to org 8.0
Nicolas Richard writes: IIUC, when nothing bad happens, org has autoloads installed in emacs which will load org as soon as needed. So you are right, (require 'org) is unneeded. This relies heavily on luck with both the original and the new version of Org. You should at least do a `(require org-install)´ (but not when you are trying to use the Org version that comes with Emacs). In rare cases, though (such as major update of org not yet reflected in emacs), I guess it might be required to load the right set of autoloads, i.e. say (load org-loaddefs). I'm have no idea why org-install got removed, because I think it used to serve the same purpose. Maybe I simply don't understand correctly. FWIW, I carry a local patch that re-introduces org-install for this very reason. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] Upgrade to org 8.0
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. Thanks, Chao On Fri, Jun 21, 2013 at 8:45 AM, John Hendy jw.he...@gmail.com wrote: On Jun 21, 2013 2:43 AM, Chao Lu loochao.l...@gmail.com 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 lch-org.el Description: Binary data lch-org-export.el Description: Binary data
Re: [O] Upgrade to org 8.0
On Fri, Jun 21, 2013 at 3:27 PM, Chao Lu loochao.l...@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 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 jw.he...@gmail.com wrote: On Jun 21, 2013 2:43 AM, Chao Lu loochao.l...@gmail.com 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
Re: [O] Upgrade to org 8.0
This is so confusing... M-x org-version Org-mode version 8.0.3 (8.0.3-dist @ /Users/LooChao/Dropbox/.emacs.d/lisp/org/) M-x list-load-path-shadows: /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 *M-x describe-function org-export* * * org-export is an interactive autoloaded compiled Lisp function in*`org-exp.el'. * * |* * This one is in /Applications/Documents/Emacs.app/Contents/Resources/lisp/org/* * * This explains why I got the error when org-export-as-latex on test.org: * org-export-as-latex: Symbol's value as variable is void: org-export-latex-default-packages-alist * * * Totally lost why this is happening... On Fri, Jun 21, 2013 at 3:34 PM, Chao Lu loochao.l...@gmail.com wrote: On Fri, Jun 21, 2013 at 3:27 PM, Chao Lu loochao.l...@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 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 jw.he...@gmail.com wrote: On Jun 21, 2013 2:43 AM, Chao Lu loochao.l...@gmail.com 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
Re: [O] Upgrade to org 8.0
hi, Chao Lu Chris, do you have the git version or did you download the tar.gz archive? 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? in my .emacs I have: (setq load-path (cons ... /my/path then (require 'org) ; but I don't know if it is necessary Please, let's fix the installation then the exporter. cheers, Giovanni Da: Chao Lu loochao.l...@gmail.com A: emacs-orgmode@gnu.org Inviato: Venerdì 21 Giugno 2013 9:43 Oggetto: [O] Upgrade to org 8.0 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.
Re: [O] Upgrade to org 8.0
On Fri, Jun 21, 2013 at 04:15:41PM -0400, Chao Lu wrote: *3. M-x locate org-publish gives: '/Applications/Documents/Emacs.app/Contents/Resources/lisp/org/org-publish.elc', indicating my installation has something wrong... org-publish has been replaced by ox-publish. M-x org-version Org-mode version 8.0.3 (8.0.3-dist @ /Users/LooChao/Dropbox/.emacs.d/lisp/org/) M-x list-load-path-shadows: /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 *M-x describe-function org-export* * * org-export is an interactive autoloaded compiled Lisp function in*`org-exp.el'. The new export menu is: org-export-dispatch. That said, I think you are still missing the point. What is suggested in the FAQs and I think was repeated by John, was to ensure you load lch-org.el *after* you change your load path. The order matters! If you still have problems, why not use ELPA? -- Suvayu Open source is the future. It sets us free.