Hi,
Notice emacs-25.1 in the elpa package description:
Status: Available Obsolete from gnu -- Install
Archive: gnu
Version: 9.6
Commit: b3da427ebb1c401355aa4cba9baeaa92f87ccb2f
Summary: Outline-based notes management and organizer
Requires: emacs-25.1
Homepage: https://orgmode.org
Keywords: outlines hypermedia calendar wp
Maintainer: Bastien Guerry <b...@gnu.org>
Author: Carsten Dominik <carsten.domi...@gmail.com>
Other versions: 9.6 (installed), 9.5.2 (installed), 9.3 (builtin).
and
lisp/org.el:10:;; Package-Requires: ((emacs "25.1"))
Attempt to use Org with emacs-25.2.2 (Ubuntu-18.04 LTS bionic) causes an
error
File mode specification error: (void-function temporary-file-directory)
and the buffer remains in the fundamental mode.
My expectations:
- either Package-Requires is updated to emacs-26.1
- or Org is modified to be usable at least with limited set of features
and it is clarified why Package-Requires may be less than the version
declared by
https://orgmode.org/worg/org-maintenance.html#emacs-compatibility.
Debugger entered--Lisp error: (void-function temporary-file-directory)
(temporary-file-directory)
(expand-file-name (format "babel-stable-%d" (random 1000))
(temporary-file-directory))
(setq dir (expand-file-name (format "babel-stable-%d" (random 1000))
(temporary-file-directory)))
(while (or (not dir) (file-exists-p dir)) (setq dir (expand-file-name (format
"babel-stable-%d" (random 1000)) (temporary-file-directory))))
(let (dir) (while (or (not dir) (file-exists-p dir)) (setq dir (expand-file-name
(format "babel-stable-%d" (random 1000)) (temporary-file-directory))))
(make-directory dir) dir)
(if noninteractive nil (let (dir) (while (or (not dir) (file-exists-p dir)) (setq dir
(expand-file-name (format "babel-stable-%d" (random 1000))
(temporary-file-directory)))) (make-directory dir) dir))
(defvar org-babel-temporary-stable-directory (if noninteractive nil (let (dir) (while (or (not
dir) (file-exists-p dir)) (setq dir (expand-file-name (format "babel-stable-%d" (random
1000)) (temporary-file-directory)))) (make-directory dir) dir)) "Directory to hold temporary
files created to execute code blocks.\nUsed by `org-babel-temp-file'. This directory will be
removed on\nEmacs shutdown.")
eval-buffer(#<buffer *load*-215051> nil
"/home/ubuntu/org-mode/lisp/ob-core.el" nil t) ; Reading at buffer position 128878
load-with-code-conversion("/home/ubuntu/org-mode/lisp/ob-core.el"
"/home/ubuntu/org-mode/lisp/ob-core.el" nil t)
require(ob-core)
eval-buffer(#<buffer *load*-363988> nil
"/home/ubuntu/org-mode/lisp/ob-emacs-lisp.el" nil t) ; Reading at buffer position
1072
load-with-code-conversion("/home/ubuntu/org-mode/lisp/ob-emacs-lisp.el"
"/home/ubuntu/org-mode/lisp/ob-emacs-lisp.el" nil t)
require(ob-emacs-lisp)
(if active (require (intern (concat "ob-" lang))) (fmakunbound (intern (concat
"org-babel-execute:" lang))) (fmakunbound (intern (concat "org-babel-expand-body:"
lang))))
(let ((active (cdr pair)) (lang (symbol-name (car pair)))) (if active (require (intern (concat
"ob-" lang))) (fmakunbound (intern (concat "org-babel-execute:" lang))) (fmakunbound
(intern (concat "org-babel-expand-body:" lang)))))
(let ((pair (car --dolist-tail--))) (let ((active (cdr pair)) (lang (symbol-name (car pair)))) (if active
(require (intern (concat "ob-" lang))) (fmakunbound (intern (concat "org-babel-execute:"
lang))) (fmakunbound (intern (concat "org-babel-expand-body:" lang))))) (setq --dolist-tail-- (cdr
--dolist-tail--)))
(while --dolist-tail-- (let ((pair (car --dolist-tail--))) (let ((active (cdr pair)) (lang (symbol-name
(car pair)))) (if active (require (intern (concat "ob-" lang))) (fmakunbound (intern (concat
"org-babel-execute:" lang))) (fmakunbound (intern (concat "org-babel-expand-body:"
lang))))) (setq --dolist-tail-- (cdr --dolist-tail--))))
(let ((--dolist-tail-- org-babel-load-languages)) (while --dolist-tail-- (let ((pair (car
--dolist-tail--))) (let ((active (cdr pair)) (lang (symbol-name (car pair)))) (if active (require (intern
(concat "ob-" lang))) (fmakunbound (intern (concat "org-babel-execute:" lang)))
(fmakunbound (intern (concat "org-babel-expand-body:" lang))))) (setq --dolist-tail-- (cdr
--dolist-tail--)))))
org-babel-do-load-languages(org-babel-load-languages ((emacs-lisp . t)))
custom-initialize-reset(org-babel-load-languages (funcall (function (closure
(crm-separator org-babel-load-languages org-id-overriding-file-name
org-indent-indentation-per-level org-element--timestamp-regexp
org-element-cache-map-continue-from org-element-paragraph-separate
org-agenda-buffer-name org-inlinetask-min-level t) nil (quote ((emacs-lisp .
t)))))))
custom-declare-variable(org-babel-load-languages (funcall (function (closure (crm-separator org-babel-load-languages org-id-overriding-file-name org-indent-indentation-per-level org-element--timestamp-regexp org-element-cache-map-continue-from org-element-paragraph-separate org-agenda-buffer-name org-inlinetask-min-level t) nil (quote ((emacs-lisp . t)))))) "Languages which can be evaluated in Org buffers.\n\\<org-mode-map>\nThis list can be used to load support for any of the
available\nlanguages with babel support (see info node `(org) Languages'). Each\nlanguage will depend on a different set of system executables and/or\nEmacs modes.\n\nWhen a language is \"loaded\", code blocks in that language can\nbe evaluated with `org-babel-execute-src-block', which is bound\nby default to \\[org-ctrl-c-ctrl-c].\n\nThe `org-babel-no-eval-on-ctrl-c-ctrl-c' option can be set to\nremove code block evaluation from \\[org-ctrl-c-ctrl-c]. By\ndefault, only Emacs Lisp is
loaded, since it has no specific\nrequirement." :group org-babel :set org-babel-do-load-languages :version "24.1" :type (alist :tag "Babel Languages" :key-type (choice (const :tag "Awk" awk) (const :tag "C" C) (const :tag "R" R) (const :tag "Calc" calc) (const :tag "Clojure" clojure) (const :tag "CSS" css) (const :tag "Ditaa" ditaa) (const :tag "Dot" dot) (const :tag "Emacs Lisp"
emacs-lisp) (const :tag "Forth" forth) (const :tag "Fortran" fortran) (const :tag "Gnuplot" gnuplot) (const :tag "Haskell" haskell) (const :tag "Java" java) (const :tag "Javascript" js) (const :tag "LaTeX" latex) (const :tag "Lilypond" lilypond) (const :tag "Lisp" lisp) (const :tag "Makefile" makefile) (const :tag "Maxima" maxima) (const :tag "Matlab" matlab) (const :tag
"Ocaml" ocaml) (const :tag "Octave" octave) (const :tag "Org" org) (const :tag "Perl" perl) (const :tag "Pico Lisp" picolisp) (const :tag "PlantUML" plantuml) (const :tag "Python" python) (const :tag "Ruby" ruby) (const :tag "Sass" sass) (const :tag "Scala" scala) (const :tag "Scheme" scheme) (const :tag "Screen" screen) (const :tag "Shell Script" shell) (const :tag
"Sql" sql) (const :tag "Sqlite" sqlite) (const :tag "Stan" stan)) :value-type (boolean :tag "Activate" :value t)))
eval-buffer(#<buffer *load*> nil "/home/ubuntu/org-mode/lisp/org.el" nil t)
; Reading at buffer position 15758
load-with-code-conversion("/home/ubuntu/org-mode/lisp/org.el"
"/home/ubuntu/org-mode/lisp/org.el" nil t)
org-mode()
set-auto-mode-0(org-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer emphasis.org> "~/examples-org/emphasis.org" nil nil
"~/examples-org/emphasis.org" (3448399 2068))
find-file-noselect("~/examples-org/emphasis.org" nil nil t)
find-file("~/examples-org/emphasis.org" t)
funcall-interactively(find-file "~/examples-org/emphasis.org" t)
call-interactively(find-file nil nil)
command-execute(find-file)