emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Upgrade org-mode over a older distribution version
@ 2012-05-31 18:42 Michael Baum
  2012-05-31 18:57 ` Achim Gratz
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Michael Baum @ 2012-05-31 18:42 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]

I'm sure this is an FAQ, but I haven't been able to find it.

The Org-mode manual says under "Installation", "*If you are using a version
of Org that is part of the Emacs distribution or an XEmacs package, please
skip this section and go directly to
Activation<http://orgmode.org/manual/Activation.html#Activation>
."*  The problem is that the distribution version I have, bundled in with
the emacs package supplied by openSUSE, is more than a major revision out
of date, at least with regard to org-mode. So the question is, what's the
proper way to upgrade it without breaking anything by accident?

Let's assume I have root access to the computer. Is it as simple as
downloading the current org-mode source, running make and all that, and
then replacing the existing .elc files in /usr/share/emacs/23.2/lisp/org
with the new ones?

maab

-- 
====================================
Michael Baum <maabaum@gmail.com>

You should never have your best trousers on when you go out
 to fight for freedom and truth. - Ibsen

[-- Attachment #2: Type: text/html, Size: 1179 bytes --]

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

* Re: Upgrade org-mode over a older distribution version
  2012-05-31 18:42 Upgrade org-mode over a older distribution version Michael Baum
@ 2012-05-31 18:57 ` Achim Gratz
  2012-05-31 19:19   ` Michael Baum
  2012-05-31 20:01 ` Crash in "GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600) of 2012-05-17 on MARVIN" when jumpin to end of long lines of org-mode file Rainer Stengele
  2012-06-01 11:31 ` Rainer Stengele
  2 siblings, 1 reply; 8+ messages in thread
From: Achim Gratz @ 2012-05-31 18:57 UTC (permalink / raw)
  To: emacs-orgmode

Michael Baum writes:
> Let's assume I have root access to the computer. Is it as simple as
> downloading the current org-mode source, running make and all that,
> and then replacing the existing .elc files in
> /usr/share/emacs/23.2/lisp/org with the new ones?

Never touch these files, they belong to Emacs.  You need to install into
/usr/share/emacs/site-lisp or, if you want to do really fancy things
with multiple Emacs versions, /usr/share/emacs/23.2/site-lisp.  So pull
current master from Git and do:

make up2

This assumes sudo will be able to obtain administrative rights.  Make in
master is already set up to place orgmode into the right spot.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

* Re: Upgrade org-mode over a older distribution version
  2012-05-31 18:57 ` Achim Gratz
@ 2012-05-31 19:19   ` Michael Baum
  2012-05-31 19:32     ` Achim Gratz
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Baum @ 2012-05-31 19:19 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]

Many thanks. I was afraid of something like that. So the idea is that a set
or org-mode files under site-lisp takes precedence over the built-in files
and that's how emacs knows which ones to run?

maab


On Thu, May 31, 2012 at 2:57 PM, Achim Gratz <Stromeko@nexgo.de> wrote:

> Michael Baum writes:
> > Let's assume I have root access to the computer. Is it as simple as
> > downloading the current org-mode source, running make and all that,
> > and then replacing the existing .elc files in
> > /usr/share/emacs/23.2/lisp/org with the new ones?
>
> Never touch these files, they belong to Emacs.  You need to install into
> /usr/share/emacs/site-lisp or, if you want to do really fancy things
> with multiple Emacs versions, /usr/share/emacs/23.2/site-lisp.  So pull
> current master from Git and do:
>
> make up2
>
> This assumes sudo will be able to obtain administrative rights.  Make in
> master is already set up to place orgmode into the right spot.
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
>
> Factory and User Sound Singles for Waldorf rackAttack:
> http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
>
>
>


-- 
====================================
Michael Baum <maabaum@gmail.com>

You should never have your best trousers on when you go out
 to fight for freedom and truth. - Ibsen

[-- Attachment #2: Type: text/html, Size: 1974 bytes --]

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

* Re: Upgrade org-mode over a older distribution version
  2012-05-31 19:19   ` Michael Baum
@ 2012-05-31 19:32     ` Achim Gratz
  0 siblings, 0 replies; 8+ messages in thread
From: Achim Gratz @ 2012-05-31 19:32 UTC (permalink / raw)
  To: emacs-orgmode

Michael Baum writes:
> Many thanks. I was afraid of something like that. So the idea is that
> a set or org-mode files under site-lisp takes precedence over the
> built-in files and that's how emacs knows which ones to run?

Emacs will always load the file(s) it finds first in load-path, so you
can do anything by setting it up accordingly.  By default load-path is
set up so that things in site-lisp are seen before
<emacs-version>/site-lisp before <emacs-version>/lisp.  So if you keep
that structure (and Linux distributions generally do), it becomes easy
to keep updated packages there.

BTW, after you've done this, you will need a (require 'org-install) in
your emacs startup files.  With the Emacs builtin org it's not strictly
necessary (but harmless if present).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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

