all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: carsten.dominik@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Installing new org-mode version
Date: 6 Mar 2007 04:12:01 -0800	[thread overview]
Message-ID: <1173183121.167046.298130@h3g2000cwc.googlegroups.com> (raw)
In-Reply-To: <1173111855.808434.195500@s48g2000cws.googlegroups.com>

On Mar 5, 5:24 pm, "weber" <hug...@gmail.com> wrote:
> On 4 mar, 17:48, Stefan Monnier <monn...@iro.umontreal.ca> 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

  reply	other threads:[~2007-03-06 12:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-04 23:33 Installing new org-mode version weber
2007-03-04 23:48 ` Lennart Borgman (gmail)
2007-03-05  0:05 ` Peter Dyballa
2007-03-05  1:48 ` Stefan Monnier
2007-03-05 16:17   ` weber
2007-03-06 17:38     ` Stefan Monnier
2007-03-06 18:29       ` weber
2007-03-05 16:24   ` weber
2007-03-06 12:12     ` carsten.dominik [this message]
2007-03-06 12:56       ` weber

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

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

  git send-email \
    --in-reply-to=1173183121.167046.298130@h3g2000cwc.googlegroups.com \
    --to=carsten.dominik@gmail.com \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.