emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] error on opening org-file with #+startup: indent


From: Mike McLean
Subject: Re: [O] error on opening org-file with #+startup: indent
Date: Tue, 24 Apr 2012 21:41:32 -0400


On Apr 24, 2012, at 3:18 PM, Achim Gratz wrote:

Fritz Kunze writes:
     I ran M-x load-library org followed by M-x org-version - which
returned 7.8.09. 

You didn't generate and (require 'org-install).

If you have admin-rights / sudo access on your machine, the simplest method may be to just follow the true install process at http://orgmode.org/manual/Installation.html#Installation. Any reasonably setup Linux/Unix system will require sudo / root access for the make install step. 

If you are going to run Org-Mode without running “make install” (or don't have the proper rights to run “make install”), the build process has recently changed. This is likely why you are picking up the old autoloads. Instead of = M-x cd ~/.emacs.d/org-7.8.09/ followed by C-u 0 M-x byte-recompile-directory)= do the following from your shell:

$ cd ~/.emacs.d/org-7.8.09/
$ make oldorg

Back in Emacs:

(add-to-list 'load-path "~/.emacs.d/org-7.8.09/lisp")
(require 'org-install)
Then immediately do a

M-x org-version

If you don't get a string similar to mine below, you still have conflicting versions of Org Mode. In particular you are looking for the part after the '@' sign to point to an org-install.el that matches your ~/.emacs.d/org-7.8.09/lisp directory location. Without it, Emacs and Org will be hopelessly confused.

=Org-mode version 7.8.09 (release_7.8.09-335-geabf89 @ /Users/mlm/.emacs.d/el-get/org-mode/lisp/org-install.el)=

Mike


reply via email to

[Prev in Thread] Current Thread [Next in Thread]