From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-mode from git and emacs in trunk Date: Tue, 19 Jan 2010 16:03:17 +0100 Message-ID: References: <87tyuj57h2.fsf@columbia.edu> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXFc6-0005y8-Oq for emacs-orgmode@gnu.org; Tue, 19 Jan 2010 10:03:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXFc1-0005o2-Qn for emacs-orgmode@gnu.org; Tue, 19 Jan 2010 10:03:26 -0500 Received: from [199.232.76.173] (port=44960 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXFc1-0005nm-MV for emacs-orgmode@gnu.org; Tue, 19 Jan 2010 10:03:21 -0500 Received: from fg-out-1718.google.com ([72.14.220.159]:4558) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXFc1-0005mJ-6V for emacs-orgmode@gnu.org; Tue, 19 Jan 2010 10:03:21 -0500 Received: by fg-out-1718.google.com with SMTP id 19so462320fgg.12 for ; Tue, 19 Jan 2010 07:03:20 -0800 (PST) In-Reply-To: <87tyuj57h2.fsf@columbia.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xiao-Yong Jin Cc: emacs-orgmode@gnu.org 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