* Crash in "GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600) of 2012-05-17 on MARVIN" when jumpin to end of long lines of org-mode file
  2012-05-31 18:42 Upgrade org-mode over a older distribution version Michael Baum
  2012-05-31 18:57 ` Achim Gratz
@ 2012-05-31 20:01 ` Rainer Stengele
  2012-06-01 12:53   ` Bastien
  2012-06-01 11:31 ` Rainer Stengele
  2 siblings, 1 reply; 8+ messages in thread
From: Rainer Stengele @ 2012-05-31 20:01 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I have emacs crashing since several versions.

Being in org-mode I have a long line like this (following 3 lines concatenated)

#+BEGIN: clocktable :maxlevel 0 :fileskip0 t :scope ("~/org/DIPLAN/DIPLAN.org" "~/org/DIPLAN/DIPLAN.org_archive" "~/org/DIPLAN/Seuffer.org"
"~/org/DIPLAN/ebm-papst.org" "~/org/DIPLAN/PREH.org" "~/org/DIPLAN/PADUA/PADUA.org" "~/org/DIPLAN/PADUA/Lastenheft.org"
"~/org/DIPLAN/PADUA/Pflichtenheft.org" "~/org/DIPLAN/PADUA/Zeitaufschreibung.org") :block 2012-04

Point is at the beginning of the line. If I press C-e Emacs crashes reproducably.

My major mode is "Org", version "Org-mode version 7.8.10 (release_7.8.10-598-g747d71"

Enabled minor modes: Abbrev Auto-Composition Auto-Compression Auto-Encryption
Blink-Cursor Delete-Selection Display-Time File-Name-Shadow Font-Lock
Global-Font-Lock Icicle Iswitchb Line-Number Minibuffer-Depth-Indicate
Mouse-Wheel Recentf Shell-Dirtrack Show-Paren Transient-Mark

When I switch to "text-mode" the crashes do not appear anymore!

How can I track down the reason for the crashes?


Cheers,
Rainer

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

* Crash in "GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600) of 2012-05-17 on MARVIN" when jumpin to end of long lines of org-mode file
  2012-05-31 18:42 Upgrade org-mode over a older distribution version Michael Baum
  2012-05-31 18:57 ` Achim Gratz
  2012-05-31 20:01 ` Crash in "GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600) of 2012-05-17 on MARVIN" when jumpin to end of long lines of org-mode file Rainer Stengele
@ 2012-06-01 11:31 ` Rainer Stengele
  2012-06-01 14:41   ` Nick Dokos
  2 siblings, 1 reply; 8+ messages in thread
From: Rainer Stengele @ 2012-06-01 11:31 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I have emacs crashing since several versions.

Being in org-mode I have a long line like this (following 3 lines concatenated)

#+BEGIN: clocktable :maxlevel 0 :fileskip0 t :scope ("~/org/DIPLAN/DIPLAN.org" "~/org/DIPLAN/DIPLAN.org_archive" "~/org/DIPLAN/Seuffer.org"
"~/org/DIPLAN/ebm-papst.org" "~/org/DIPLAN/PREH.org" "~/org/DIPLAN/PADUA/PADUA.org" "~/org/DIPLAN/PADUA/Lastenheft.org"
"~/org/DIPLAN/PADUA/Pflichtenheft.org" "~/org/DIPLAN/PADUA/Zeitaufschreibung.org") :block 2012-04

Point is at the beginning of the line. If I press C-e Emacs crashes reproducably.

My major mode is "Org", version "Org-mode version 7.8.10 (release_7.8.10-598-g747d71"

Enabled minor modes: Abbrev Auto-Composition Auto-Compression Auto-Encryption
Blink-Cursor Delete-Selection Display-Time File-Name-Shadow Font-Lock
Global-Font-Lock Icicle Iswitchb Line-Number Minibuffer-Depth-Indicate
Mouse-Wheel Recentf Shell-Dirtrack Show-Paren Transient-Mark

When I switch to "text-mode" the crashes do not appear anymore!

How can I track down the reason for the crashes?


