emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-version reported as 6.33x after upgrading to the "latest and


From: Jambunathan K
Subject: Re: [O] org-version reported as 6.33x after upgrading to the "latest and greatest" with Emacs' Package Manager
Date: Mon, 30 Jan 2012 22:32:58 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt)

> Any idea on how to test if org is getting confused with 6.33 beyond
> reporting that as its version?

In your .emacs file, *just before* package-initialize add this and
restart Emacs.

(when (featurep 'org)
  (error "Some mysterious force has already loaded org. Investigate why
  this is so."))

In the above operation, if you see that some mysterious force is indeed
operating, demystify the force by adding the following line to the *top*
of your .emacs and restart emacs.

(setq debug-on-error t)
(eval-after-load 'org '(error "Some mysterious force is loading Org"))

Note that Org could be loaded automatically from system path, if
somewhere in the init sequence an Org file is visited (are you using
desktop save or session save related libraries?) or you have some custom
org related code.

It is possible that backtrace may give you an hint on what possibly
could be happening in your load sequence.

Jambunathan K.

In my .emacs file I have 
;; Org-mode
;;********************************************
(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(define-key global-map "\C-cb" 'org-iswitchb)
(global-font-lock-mode 1)
(setq org-log-done t)

and at the end of the file

(setq load-path (cons "~/Emacs-custom" load-path))
(require 'package)
(package-initialize)



reply via email to

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