emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b
Date: Sun, 13 Jan 2013 23:08:04 +0100	[thread overview]
Message-ID: <8738y4ohx7.fsf@googlemail.com> (raw)
In-Reply-To: 878v80g6qu.fsf@Rainer.invalid

Achim Gratz <Stromeko@nexgo.de> 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	other threads:[~2013-01-13 22:08 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10 16:08 [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b Eric Schulte
2013-01-10 16:29 ` Bastien
2013-01-10 16:38   ` Eric Schulte
2013-01-10 17:09     ` Bastien
2013-01-10 17:29       ` Eric Schulte
2013-01-10 17:44         ` Nick Dokos
2013-01-10 18:13           ` Eric Schulte
2013-01-10 18:44             ` Bastien
2013-01-10 19:28               ` Eric Schulte
2013-01-10 20:05                 ` Bastien
2013-01-10 21:12                   ` Eric Schulte
2013-01-10 22:24                     ` Eric Schulte
2013-01-10 22:45                       ` Nick Dokos
2013-01-10 23:05                       ` Bastien
2013-01-10 23:44                         ` Eric Schulte
2013-01-11  7:04                           ` Bastien
2013-01-11 12:28                             ` Bastien
2013-01-11 15:41                               ` Eric Schulte
2013-01-11 16:31                                 ` Bastien
2013-01-11 16:50                                 ` Achim Gratz
2013-01-11 16:40                               ` Achim Gratz
2013-01-11 16:58                                 ` Bastien
2013-01-11 17:04                                   ` Achim Gratz
2013-01-11 17:23                                     ` Bastien
2013-01-11 19:30                                       ` Achim Gratz
2013-01-11 20:19                                         ` Eric Schulte
2013-01-11 20:48                                           ` Achim Gratz
2013-01-12  6:57                                           ` Bastien
2013-01-12  6:56                                         ` Bastien
2013-01-12  7:44                                           ` Achim Gratz
2013-01-12  8:40                                             ` Bastien
2013-01-12 10:27                                               ` Achim Gratz
2013-01-12 11:03                                         ` Achim Gratz
2013-01-12 13:35                                           ` Bastien
2013-01-12 15:49                                             ` Achim Gratz
2013-01-12 16:06                                               ` Bastien
2013-01-12 16:17                                                 ` Achim Gratz
2013-01-12 16:12                                               ` Bastien
2013-01-12 16:24                                                 ` Achim Gratz
2013-01-11  9:12                           ` Achim Gratz
2013-01-10 23:27                       ` Stelian Iancu
2013-01-10 23:27                       ` Stelian Iancu
2013-01-10 20:09                 ` Achim Gratz
2013-01-10 22:30                   ` Eric Schulte
2013-01-10 22:55                     ` Nick Dokos
2013-01-11  8:58                     ` Achim Gratz
2013-01-10 19:37             ` Nick Dokos
2013-01-10 19:47 ` Achim Gratz
2013-01-13 22:08   ` Thorsten Jolitz [this message]
2013-01-13 23:06     ` Stelian Iancu
2013-01-13 23:22       ` Thorsten Jolitz
2013-01-14 21:44         ` Eric Schulte
2013-01-15  1:29           ` Thorsten Jolitz
2013-01-15  6:07             ` Eric Schulte
2013-01-15 11:31               ` Thorsten Jolitz
2013-01-15 12:22                 ` Nick Dokos
2013-01-15 13:36                   ` Thorsten Jolitz
2013-01-15 13:49                     ` Nick Dokos
2013-01-15 18:58                 ` Achim Gratz
2013-01-15 20:17                   ` Thorsten Jolitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738y4ohx7.fsf@googlemail.com \
    --to=tjolitz@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).