emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to get the last version of org-mode supporting emacs21?
@ 2010-06-01 11:21 Steinar Bang
  2010-06-02  8:42 ` Mikael Fornius
  2010-06-02 15:00 ` Dan Davison
  0 siblings, 2 replies; 6+ messages in thread
From: Steinar Bang @ 2010-06-01 11:21 UTC (permalink / raw)
  To: emacs-orgmode

I have some RHEL4 machines where I have no admin privileges where I
would like to use org-mode, without having to build a newer version of
emacs myself and install it under my own user.

Is it possible to figure out how to use git to get to the last version
prior to removing the emacs 21 compatibility code?

Is it possible to take the compatibility code removal changes and apply
them to the most recent version of the code?  (I think not, but I don't
know just how much such "magic" git is capable of...)

Or is it better to just get the last released version that has the emacs
21 compatiblity code, than to use git? (since I can't upgrade to newer
versions anyway...)

Thanx!


- Steinar

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to get the last version of org-mode supporting emacs21?
  2010-06-01 11:21 How to get the last version of org-mode supporting emacs21? Steinar Bang
@ 2010-06-02  8:42 ` Mikael Fornius
  2010-06-02 14:18   ` Bernt Hansen
  2010-06-02 15:00 ` Dan Davison
  1 sibling, 1 reply; 6+ messages in thread
From: Mikael Fornius @ 2010-06-02  8:42 UTC (permalink / raw)
  To: emacs-orgmode


I found it in the git log, it says says:

--8<---------------cut here---------------start------------->8---
commit 31858e5c39404cf2bc745fe05f59c7ce6816db74
Author: Carsten Dominik <carsten.dominik@gmail.com>
Date:   Tue Apr 21 14:00:24 2009 +0200

    End of Emacs 21 support.

commit e0cd12716ac8202d4b5c764dfb57d5d7725be73a
Author: Carsten Dominik <carsten.dominik@gmail.com>
Date:   Tue Apr 21 10:21:36 2009 +0200

    Release 6.26b
--8<---------------cut here---------------end--------------->8---

So I think using release 6.26b would be recommended. I think you should
clone the git repo and use the command

git reset --hard e0cd12716ac8202d4b5c764dfb57d5d7725be73a

before make.

Hope it works!

-- 
Mikael Fornius

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to get the last version of org-mode supporting emacs21?
  2010-06-02  8:42 ` Mikael Fornius
@ 2010-06-02 14:18   ` Bernt Hansen
  2010-06-02 14:45     ` Mikael Fornius
  2010-06-02 19:13     ` Steinar Bang
  0 siblings, 2 replies; 6+ messages in thread
From: Bernt Hansen @ 2010-06-02 14:18 UTC (permalink / raw)
  To: Mikael Fornius, Steinar Bang; +Cc: emacs-orgmode

Mikael Fornius <mfo@abc.se> writes:

> I found it in the git log, it says says:
>
> --8<---------------cut here---------------start------------->8---
> commit 31858e5c39404cf2bc745fe05f59c7ce6816db74
> Author: Carsten Dominik <carsten.dominik@gmail.com>
> Date:   Tue Apr 21 14:00:24 2009 +0200
>
>     End of Emacs 21 support.
>
> commit e0cd12716ac8202d4b5c764dfb57d5d7725be73a
> Author: Carsten Dominik <carsten.dominik@gmail.com>
> Date:   Tue Apr 21 10:21:36 2009 +0200
>
>     Release 6.26b
> --8<---------------cut here---------------end--------------->8---
>
> So I think using release 6.26b would be recommended. I think you should
> clone the git repo and use the command
>
> git reset --hard e0cd12716ac8202d4b5c764dfb57d5d7725be73a
>
> before make.

Don't do that.  That will move your current branch tip to that commit
and throw away all of your current changes (if any) in the working
directory.

If you just want to visit and use the old version do

    git checkout release_6.26b

instead.

The tag 'release_6.26b' is commit e0cd12716ac8202d4b5c764dfb57d5d7725be73a.

If you want to make changes on top of release_6.26b then create a new
branch instead with

    git checkout -b emacs21 release_6.26b

(naming the branch whatever you like instead of emacs21)

HTH,
Bernt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to get the last version of org-mode supporting emacs21?
  2010-06-02 14:18   ` Bernt Hansen
