From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: carsten.dominik@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Installing new org-mode version Date: 6 Mar 2007 04:12:01 -0800 Organization: http://groups.google.com Message-ID: <1173183121.167046.298130@h3g2000cwc.googlegroups.com> References: <1173051237.436780.322640@j27g2000cwj.googlegroups.com> <1173111855.808434.195500@s48g2000cws.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1173185441 20544 80.91.229.12 (6 Mar 2007 12:50:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 12:50:41 +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 13:50:31 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOZ7Y-0003qw-3b for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 13:50:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOZ7U-0006vX-JL for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 07:50:20 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!h3g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 58 Original-NNTP-Posting-Host: 146.50.22.167 Original-X-Trace: posting.google.com 1173183126 19670 127.0.0.1 (6 Mar 2007 12:12:06 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Mar 2007 12:12:06 +0000 (UTC) In-Reply-To: <1173111855.808434.195500@s48g2000cws.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.8.1 (KHTML, like Gecko) Safari/312.6,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: h3g2000cwc.googlegroups.com; posting-host=146.50.22.167; posting-account=6ObsKgwAAACfVDWtlVvIyqCPVEcdCppi Original-Xref: shelby.stanford.edu gnu.emacs.help:146108 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:41712 Archived-At: 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