From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graham Smith Subject: Re: In response to: .emacs works on Mac but not on Ubuntu Date: Wed, 17 Jun 2009 17:46:34 +0100 Message-ID: <2c75873c0906170946i26eb3ac2w2cd22925e508377c@mail.gmail.com> References: <2c75873c0906161431j372dc264p303b5d35f4c230b5@mail.gmail.com> <14350.1245190338@gamaville.dokosmarshall.org> <2c75873c0906170840mf1da806g4ab5e98955e322e6@mail.gmail.com> <4A3918B5.5090905@manor-farm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGyHY-0008Np-AD for emacs-orgmode@gnu.org; Wed, 17 Jun 2009 12:46:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGyHT-0008NC-LN for emacs-orgmode@gnu.org; Wed, 17 Jun 2009 12:46:39 -0400 Received: from [199.232.76.173] (port=42599 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGyHT-0008N7-IE for emacs-orgmode@gnu.org; Wed, 17 Jun 2009 12:46:35 -0400 Received: from mail-fx0-f224.google.com ([209.85.220.224]:58631) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGyHT-0003IW-4a for emacs-orgmode@gnu.org; Wed, 17 Jun 2009 12:46:35 -0400 Received: by fxm24 with SMTP id 24so735802fxm.42 for ; Wed, 17 Jun 2009 09:46:34 -0700 (PDT) In-Reply-To: <4A3918B5.5090905@manor-farm.org> 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: emacs-orgmode@gnu.org Ian Thanks, it just worked with 8.01 which is why I am struggling now. > I am using Ubuntu Jaunty with a setup almost identical to yours and mine > "Just works". Are you certain that: > >> (setq load-path (cons "~/EmacsAddins/OrgMode/lisp" load-path)) >> (setq load-path (cons "~/EmacsAddins/OrgMode/contrib/lisp" load-path)) > > Points to the correct version of org? Some things to try: It was the directory copied from the Mac, so it was 6.xx, but I have just updated to latest version of web site. > Remove the compiled lisp files (*.elc). I have none to remove that I can find. > > Edit org-install.el and type in some garbage. If emacs is trying to load > this library it should blow up with an error. I haven't tried this, but the error message I get suggests an error trying to load org.install, which I assume is because it can't find it. The error message is Loading /home/graham/.recentf...done Cleaning up the recentf list...done (0 removed) An error has occurred while loading `/home/graham/.emacs': File error: Cannot open load file, org-install > > My default ubuntu emacs22 doesn't have any org packages loaded by default. > Try doing an apt-cache purge org-mode, which should completely remove the > Ubuntu version if it's installed. I have run this and get an error "graham@T42-laptop:~$ sudo apt-cache purge org-mode [sudo] password for graham: E: Invalid operation purge" I have also tried this: "graham@T42-laptop:~$ emacs --debug-init" but get "Loading /home/graham/.recentf...done Cleaning up the recentf list...done (0 removed) require: Cannot open load file: debug" Graham