Cheers,
Rainer

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

* Re: Crash in "GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600) of 2012-05-17 on MARVIN" when jumpin to end of long lines of org-mode file
  2012-05-31 20:01 ` Crash in "GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600) of 2012-05-17 on MARVIN" when jumpin to end of long lines of org-mode file Rainer Stengele
@ 2012-06-01 12:53   ` Bastien
  0 siblings, 0 replies; 8+ messages in thread
From: Bastien @ 2012-06-01 12:53 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode

Hi Rainer,

Rainer Stengele <rainer.stengele@online.de> writes:

> I have emacs crashing since several versions.

I can't test with your version of Emacs.

> Being in org-mode I have a long line like this (following 3 lines concatenated)
>
> #+BEGIN: clocktable :maxlevel 0 :fileskip0 t :scope ("~/org/DIPLAN/DIPLAN.org" "~/org/DIPLAN/DIPLAN.org_archive" "~/org/DIPLAN/Seuffer.org"
> "~/org/DIPLAN/ebm-papst.org" "~/org/DIPLAN/PREH.org" "~/org/DIPLAN/PADUA/PADUA.org" "~/org/DIPLAN/PADUA/Lastenheft.org"
> "~/org/DIPLAN/PADUA/Pflichtenheft.org" "~/org/DIPLAN/PADUA/Zeitaufschreibung.org") :block 2012-04

There is a missing #+END.  

Do you still have the crash with #+END?  Can
you send the complete .org file to test?

> How can I track down the reason for the crashes?

C-h f org-end-of-line RET C-x o TAB RET M-x edebug-defun RET

then C-e in your file again to see if you can find the problem
with org-end-of-line.

HTH,

-- 
 Bastien

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

* Re: Crash in "GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600) of 2012-05-17 on MARVIN" when jumpin to end of long lines of org-mode file
  2012-06-01 11:31 ` Rainer Stengele
@ 2012-06-01 14:41   ` Nick Dokos
  0 siblings, 0 replies; 8+ messages in thread
From: Nick Dokos @ 2012-06-01 14:41 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode

Rainer Stengele <rainer.stengele@online.de> wrote:

> Hi all,
> 
> I have emacs crashing since several versions.
> 
> Being in org-mode I have a long line like this (following 3 lines concatenated)
> 
> #+BEGIN: clocktable :maxlevel 0 :fileskip0 t :scope ("~/org/DIPLAN/DIPLAN.org" "~/org/DIPLAN/DIPLAN.org_archive" "~/org/DIPLAN/Seuffer.org"
> "~/org/DIPLAN/ebm-papst.org" "~/org/DIPLAN/PREH.org" "~/org/DIPLAN/PADUA/PADUA.org" "~/org/DIPLAN/PADUA/Lastenheft.org"
> "~/org/DIPLAN/PADUA/Pflichtenheft.org" "~/org/DIPLAN/PADUA/Zeitaufschreibung.org") :block 2012-04
> 
> Point is at the beginning of the line. If I press C-e Emacs crashes reproducably.
> 
> My major mode is "Org", version "Org-mode version 7.8.10 (release_7.8.10-598-g747d71"
> 
> Enabled minor modes: Abbrev Auto-Composition Auto-Compression Auto-Encryption
> Blink-Cursor Delete-Selection Display-Time File-Name-Shadow Font-Lock
> Global-Font-Lock Icicle Iswitchb Line-Number Minibuffer-Depth-Indicate
> Mouse-Wheel Recentf Shell-Dirtrack Show-Paren Transient-Mark
> 
> When I switch to "text-mode" the crashes do not appear anymore!
> 
> How can I track down the reason for the crashes?
> 

Is there a core dump? If so, try running gdb like so:

,----
| $ gdb /path/to/emacs /path/to/core
| ...
| (gdb) bt
`----

to get a backtrace. There is some information about what to do
in the emacs manual:

   (info "(emacs) Checklist")

Nick

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

end of thread, other threads:[~2012-06-01 14:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-31 18:42 Upgrade org-mode over a older distribution version Michael Baum
2012-05-31 18:57 ` Achim Gratz
2012-05-31 19:19   ` Michael Baum
2012-05-31 19:32     ` Achim Gratz
2012-05-31 20:01 ` Crash in "GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600) of 2012-05-17 on MARVIN" when jumpin to end of long lines of org-mode file Rainer Stengele
2012-06-01 12:53   ` Bastien
2012-06-01 11:31 ` Rainer Stengele
2012-06-01 14:41   ` Nick Dokos

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