emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is n ot defined, introduced


From: Thorsten Jolitz
Subject: Re: [O] [BUG] `org-load-noerror-mustsuffix´ is n ot defined, introduced by 5484a33b
Date: Sun, 13 Jan 2013 23:08:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Achim Gratz <address@hidden> writes:

> Eric Schulte writes:
>> Recently my Emacs start up fails when I (require 'org) because the
>> function `org-load-noerror-mustsuffix' is undefined.  I was able to fix
>> this by checking out the version previous to commit 5484a33b [1].
>
> Your Emacs loads an outdated org-macs.el.  Additionally, you have no
> autoloads generated in the Git work tree:
>
>   *Messages*
>   Loading /home/eschulte/.emacs.d/src/org-mode/lisp/org.el (source)...
>   Package assoc is obsolete!
>   Loading /home/eschulte/.emacs.d/elpa/org-20121231/org-loaddefs.el 
> (source)...done
>   Problems while trying to load feature `org-jsinfo'
>   eval-buffer: Symbol's function definition is void: 
> org-define-obsolete-function-alias
>
> This makes Emacs pick up the (wrong) autoloads from the ELPA directory,
> although the root cause for your failure is that Org has been partly
> loaded before the load-path were pointing to the Git work tree and other
> parts have been loaded after the load-path changed.  Please remove or
> deactivate the ELPA package.


I just updated Org-mode from Git a few minutes ago, and, after having
problems, deleted the repo and cloned it again, ran make and make
autoloads, but still cannot load org.el (or start with my usual
starter-kit customizations):

Symbol's function definition is void: 
org-define-obsolete-function-alias

Loading org-compat.el first does not help. 

I do not have the original Org-mode that came with Emacs anymore - I
replaced it with a link to the git-repo, i.e. /usr/share/emacs/24.2/ is
a symlink. 

I do not have an Org-mode version in my Elpa directory (only
org-magit.el).

I followed the advice from this thread and evaluated a list of
expressions in the scratch buffer after loading Emacs -Q, and post the
output below. This is quite a long thread, I'm not sure if I have
exactly the same problem described, and, since I seem to have only the
Org-mode git-version and not a mixed installation, I'm not sure about
the proposed solution.

GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.2) of
2012-11-18 on eric

org-version
"7.9.3d"

;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

features
(time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd 
tool-bar dnd fontset image ...)
(symbol-file 'org-release)
nil
(add-to-list 'load-path "~/gitclone/org-mode/lisp")
("~/gitclone/org-mode/lisp" "/usr/share/emacs/24.2/lisp" 
"/usr/share/emacs/24.2/lisp/vc" "/usr/share/emacs/24.2/lisp/url" 
"/usr/share/emacs/24.2/lisp/textmodes" "/usr/share/emacs/24.2/lisp/progmodes" 
"/usr/share/emacs/24.2/lisp/play" "/usr/share/emacs/24.2/lisp/org" 
"/usr/share/emacs/24.2/lisp/org/contrib" "/usr/share/emacs/24.2/lisp/org/etc" 
"/usr/share/emacs/24.2/lisp/org/lisp" "/usr/share/emacs/24.2/lisp/org/mk" ...)
(load-library "org-loaddefs")
t
features
(org-loaddefs time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel 
x-win x-dnd tool-bar dnd fontset ...)
load-history
(("/home/tj/gitclone/org-mode/lisp/org-loaddefs.el" (autoload . 
org-babel-execute-safely-maybe) (autoload . org-babel-execute-maybe) (autoload 
. org-babel-view-src-block-info) (autoload . org-babel-expand-src-block-maybe) 
(autoload . org-babel-load-in-session-maybe) (autoload . 
org-babel-pop-to-session-maybe) (autoload . org-babel-execute-src-block) 
(autoload . org-babel-expand-src-block) (autoload . org-babel-check-src-block) 
(autoload . org-babel-insert-header-arg) (autoload . org-babel-load-in-session) 
...) ("/home/tj/git/dotemacsd/abbrev_defs" Buffer-menu-mode-abbrev-table 
Custom-mode-abbrev-table Rd-mode-abbrev-table bbdb-mode-abbrev-table 
bibtex-mode-abbrev-table bookmark-bmenu-mode-abbrev-table 
calendar-mode-abbrev-table change-log-mode-abbrev-table 
comint-mode-abbrev-table completion-list-mode-abbrev-table 
diary-fancy-display-mode-abbrev-table ...) 
("/usr/share/emacs/24.2/lisp/calendar/time-date.elc" (defun . 
with-decoded-time-value) (defun . encode-time-value) (autoload . 
parse-time-string) (autoload . timezone-make-date-arpa-standard) (t . 
date-to-time) (defun . date-to-time) (t . seconds-to-time) (defun . 
seconds-to-time) (t . time-less-p) (defun . time-less-p) (t . days-to-time) 
...) ("/usr/share/emacs/24.2/lisp/international/uni-mirrored.el") 
("/usr/share/emacs/24.2/leim/leim-list.el" (autoload . ucs-input-activate) 
(autoload . hangul-input-method-activate)) 
("/home/tj/gitclone/misc/subdirs.el") ("/usr/share/emacs/24.2/lisp/subdirs.el") 
("/usr/share/emacs/24.2/lisp/tooltip.elc" tooltip-mode (defun . tooltip-mode) 
tooltip-delay tooltip-delay tooltip-short-delay tooltip-short-delay 
tooltip-recent-seconds tooltip-recent-seconds tooltip-hide-delay 
tooltip-hide-delay tooltip-x-offset ...) 
("/usr/share/emacs/24.2/lisp/vc/ediff-hook.elc" menu-bar-ediff-misc-menu 
menu-bar-epatch-menu menu-bar-ediff-merge-menu menu-bar-ediff-menu (provide . 
ediff-hook)) ("/usr/share/emacs/24.2/lisp/vc/vc-hooks.elc" vc-ignore-vc-files 
vc-master-templates vc-ignore-dir-regexp vc-ignore-dir-regexp 
vc-handled-backends vc-handled-backends vc-directory-exclusion-list 
vc-directory-exclusion-list vc-make-backup-files vc-make-backup-files 
vc-follow-symlinks ...) ("/usr/share/emacs/24.2/lisp/emacs-lisp/float-sup.elc" 
float-pi pi float-e degrees-to-radians radians-to-degrees (defun . 
degrees-to-radians) (defun . radians-to-degrees) (provide . lisp-float-type)) 
("/usr/share/emacs/24.2/lisp/mwheel.elc" (require . custom) (require . timer) 
(defun . mouse-wheel-change-button) mouse-wheel-down-button 
mouse-wheel-down-event mouse-wheel-down-event mouse-wheel-up-button 
mouse-wheel-up-event mouse-wheel-up-event mouse-wheel-click-button 
mouse-wheel-click-event ...) ...)
load-history
(("/home/tj/gitclone/org-mode/lisp/org-loaddefs.el" (autoload . 
org-babel-execute-safely-maybe) (autoload . org-babel-execute-maybe) (autoload 
. org-babel-view-src-block-info) (autoload . org-babel-expand-src-block-maybe) 
(autoload . org-babel-load-in-session-maybe) (autoload . 
org-babel-pop-to-session-maybe) (autoload . org-babel-execute-src-block) 
(autoload . org-babel-expand-src-block) (autoload . org-babel-check-src-block) 
(autoload . org-babel-insert-header-arg) (autoload . org-babel-load-in-session) 
...) ("/home/tj/git/dotemacsd/abbrev_defs" Buffer-menu-mode-abbrev-table 
Custom-mode-abbrev-table Rd-mode-abbrev-table bbdb-mode-abbrev-table 
bibtex-mode-abbrev-table bookmark-bmenu-mode-abbrev-table 
calendar-mode-abbrev-table change-log-mode-abbrev-table 
comint-mode-abbrev-table completion-list-mode-abbrev-table 
diary-fancy-display-mode-abbrev-table ...) 
("/usr/share/emacs/24.2/lisp/calendar/time-date.elc" (defun . 
with-decoded-time-value) (defun . encode-time-value) (autoload . 
parse-time-string) (autoload . timezone-make-date-arpa-standard) (t . 
date-to-time) (defun . date-to-time) (t . seconds-to-time) (defun . 
seconds-to-time) (t . time-less-p) (defun . time-less-p) (t . days-to-time) 
...) ("/usr/share/emacs/24.2/lisp/international/uni-mirrored.el") 
("/usr/share/emacs/24.2/leim/leim-list.el" (autoload . ucs-input-activate) 
(autoload . hangul-input-method-activate)) 
("/home/tj/gitclone/misc/subdirs.el") ("/usr/share/emacs/24.2/lisp/subdirs.el") 
("/usr/share/emacs/24.2/lisp/tooltip.elc" tooltip-mode (defun . tooltip-mode) 
tooltip-delay tooltip-delay tooltip-short-delay tooltip-short-delay 
tooltip-recent-seconds tooltip-recent-seconds tooltip-hide-delay 
tooltip-hide-delay tooltip-x-offset ...) 
("/usr/share/emacs/24.2/lisp/vc/ediff-hook.elc" menu-bar-ediff-misc-menu 
menu-bar-epatch-menu menu-bar-ediff-merge-menu menu-bar-ediff-menu (provide . 
ediff-hook)) ("/usr/share/emacs/24.2/lisp/vc/vc-hooks.elc" vc-ignore-vc-files 
vc-master-templates vc-ignore-dir-regexp vc-ignore-dir-regexp 
vc-handled-backends vc-handled-backends vc-directory-exclusion-list 
vc-directory-exclusion-list vc-make-backup-files vc-make-backup-files 
vc-follow-symlinks ...) ("/usr/share/emacs/24.2/lisp/emacs-lisp/float-sup.elc" 
float-pi pi float-e degrees-to-radians radians-to-degrees (defun . 
degrees-to-radians) (defun . radians-to-degrees) (provide . lisp-float-type)) 
("/usr/share/emacs/24.2/lisp/mwheel.elc" (require . custom) (require . timer) 
(defun . mouse-wheel-change-button) mouse-wheel-down-button 
mouse-wheel-down-event mouse-wheel-down-event mouse-wheel-up-button 
mouse-wheel-up-event mouse-wheel-up-event mouse-wheel-click-button 
mouse-wheel-click-event ...) ...)
(symbol-file 'org-release)
"org-version"
(org-reload)

-- 
cheers,
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]