From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: org beamer conflicts Date: Fri, 10 Dec 2010 23:03:04 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRB3p-00045D-2r for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 17:03:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRB3n-000495-Q2 for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 17:03:28 -0500 Received: from mail-gx0-f180.google.com ([209.85.161.180]:60345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRB3n-00048x-NS for emacs-orgmode@gnu.org; Fri, 10 Dec 2010 17:03:27 -0500 Received: by gxk19 with SMTP id 19so2693257gxk.39 for ; Fri, 10 Dec 2010 14:03:26 -0800 (PST) In-Reply-To: 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: Andrea Crotti Cc: emacs-orgmode@gnu.org On Fri, Dec 10, 2010 at 10:39 PM, Andrea Crotti wrote: > I noticed a strange problem. > My emacs configuration uses orgmode from git, and loads it in this way: > > (defun make-conf-path (path) > =A0(expand-file-name (concat base path))) > > (add-to-list 'load-path (make-conf-path "org-mode/lisp")) > (add-to-list 'load-path (make-conf-path "org-mode/contrib/babel/lisp")) > (add-to-list 'load-path (make-conf-path "org-mode/contrib/babel/lisp/lang= s")) > > ;; this variable must be set BEFORE org-mode is loaded or it will have no= effect > (setq org-replace-disputed-keys t) > > (require 'org) > > On an ubuntu 10.10 machine (with emacs 23.1) I wanted to use org-beamer, > and even if locate-library told me that I was using the right orgmode > (not the one shipped in) the variable org-export-latex-classes didn't > contain the entry "beamer", and then I could not export my presentation. > > I fixed it using instead of require->load-file, but what I don't > understand is why it was using the other version, when locate-library > told me something else. > > Any idea? > The recommended way to use a separate org installation is with `(require 'org-install)' not `(require 'org)'. See . --=20 Suvayu Open source is the future. It sets us free.