emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Henri Fischer <henri.fischer@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: where to place org-mode and remember lisp files
Date: Tue, 12 May 2009 17:14:36 -0400	[thread overview]
Message-ID: <17606.1242162876@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Henri Fischer <henri.fischer@gmail.com> of "Tue, 12 May 2009 22:35:27 +0200." <c803e3ed0905121335v334aa8e2qb09092ee4b6ceced@mail.gmail.com>

Henri Fischer <henri.fischer@gmail.com> wrote:

> I'm having trouble using org-mode version 6.26d in combination with Emacs 22.3.1
> (i386-apple-darwin-9.6.0, Carbon version 1.6.0) which contains org-mode 5.23a.
> The 6.26d source files are stored in ~/elisp. The Remember source files I placed in ~/elisp/
> remember.
> Without (setq load-path (cons "~/elisp" load-path)) in my .emacs, I'm running 5.23a which allows me
> to export org files to Latex and to use Remember. With (setq load-path (cons "~/elisp" load-path) in
> my .emacs sure enough version 6.26d is loaded. However exporting an org file to Latex and using C-c
> r for Remember both result in to errors. See below. Any idea how I can solve these errors? I would
> like to keep my org-mode and Remember source files in the locations mentioned above. I've been
> moving the source files arround (for instance the new source files to /Applications/Emacs.app/
> Contents/Resources/lisp/textmodes, but with no success. Thanks for your help.
> 

What exactly is in ~/elisp? You say the source files, but are you unpacking the tar
file there? If so, adding ~/elisp to your load path is almost certainly wrong: the lisp
files are in a subdirectory called "lisp".

Use locate-library to find out where you are getting all these:

(locate-library "org")
(locate-library "remember")

Then figure out where you *should* be getting them from.

You probably need to do something like this in your .emacs (substitute
your values as indicated):

(add-to-list 'load-path "~/path/to/directory/containing/org.el-6.26d")
(add-to-list 'load-path "~/path/to/directory/containing/remember.el")

[...and possibly more: e.g. the contrib/lisp directory]

> 
> error when exporting to Latex:
> Exporting to LaTeX...
> org-export-latex-content: Symbol's function definition is void: org-cleaned-string-for-export
>
 
Since org-export-latex-content does not call
org-cleaned-string-for-export (at least in my setup - in fact, I don't
think the function exists any longer), I assume that you are using some
remnants of the 5.23a installation, perhaps mixing-n-matching
pieces from the two installs.

> error when exporting to Latex and proces to pdf:
> if: Wrong type argument: commandp, org-export-as-pdf
> 
> error when using C-c r for Remember:
> Debugger entered--Lisp error: (error "Autoloading failed to define function org-remember")
> 

Nick

      reply	other threads:[~2009-05-12 21:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-12 20:35 where to place org-mode and remember lisp files Henri Fischer
2009-05-12 21:14 ` Nick Dokos [this message]

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=17606.1242162876@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=henri.fischer@gmail.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).