[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
Re: [O] org-version reported as 6.33x after upgrading to the "latest and greatest" with Emacs' Package Manager
Mon, 30 Jan 2012 22:32:58 +0530
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
(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.
In my .emacs file I have
(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)
(setq org-log-done t)
and at the end of the file
(setq load-path (cons "~/Emacs-custom" load-path))