You are running an outdated version of org-mode
. You can upgrade to a newer version by doing
M-x package-install
RET org
RET
Note that if you are upgrading from the built-in version of org-mode
, you need to do the installation
in a session where no .org
file has been visited, i.e. where no org
built-in functions have been loaded.
as explained here. To ensure that this is the case, start Emacs via emacs -Q
and then install org
as described above.
Taking into account your current configuration, the next step is to move this
(when (>= emacs-major-version 24)
(require 'package)
(package-initialize)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t))
from the bottom to the very top of your .emacs
file, and comment out all org
-related customizations for now. By moving the call to package-initialize
to the top of your .emacs
file you are making sure all packages installed via the package manager are loaded before your custom configuration is loaded.
When you restart Emacs (without the -Q
option) and do M-x org-version
RET, it should now give you something like 8.2.6
, and exporting tables should work fine.
As a last step, re-enable your org
-related customizations one by one by uncommenting them and evaluating them via C-x C-e. If you get any errors, this means the new org
version introduced some changes that are incompatible with what your code is trying to do. In that case you might want to ask a separate question.
org-mode
. You should try upgradingorg-mode
viaM-x package-install RET org RET
and see if the problem persists. – itsjeydorg-mode
from the version built-in to Emacs to a newer version needs to be done "in a session where no.org
file has been visited, i.e. where noorg
built-in functions have been loaded" (as explained here). Start Emacs viaemacs -Q
and try again. – itsjeyd-Q
option right after the installation or did you checkorg-version
in the same session? – itsjeyd