emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thibaut Verron <thibaut.verron@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Cannot load org after updating to 9.0
Date: Mon, 7 Nov 2016 14:11:08 +0100	[thread overview]
Message-ID: <CAFsi02RrLoVie3S+vpdEPpJfTN8-2Z5GzSsMYvacUM9L7APCGA@mail.gmail.com> (raw)
In-Reply-To: <CAFsi02Ssjqfprze0_TxLYAZuiOPBChioTHsu4EBOFxwnQbpicg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2139 bytes --]

2016-11-07 12:44 GMT+01:00 Thibaut Verron <thibaut.verron@gmail.com>:

> Hello,
>
> I updated my emacs packages this morning, including org 9.0, from GNU
> elpa. Apparently (based on other folders in my elpa installation folder),
> my last previous update was on april 11, 2016, so the problem may not come
> from the very latest version. Nonetheless, I didn't find any other mention
> of it online.
>
> So, how does the problem appear? When I start emacs, I get the following
> "warnings":
>
> > WARNING: No org-loaddefs.el file could be found from where org.el is
> loaded.
> > You need to run "make" or "make autoloads" from Org lisp directory
> > Warning (initialization): An error occurred while loading
> `(...)/.emacs.d/init.el':
>
> > Symbol's function definition is void: org-element-update-syntax
>
> For the first warning, I tried looking in the ~/.emacs.d/elpa/org-20161102
> folder (which is where the loaded org.el file is), and it does contain
> org-loaddefs.el. There is no makefile, but I guess that it is normal for an
> installation using elpa.
>
> The second warning is an error and blocks further evaluation of my init
> file. For some reason though, --debug-init doesn't give any stacktrace.
>
> I'm using emacs 24.3.1 on linux (ubuntu 14.04).
>

When I try to evaluate org-loaddefs manually, I get an error "Symbol's
function definition is void: function-put".

Apparently, based on this thread [1], it can happen if I installed org
using a more recent version of emacs than the one I am using currently. It
was certainly the case until this morning, but I installed the update from
this computer, and after the problem appeared, I uninstalled and
reinstalled org, again from this computer.

Replacing occurrences of function-put with put got rid of the first warning
(the warning message could have been more helpful), but not of the second
one.

org-element-update-syntax is defined in org-element.el, so I guess it is
another compilation problem. How can I make sure that the package is
compiled for my version of emacs?

Thibaut Verron

[1] https://lists.gnu.org/archive/html/emacs-orgmode/2014-05/msg00336.html

[-- Attachment #2: Type: text/html, Size: 2956 bytes --]

  reply	other threads:[~2016-11-07 13:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 11:44 Cannot load org after updating to 9.0 Thibaut Verron
2016-11-07 13:11 ` Thibaut Verron [this message]
2016-11-07 15:38   ` Thibaut Verron

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=CAFsi02RrLoVie3S+vpdEPpJfTN8-2Z5GzSsMYvacUM9L7APCGA@mail.gmail.com \
    --to=thibaut.verron@gmail.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).