From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: list-load-path-shadows Date: Wed, 05 Sep 2012 14:00:54 -0400 Message-ID: <6932.1346868054@alphaville.americas.hpqcorp.net> References: <8533.1346780053@alphaville.americas.hpqcorp.net> <6715.1346853272@alphaville> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9JuN-0002vs-S7 for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 14:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9JuM-0000cM-Kx for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 14:00:59 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:5619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9JuM-0000cH-EN for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 14:00:58 -0400 In-Reply-To: Message from tsd@tsdye.com (Thomas S. Dye) of "Wed, 05 Sep 2012 06:57:48 -1000." 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: "Thomas S. Dye" Cc: Org-mode Thomas S. Dye wrote: > The initialization error was coming when one of my files was being > evaluated. If I don't require org-latex, the compiled version of org > will initialize. > > *** OFF Require org-latex > #+begin_src emacs-lisp :tangle no > (require 'org-latex) > #+end_src > That's not what the previous backtrace showed though: the ditaa path calculation was directly implicated. In any case, the above shouldn't happen as long as you have done ``make autoloads'' or equivalent and (require 'org-install) beforehand, and in fact it does not happen in my case: emacs -q -l /path/to/minimal/.emacs with the following minimal .emacs, starts up without error: --8<---------------cut here---------------start------------->8--- ;;; -*- mode: emacs-lisp -*- ;;; constant part (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/lisp")) (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/contrib/lisp")) (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) (require 'org-install) (setq debug-on-error t) (setq debug-on-quit t) (setq eval-expression-print-length nil) (setq eval-expression-print-level nil) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (require 'org-latex) --8<---------------cut here---------------end--------------->8--- OTOH, even if I leave out the (require 'org-install), I get no error (and that's after removing the org that came with emacs and making sure that I have compiled everything), so I'm a bit baffled right now. Nick