[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] file-error "Cannot open load file" "org"
From: |
Thorsten Jolitz |
Subject: |
Re: [O] file-error "Cannot open load file" "org" |
Date: |
Wed, 04 Sep 2013 13:07:36 +0200 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) |
Karl Voit <address@hidden> writes:
> * Karl Voit <address@hidden> 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(#<buffer test.org> "~/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