From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: file-error "Cannot open load file" "org" Date: Wed, 04 Sep 2013 13:07:36 +0200 Message-ID: <87ioyghmkn.fsf@gmail.com> References: <2013-09-03T21-58-16@devnull.Karl-Voit.at> <2013-09-04T12-27-11@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHAwF-0001ww-FH for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 07:08:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHAwA-0004my-8U for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 07:07:55 -0400 Received: from plane.gmane.org ([80.91.229.3]:58108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHAwA-0004kr-1y for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 07:07:50 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VHAw8-00038s-R9 for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 13:07:48 +0200 Received: from g231108047.adsl.alicedsl.de ([92.231.108.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Sep 2013 13:07:48 +0200 Received: from tjolitz by g231108047.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Sep 2013 13:07:48 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Karl Voit writes: > * Karl Voit wrote: >> >> Whenever I open an Org file, I get: >> >> File mode specification error: (file-error "Cannot open load file" >> "org") > > I found an old posting with "toggle-debug-on-error" and activated it > before I open my test Org-mode file: > > Debugger entered--Lisp error: (file-error "Cannot open load file" "org") > org-mode() > set-auto-mode-0(org-mode nil) > set-auto-mode() > normal-mode(t) > after-find-file(nil t) > find-file-noselect-1(# "~/org/test.org" nil nil > "~/share/all/org-mode/test.org" (3408929 64768)) > find-file-noselect("~/org/test.org" nil nil t) > find-file("~/org/test.org" t) > call-interactively(find-file nil nil) > > However, I can not interpret it :-( > > "emacs --debug-init" does not show any issues in *Messages*. I just > do not have any Org-mode available when opening an Org-mode file. > When I do "M-x org-mode" I get "call-interactively: Cannot open load > file: org" in *Messages*. > > Again: I'm a bit puzzled since the exact same ~/.emacs.d folder > sub-hierarchy is working on my other machine. Therefore I guess, > that the issue is rooted in the system configuration. I also removed > /usr/share/emacs/23.4/lisp/org which was Org-mode v6 (from Debian > Wheezy). Did you try to copy a subdirs.el into the org-mode directory? ,------------------------------------------------------------ | /home/tj/gitclone/org-mode: | insgesamt 140 | drwxr-xr-x 9 tj users 4096 19. Jul 14:28 . | drwxr-xr-x 28 tj users 4096 1. Aug 20:28 .. | -rw-r--r-- 1 tj users 333 19. Jul 12:35 .dir-locals.el | [...] | -rwxr-xr-x 1 tj users 106 2. Dez 2011 subdirs.el | drwxr-xr-x 5 tj users 4096 19. Jul 12:35 testing `------------------------------------------------------------ with subdirs.el file content: ,--------------------------------------------------------- | (if (fboundp 'normal-top-level-add-subdirs-to-load-path) | (normal-top-level-add-subdirs-to-load-path)) `--------------------------------------------------------- -- cheers, Thorsten