emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org beamer conflicts
Date: Fri, 10 Dec 2010 23:03:04 +0100	[thread overview]
Message-ID: <AANLkTimi3Cb64U1LdUG3dJi9ySmHhk7b-rKks3su6Ui0@mail.gmail.com> (raw)
In-Reply-To: <m1d3p9489i.fsf@ip1-201.halifax.rwth-aachen.de>

On Fri, Dec 10, 2010 at 10:39 PM, Andrea Crotti
<andrea.crotti.0@gmail.com> wrote:
> I noticed a strange problem.
> My emacs configuration uses orgmode from git, and loads it in this way:
>
> (defun make-conf-path (path)
>  (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/langs"))
>
> ;; 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
<http://orgmode.org/manual/Installation.html#Installation>.


-- 
Suvayu

Open source is the future. It sets us free.

      reply	other threads:[~2010-12-10 22:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-10 21:39 org beamer conflicts Andrea Crotti
2010-12-10 22:03 ` suvayu ali [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=AANLkTimi3Cb64U1LdUG3dJi9ySmHhk7b-rKks3su6Ui0@mail.gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=andrea.crotti.0@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).