From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: where to place org-mode and remember lisp files Date: Tue, 12 May 2009 17:14:36 -0400 Message-ID: <17606.1242162876@alphaville.usa.hp.com> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3zJz-0007Tq-6S for emacs-orgmode@gnu.org; Tue, 12 May 2009 17:15:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3zJu-0007Rt-Fo for emacs-orgmode@gnu.org; Tue, 12 May 2009 17:15:30 -0400 Received: from [199.232.76.173] (port=41980 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3zJu-0007Rq-8Z for emacs-orgmode@gnu.org; Tue, 12 May 2009 17:15:26 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:14372) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M3zJt-0000TG-6e for emacs-orgmode@gnu.org; Tue, 12 May 2009 17:15:25 -0400 In-Reply-To: Message from Henri Fischer of "Tue, 12 May 2009 22:35:27 +0200." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Henri Fischer Cc: emacs-orgmode@gnu.org Henri Fischer 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