From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "weber" Newsgroups: gmane.emacs.help Subject: Re: Installing new org-mode version Date: 6 Mar 2007 04:56:46 -0800 Organization: http://groups.google.com Message-ID: <1173185805.861623.63300@n33g2000cwc.googlegroups.com> References: <1173051237.436780.322640@j27g2000cwj.googlegroups.com> <1173111855.808434.195500@s48g2000cws.googlegroups.com> <1173183121.167046.298130@h3g2000cwc.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1173188569 32315 80.91.229.10 (6 Mar 2007 13:42:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 13:42:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 06 14:42:41 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1HOZw2-0004pY-3x for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 14:42:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOZvu-0008Dp-Fa for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 08:42:26 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!n33g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 66 Original-NNTP-Posting-Host: 200.213.54.31 Original-X-Trace: posting.google.com 1173185811 10505 127.0.0.1 (6 Mar 2007 12:56:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Mar 2007 12:56:51 +0000 (UTC) In-Reply-To: <1173183121.167046.298130@h3g2000cwc.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 fw.datacom-telematica.com.br:3128 (squid/2.5.STABLE6) Complaints-To: groups-abuse@google.com Injection-Info: n33g2000cwc.googlegroups.com; posting-host=200.213.54.31; posting-account=pG57fA0AAADtQ-4h1MyvjXjZpSNZC0zj Original-Xref: shelby.stanford.edu gnu.emacs.help:146109 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41713 Archived-At: On 6 mar, 04:12, carsten.domi...@gmail.com wrote: > On Mar 5, 5:24 pm, "weber" wrote: > > > > > On 4 mar, 17:48, Stefan Monnier wrote: > > > > > I'm not a newbie onemacsanymore, but i'm having trouble to install > > > >org-mode:/ > > > > The problem is: there is already anorg-modeversion distributed with > > > >emacs(gnuemacs22 cvs) > > > > I want to install the last version from the author's site. I cannot do > > > > a "make install" easily because I am on Winxp. > > > > I tried just putting the new files on my load-path and doing a load- > > > > library. > > > > Even though the right files are being loaded, when I check version > > > > with command "org-version" I still get 4.56b. (The new version is > > > > 4.67) > > > > What does M-: (find-library-name "org") RET say? > > > What's your load-path? Where's your neworg.el? > > > If that still doesn't explain the problem, then: > > > where do you modify your load-path in your .emacs? > > > how/when do you startorg-mode? > > > I.e. give us a more specific step-by-step description of what you do. > > > > Stefan > > > I wonder if only the org-version variable isn't right. > > I tried to run this code on scratch buffer, and even after that I > > still get 4.56. > > > (defvar org-version "4.67" > > "The version number of the fileorg.el.") > > > Is this working like it should ? > > Defvar sets the value of the variable only the first time it is > evaluated. > The second time, if there is already a value, it is not changed by > defvar anymore. > > It sems to me that org.el is already loaded once before you make the > new version > available. A way to do this would be (schematically: > > (require 'org) ; this load the built-in version > (setq load-path (cons "/path/to/new/org/" . load-path)) > (load-file "org.el") ; this loads the new one. > > Hope this helps > > - Carsten > > > > > Thanks > > weber Hm... I tried doing a load-file... so probably only the variable is left wrong ? Anyway I ended up deleting org.el and org.elc from emacs installation directory. Thanks everyone, weber