emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Xiao-Yong Jin <xj2106@columbia.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode from git and emacs in trunk
Date: Tue, 19 Jan 2010 16:03:17 +0100	[thread overview]
Message-ID: <AC875E28-2ED7-4CBC-BF34-188F1FAB9B8D@gmail.com> (raw)
In-Reply-To: <87tyuj57h2.fsf@columbia.edu>


On Jan 19, 2010, at 12:16 AM, Xiao-Yong Jin wrote:

> Hi, I am trying the new emacs develop version in trunk.  I
> build org-mode from git as usual.  But I just realized I am
> actually using the org-mode bundled with emacs instead of
> the version I installed from git.  My configuration files
> are the same before and after I switched to bzr version of
> emacs.
>
> Here is what I see.  After starting emacs,
>
> GNU Emacs 23.1.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.5)  
> of 2010-01-18
>
> I check the org-version to be
>
> Org-mode version 6.33x
>
> I need to run "org-reload" to make org-version to be
>
> Org-mode version 6.34c
>
> But restarting emacs gives me back the "6.33x".  What is the
> problem?  Of course I have put my installed org-mode
> directory to 'load-path and I have the line "(require
> 'org-install)" in my "~/.emacs".  It worked before 23.1 and
> was working for me with 23.1, but not with the current
> trunk.  Is there something I am missing?  Some additional
> setup I should do?

Most likely, when you start Emacs, you have something in your config
that will load org.el *before* you have added path of Org-mode's
git distribution to the load path.  Then you add to the
load-path variable, so when you reload, the new version
is loaded instead.

Solution:  Move up the lisp statement that adds org-mode's
lisp directory to load-path.

HTH

- Carsten



>
> Right now, I am doing "org-reload" every time I start emacs.
> Should I put it in my "~/.emacs"?  It seems to me quite
> unnecessary, but it is the only way to load my latest
> org-mode working.
>
> Is anyone seeing the same problem?
>
> -- 
> J    c/*    __o/*
> X    <\     * (__
> Y    */\      <
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

  reply	other threads:[~2010-01-19 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18 23:16 org-mode from git and emacs in trunk Xiao-Yong Jin
2010-01-19 15:03 ` Carsten Dominik [this message]
2010-01-19 16:02   ` Xiao-Yong Jin

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=AC875E28-2ED7-4CBC-BF34-188F1FAB9B8D@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=xj2106@columbia.edu \
    /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).