emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chao Lu <loochao.list@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Upgrade to org 8.0
Date: Fri, 21 Jun 2013 16:15:41 -0400	[thread overview]
Message-ID: <CAD54YEb29ZfZ7gkghWwSXG1UEcSpjVSzDzaZ2x7g-gR=d0uqXQ@mail.gmail.com> (raw)
In-Reply-To: <CAD54YEaU6cSSrXN9dNFebqxinX4yfJfh-03tzjxi8KW3NFPkQg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 5086 bytes --]

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.list@gmail.com> wrote:

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

[-- Attachment #2: Type: text/html, Size: 8560 bytes --]

  reply	other threads:[~2013-06-21 20:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21  7:43 Upgrade to org 8.0 Chao Lu
2013-06-21  8:30 ` Giovanni Ridolfi
2013-06-21 14:38 ` Suvayu Ali
2013-06-21 14:46   ` John Hendy
2013-06-21 15:47     ` Nicolas Richard
2013-06-21 15:54       ` Achim Gratz
2013-06-21 15:42 ` Achim Gratz
     [not found] ` <CA+M2ft_cdqgpye7-PMxY1c63eTFHrdMRaeeaPW4J=Zb0OYFPXg@mail.gmail.com>
2013-06-21 19:27   ` Chao Lu
2013-06-21 19:34     ` Chao Lu
2013-06-21 20:15       ` Chao Lu [this message]
2013-06-21 21:23         ` Suvayu Ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAD54YEb29ZfZ7gkghWwSXG1UEcSpjVSzDzaZ2x7g-gR=d0uqXQ@mail.gmail.com' \
    --to=loochao.list@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).