emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: nicholas.dokos@hp.com
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: list-load-path-shadows
Date: Wed, 05 Sep 2012 08:51:53 -1000	[thread overview]
Message-ID: <m1bohks3p2.fsf@tsdye.com> (raw)
In-Reply-To: <6932.1346868054@alphaville.americas.hpqcorp.net> (Nick Dokos's message of "Wed, 05 Sep 2012 14:00:54 -0400")

Nick Dokos <nicholas.dokos@hp.com> writes:

> Thomas S. Dye <tsd@tsdye.com> 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

  reply	other threads:[~2012-09-05 18:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 16:33 list-load-path-shadows Thomas S. Dye
2012-09-04 17:34 ` list-load-path-shadows Nick Dokos
2012-09-05  3:16   ` list-load-path-shadows Thomas S. Dye
2012-09-05 13:54     ` list-load-path-shadows Nick Dokos
2012-09-05 16:57       ` list-load-path-shadows Thomas S. Dye
2012-09-05 18:00         ` list-load-path-shadows Nick Dokos
2012-09-05 18:51           ` Thomas S. Dye [this message]
2012-09-05 19:20             ` list-load-path-shadows Nick Dokos
2012-09-05 19:40               ` list-load-path-shadows Thomas S. Dye
2012-09-05 20:01                 ` list-load-path-shadows Nick Dokos
2012-09-05 20:58                   ` list-load-path-shadows Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1bohks3p2.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).