Bastien <bzg <at> gnu.org> writes: > > Hi Martin, > > Martin Steffen <msteffen <at> ifi.uio.no> writes: > > > (setq load-path (cons "~/gnu/emacs/24/lisp/org/lisp" load-path)) > > (setq load-path (cons "~/gnu/emacs/24/lisp/org/contrib/lisp" load-path)) > > (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) > > After you start Emacs in this minimal mode, can you call > > M-x org-reload RET > M-x org-version RET > > and report the value? > > Also, grep'ing through your ~/gnu/emacs/ folder to find "41" somewhere > might help. >
thanks for the feedback. What I did in the meantime: I checked out an older version (I git-checked out a tag "release_8.3") which made the troubles go away. Now, to re-produce the error: I went back to the last revision which showed for me the error and started the minimal emacs (--no-init-file) again. After starting emacs in the above mentioned minimal mode (as you proposed), I called M-x org-reload. That gives the output (1) below. Org-version gives: Org-mode version 8.3.1 (release_8.3.1-117-gc98729 @ /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/) The grep'ing of the directory does not reveal much. There's some occurences of "41" in some time stamps or in hex-codes, but not much that seems to relate to a "function 41". Note also: since I invoke emacs with "no-init-file" and since my personally extended directories are not entered to the load-path (apart from the org-subdir), none of the stuff I normally load from there should play a role in the problem. In general, I had the impression it's a rather fundamental bug: I disallows me to type "RETURN" in an org file. More precisely, I cannot type "RETURN" in "org-mode". If I do, I get the error message invalid function 41 and the return is not executed (insofar that no new line is added but an error raised). Due to that, org-mode for me in that version is ``broken'' as a cannot enter a new line at all (except I can "cut-and-paste" a new line or similar) which is why I checked-out the previous tag. . Martin -------------------------- (1) --------------------------- Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob-comint...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob-core...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob-emacs-lisp...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob-eval...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob-exp...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob-keys...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob-lob...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob-ref...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob-table...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/ob-tangle...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-compat...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-entities...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-faces...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-footnote...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-list...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-macro...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-macs...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-pcomplete...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-src...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-w3m...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org-version.el (source)...done Loading /ifi/asgard/a01/msteffen/gnu/emacs/24/lisp/org/lisp/org.el (source)... Problems while trying to load feature `org-bbdb' Problems while trying to load feature `org-bibtex' Problems while trying to load feature `org-docview' Problems while trying to load feature `org-gnus' Problems while trying to load feature `org-info' Problems while trying to load feature `org-irc' Problems while trying to load feature `org-mhe' Problems while trying to load feature `org-rmail' org-element--set-regexps: Invalid function: 41 Quit Mark set