emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@manor-farm.org>
To: Tamas K Papp <tkpapp@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Autoloading failed to define function org-mode
Date: Sat, 19 Sep 2009 08:04:41 +0100	[thread overview]
Message-ID: <4AB48289.70305@manor-farm.org> (raw)
In-Reply-To: <h8vkle$i8i$1@ger.gmane.org>

Tamas K Papp wrote:
> Hi, I have just switched to Ubuntu from Debian (fresh install on a new
> machine).  After I installed the relevant packages (emacs-snapshot,
> org-mode) and tried to edit my todo file, I got the error message
> 
> Autoloading failed to define function org-mode
> 
> I thought I would debug this a bit more before sending a bug report to
> Ubuntu.
> 
> (require 'org-install) does not help (it is done in
> /etc/emacs/site-start.d/50org-mode.el anyway).
> 
> Any hints/suggestions on how to proceed would be appreciated.
> 
> emacs-snapshot  1:20090320-1ubuntu1
> org-mode        6.27a-1            
> 
Tamas,

I would suggest using the git version of org. I know this doesn't 
address the problem directly, but it's a good workaround:)

I put all my org mode stuff in a .emacs-lisp folder in my home 
directory. In my .emacs I have:

(add-to-list 'load-path "~/.emacs-lisp/org")

In my org makefile I have:

# Where local software is found
prefix=~/.emacs-lisp

# Where local lisp files go.
lispdir = $(prefix)/org

# Where info files go.
infodir = $(prefix)/share/info

There is a tutorial in Worg on how to set up git to keep your Makefile 
customizations between different versions of org. Of course I can't find 
the link to it at the moment, when I need it:)

Ian.

  reply	other threads:[~2009-09-19  7:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18  9:42 Autoloading failed to define function org-mode Tamas K Papp
2009-09-19  7:04 ` Ian Barton [this message]
2009-09-20 13:43   ` Tamas K Papp

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=4AB48289.70305@manor-farm.org \
    --to=lists@manor-farm.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=tkpapp@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).