From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: list-load-path-shadows Date: Wed, 05 Sep 2012 08:51:53 -1000 Message-ID: References: <8533.1346780053@alphaville.americas.hpqcorp.net> <6715.1346853272@alphaville> <6932.1346868054@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9Khj-00085j-Pv for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 14:52:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9Khi-0008O6-HR for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 14:51:59 -0400 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:40569) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1T9Khi-0008Ni-7n for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 14:51:58 -0400 In-Reply-To: <6932.1346868054@alphaville.americas.hpqcorp.net> (Nick Dokos's message of "Wed, 05 Sep 2012 14:00:54 -0400") 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: nicholas.dokos@hp.com Cc: Org-mode Nick Dokos writes: > 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: > > ;;; -*- 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) > > > 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 > > Hmm, after putting your minimal .emacs (suitably localized) in ~/temp, emacs -Q -l /Users/dk/temp/.emacs launches emacs and opens the minimal .emacs file for editing, but apparently doesn't source it. M-x locate-library RET org RET points to the org that ships with my emacs, rather than to the one indicated in the minimal .emacs. Following some advice on EmacsWiki, I have this in .bashrc: alias emacs='/Applications/Emacs.app/Contents/MacOS/Emacs' alias emacsclient='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient' Tom -- Thomas S. Dye http://www.tsdye.com