@ 2010-06-02 14:45     ` Mikael Fornius
  2010-06-02 19:13     ` Steinar Bang
  1 sibling, 0 replies; 6+ messages in thread
From: Mikael Fornius @ 2010-06-02 14:45 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode, Steinar Bang

Bernt Hansen <bernt@norang.ca> writes:

> If you just want to visit and use the old version do
>
>     git checkout release_6.26b

Thanks Bernt for a very good explanation!

Your way is much better and of course the right way to do it, I did not
think of it.

-- 
Mikael Fornius

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to get the last version of org-mode supporting emacs21?
  2010-06-01 11:21 How to get the last version of org-mode supporting emacs21? Steinar Bang
  2010-06-02  8:42 ` Mikael Fornius
@ 2010-06-02 15:00 ` Dan Davison
  1 sibling, 0 replies; 6+ messages in thread
From: Dan Davison @ 2010-06-02 15:00 UTC (permalink / raw)
  To: emacs-orgmode

Steinar Bang <sb@dod.no> writes:

> I have some RHEL4 machines where I have no admin privileges where I
> would like to use org-mode, without having to build a newer version of
> emacs myself and install it under my own user.

Hi Steinar,

It's extremely easy to compile emacs under linux. You basically just
download it somewhere in your home directory and type configure and
make. Are you sure that you're making the right decision in going for
very old emacs + old org-mode rather than new emacs plus new org-mode?

Emacs 21 is extremely out-of-date, and so are your Red Hat machines I
guess. But I would definitely at least download the latest emacs and
check that it compiles without problems.

Dan

>
> Is it possible to figure out how to use git to get to the last version
> prior to removing the emacs 21 compatibility code?
>
> Is it possible to take the compatibility code removal changes and apply
> them to the most recent version of the code?  (I think not, but I don't
> know just how much such "magic" git is capable of...)
>
> Or is it better to just get the last released version that has the emacs
> 21 compatiblity code, than to use git? (since I can't upgrade to newer
> versions anyway...)
>
> Thanx!
>
>
> - Steinar
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to get the last version of org-mode supporting emacs21?
  2010-06-02 14:18   ` Bernt Hansen
  2010-06-02 14:45     ` Mikael Fornius
@ 2010-06-02 19:13     ` Steinar Bang
  1 sibling, 0 replies; 6+ messages in thread
From: Steinar Bang @ 2010-06-02 19:13 UTC (permalink / raw)
  To: emacs-orgmode

>>>>> Bernt Hansen <bernt@norang.ca>:

> Mikael Fornius <mfo@abc.se> writes:

>> I found it in the git log, it says says:
>> 
>> commit 31858e5c39404cf2bc745fe05f59c7ce6816db74
>> Author: Carsten Dominik <carsten.dominik@gmail.com>
>> Date:   Tue Apr 21 14:00:24 2009 +0200
>> 
>> End of Emacs 21 support.
>> 
>> commit e0cd12716ac8202d4b5c764dfb57d5d7725be73a
>> Author: Carsten Dominik <carsten.dominik@gmail.com>
>> Date:   Tue Apr 21 10:21:36 2009 +0200
>> 
>> Release 6.26b

> If you want to make changes on top of release_6.26b then create a new
> branch instead with

>     git checkout -b emacs21 release_6.26b

> (naming the branch whatever you like instead of emacs21)

Thanx!  That worked great!

I needed to get sha1 and hex-util (got them from my CVS version of Gnus
(haven't moved to the git version yet)) and url*.elc (got them from the
ELPA package for url).

Just added that to the Makefile (can't get a diff the easy way because
vc-git.el won't run on Emacs 21, so good old trusty `C-x v =' wasn't
available).

So no I'm rolling on these antiquated combination of HW and SW. :-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-02 19:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-01 11:21 How to get the last version of org-mode supporting emacs21? Steinar Bang
2010-06-02  8:42 ` Mikael Fornius
2010-06-02 14:18   ` Bernt Hansen
2010-06-02 14:45     ` Mikael Fornius
2010-06-02 19:13     ` Steinar Bang
2010-06-02 15:00 ` Dan Davison

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).