From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Autoloading failed to define function org-mode Date: Sat, 19 Sep 2009 08:04:41 +0100 Message-ID: <4AB48289.70305@manor-farm.org> References: Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mou02-0002R6-Nd for emacs-orgmode@gnu.org; Sat, 19 Sep 2009 03:04:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Motzx-0002Qk-Mv for emacs-orgmode@gnu.org; Sat, 19 Sep 2009 03:04:49 -0400 Received: from [199.232.76.173] (port=48499 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Motzx-0002Qh-Gf for emacs-orgmode@gnu.org; Sat, 19 Sep 2009 03:04:45 -0400 Received: from mx20.gnu.org ([199.232.41.8]:1669) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Motzw-0004ST-Nd for emacs-orgmode@gnu.org; Sat, 19 Sep 2009 03:04:44 -0400 Received: from [217.146.125.41] (helo=firewall.banter.local) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Motzv-0005v8-SB for emacs-orgmode@gnu.org; Sat, 19 Sep 2009 03:04:44 -0400 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: Tamas K Papp Cc: emacs-orgmode@gnu.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.