From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angel de Vicente Subject: Re: org-version reported as 6.33x after upgrading to the "latest and greatest" with Emacs' Package Manager Date: Tue, 31 Jan 2012 05:19:43 +0000 Message-ID: References: <817h09i9rp.fsf@gmail.com> <81ty3dm8cd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rs68K-0001lP-4E for emacs-orgmode@gnu.org; Tue, 31 Jan 2012 00:19:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rs68D-0003ex-KU for emacs-orgmode@gnu.org; Tue, 31 Jan 2012 00:19:56 -0500 Received: from tau.ll.iac.es ([161.72.1.33]:3610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rs68D-0003df-7B for emacs-orgmode@gnu.org; Tue, 31 Jan 2012 00:19:49 -0500 In-Reply-To: <81ty3dm8cd.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 30 Jan 2012 22:32:58 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jambunathan K Cc: emacs-orgmode@gnu.org Hi, Jambunathan K writes: >> 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.")) Yes, there were mysterious forces... :-) As I recall it I had two problems in my .emacs file: 1) a line: (find-file "~/org/MAIN.org") 2) and ;; Remember-Mode (org-remember-insinuate) (setq org-directory "/home/angelv/org/") (setq org-default-notes-file (concat org-directory "/notes.org")) (define-key global-map "\C-cr" 'org-remember) Those were forcing the bundled org version to load. Issue solved by: * Moving line in 1) right after the (package-initialize) right at the bottom of my .emacs * Getting rid of lines in 2) and substituting them by: (setq org-directory "/home/angelv/org/") (setq org-default-notes-file (concat org-directory "notes.org")) (define-key global-map "\C-cc" 'org-capture) * Putting out of the way the directory where the bundled ORG was (probably not needed, but for extra peace of mind) BUT, I still could not capture anything with C-cc, and I got an error about org-called-interactively-p not being valid/defined.. (don't remember now). It looks like the new org was byte-compiled when the old org was active and there were some issues in there. Deleting all the .elc files, making sure that only the new org was active and then byte-compiling the .el files again did the trick. Cheers, -- Ãngel de Vicente http://www.iac.es/galeria/angelv/ --------------------------------------------------------------------------------------------- ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protección de Datos, acceda a http://www.iac.es/disclaimer.php WARNING: For more information on privacy and fulfilment of the Law concerning the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en