From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Schuetzler Subject: Babel error on init with 8.3.1 Date: Fri, 7 Aug 2015 09:41:11 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11395b9652b8d1051cb9a215 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNiq8-0007f3-Lt for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 10:41:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNiq6-0002A1-B4 for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 10:41:44 -0400 Received: from mail-yk0-x22b.google.com ([2607:f8b0:4002:c07::22b]:32895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNiq6-00029p-3v for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 10:41:42 -0400 Received: by ykoo205 with SMTP id o205so90272053yko.0 for ; Fri, 07 Aug 2015 07:41:41 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a11395b9652b8d1051cb9a215 Content-Type: text/plain; charset=UTF-8 On startup with the latest 8.3 release I now get an error: Invalid function: org-babel-header-args-safe-fn I updated org through the package manager in Emacs, and I'm using it on Windows 10. Below is my full org configuration, but I've found that when I comment out the following section of my init, I don't receive any errors: (add-hook 'org-babel-after-execute-hook 'bh/display-inline-images 'append) (setq org-babel-results-keyword "results") (defun bh/display-inline-images () (condition-case nil (org-display-inline-images) (error nil))) (org-babel-do-load-languages (quote org-babel-load-languages) (quote ((emacs-lisp . t) (latex . t) (R . t) (dot . t) (python . t) (org . t)))) (setq org-confirm-babel-evaluate nil) FULL Config: Emacs : GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2015-07-11 on KAEL Package: Org-mode version 8.3.1 (8.3.1-elpa @ c:/Users/Ryan/dotfiles/.emacs.d/elpa/org-20150805/) current state: ============== (setq org-export-backends '(ascii html icalendar latex md odt) org-agenda-tags-todo-honor-ignore-options t org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-babel-results-keyword "results" org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-agenda-exporter-settings '((ps-number-of-columns 1) (ps-landscape-mode t) (htmlize-output-type (quote cc))) org-agenda-custom-commands '(("N" "Notes" tags "NOTE" ((org-agenda-overriding-header "Notes") (org-tags-match-list-sublevels t))) ("h" "Habits" tags-todo "STYLE=\"habit\"" ((org-agenda-overriding-header "Habits") (org-agenda-sorting-strategy (quote (todo-state-down effort-up category-keep)))) ) (" " "Agenda" ((agenda "" nil) (tags "REFILE" ((org-agenda-overriding-header "Tasks to Refile") (org-tags-match-list-sublevels nil)) ) (tags-todo "-CANCELLED/!" ((org-agenda-overriding-header "Stuck Projects") (org-agenda-skip-function (quote bh/skip-non-stuck-projects)) (org-agenda-sorting-strategy (quote (category-keep)))) ) (tags-todo "-HOLD-CANCELLED/!" ((org-agenda-overriding-header "Projects") (org-agenda-skip-function (quote bh/skip-non-projects)) (org-tags-match-list-sublevels (quote indented)) (org-agenda-sorting-strategy (quote (category-keep)))) ) (tags-todo "-CANCELLED/!NEXT" ((org-agenda-overriding-header (concat "Project Next Tasks" (if bh/hide-scheduled-and-waiting-next-tasks "" " (including WAITING and SCHEDULED tasks)") ) ) (org-agenda-skip-function (quote bh/skip-projects-and-habits-and-single-tasks)) (org-tags-match-list-sublevels t) (org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-tasks) (org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-tasks) (org-agenda-todo-ignore-with-date bh/hide-scheduled-and-waiting-next-tasks) (org-agenda-sorting-strategy (quote (todo-state-down effort-up category-keep)))) ) (tags-todo "-REFILE-CANCELLED-WAITING-HOLD/!" ((org-agenda-overriding-header (concat "Standalone Tasks" (if bh/hide-scheduled-and-waiting-next-tasks "" " (including WAITING and SCHEDULED tasks)") ) ) (org-agenda-skip-function (quote bh/skip-project-tasks)) (org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-tasks) (org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-tasks) (org-agenda-todo-ignore-with-date bh/hide-scheduled-and-waiting-next-tasks) (org-agenda-sorting-strategy (quote (category-keep)))) ) (tags-todo "-REFILE-CANCELLED-WAITING-HOLD/!" ((org-agenda-overriding-header (concat "Project Subtasks" (if bh/hide-scheduled-and-waiting-next-tasks "" " (including WAITING and SCHEDULED tasks)") ) ) (org-agenda-skip-function (quote bh/skip-non-project-tasks)) (org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-tasks) (org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiting-next-tasks) (org-agenda-todo-ignore-with-date bh/hide-scheduled-and-waiting-next-tasks) (org-agenda-sorting-strategy (quote (category-keep)))) ) (tags-todo "-CANCELLED+WAITING|HOLD/!" ((org-agenda-overriding-header "Waiting and Postponed Tasks") (org-agenda-skip-function (quote bh/skip-stuck-projects)) (org-tags-match-list-sublevels nil) (org-agenda-todo-ignore-scheduled t) (org-agenda-todo-ignore-deadlines t)) ) (tags "-REFILE/" ((org-agenda-overriding-header "Tasks to Archive") (org-agenda-skip-function (quote bh/skip-non-archivable-tasks)) (org-tags-match-list-sublevels nil)) ) ) nil) ) org-return-follows-link t org-default-notes-file "~/Dropbox/org/inbox.org" org-todo-keyword-faces '(("TODO" :foreground "tomato" :weight bold) ("NEXT" :foreground "deep sky blue" :weight bold) ("DONE" :foreground "medium spring green" :weight bold) ("WAITING" :foreground "orange" :weight bold) ("HOLD" :foreground "magenta" :weight bold) ("CANCELLED" :foreground "medium spring green" :weight bold) ("MEETING" :foreground "medium spring green" :weight bold) ("PHONE" :foreground "medium spring green" :weight bold)) org-after-todo-state-change-hook '(org-clock-out-if-current) org-from-is-user-regexp nil org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-agenda-dim-blocked-tasks nil org-mode-hook '(evil-org-mode #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9)) org-outline-path-complete-in-steps nil org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t)) ("HOLD" ("WAITING") ("HOLD" . t)) ("TODO" ("WAITING") ("CANCELLED") ("HOLD")) ("NEXT" ("WAITING") ("CANCELLED") ("HOLD")) ("DONE" ("WAITING") ("CANCELLED") ("HOLD"))) org-stuck-projects '("" nil nil "") org-archive-hook '(org-attach-archive-delete-maybe) org-agenda-compact-blocks t org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-refile-use-outline-path t org-directory "~/Dropbox/org" org-insert-mode-line-in-empty-file t org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-refile-allow-creating-parent-nodes 'confirm org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d)") (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE" "MEETING")) org-modules '(org-bbdb org-bibtex org-habit org-irc) org-fast-tag-selection-single-key 'expert org-babel-tangle-lang-exts '(("latex" . "tex") ("emacs-lisp" . "el") ("elisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-babel-after-execute-hook '(bh/display-inline-images) org-completion-use-ido t org-indirect-buffer-display 'current-window org-babel-load-languages '((emacs-lisp . t) (latex . t) (R . t) (dot . t) (python . t) (org . t)) org-habit-graph-column 50 org-agenda-mode-hook '(hl-line-mode) org-agenda-files '("~/Dropbox/org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer bh/remove-empty-drawer-on-clock-out) org-refile-target-verify-function 'bh/verify-refile-target org-tag-alist '((:startgroup) ("@errand" . 101) ("@office" . 111) ("@home" . 104) (:endgroup) ("WAITING" . 87) ("HOLD" . 72) ("PERSONAL" . 112) ("WORK" . 119) ("ORG" . 79) ("NOTE" . 110) ("CANCELLED" . 99) ("FLAGGED" . 63)) ) -- Ryan rschuet@gmail.com --001a11395b9652b8d1051cb9a215 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On startup with the latest 8.3 release I now get an e= rror:=C2=A0

=C2=A0 Invalid function: org-babel= -header-args-safe-fn

I updated org through the pac= kage manager in Emacs, and I'm using it on Windows 10. Below is my full= org configuration, but I've found that when I comment out the followin= g section of my init, I don't receive any errors:

<= div>
(add-hook 'org-babel-after-execute-hook 'bh/display-inline= -images 'append)

(setq org-babel-results-k= eyword "results")

(defun bh/display-inli= ne-images ()
=C2=A0 (condition-case nil
=C2=A0 (org-dis= play-inline-images)
(error nil)))

(org-b= abel-do-load-languages
=C2=A0(quote org-babel-load-languages)
=C2=A0(quote ((emacs-lisp . t)
(latex . t)
(R . t)
(dot . t)
(py= thon . t)
(org . t))))

(setq org-confirm-babel-ev= aluate nil)

FULL Config:

<= /div>
Emacs =C2=A0: GNU Emacs 25.0.50.1 (x86_64-w64-mingw32)
= =C2=A0of 2015-07-11 on KAEL
Package: Org-mode version 8.3.1 (8.3.= 1-elpa @ c:/Users/Ryan/dotfiles/.emacs.d/elpa/org-20150805/)

=
current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
(setq
=C2=A0org-export-backends '(ascii html ic= alendar latex md odt)
=C2=A0org-agenda-tags-todo-honor-ignore-opt= ions t
=C2=A0org-tab-first-hook '(org-hide-block-toggle-maybe= org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
= =C2=A0org-babel-results-keyword "results"
=C2=A0org-spe= ed-command-hook '(org-speed-command-default-hook org-babel-speed-comman= d-hook)
=C2=A0org-occur-hook '(org-first-headline-recenter)
=C2=A0org-metaup-hook '(org-babel-load-in-session-maybe)
=
=C2=A0org-confirm-shell-link-function 'yes-or-no-p
=C2= =A0org-agenda-exporter-settings '((ps-number-of-columns 1) (ps-landscap= e-mode t) (htmlize-output-type (quote cc)))
=C2=A0org-agenda-cust= om-commands '(("N" "Notes" tags "NOTE"
=C2=A0 ((org-agenda-overriding-header "Notes") (org-tags-mat= ch-list-sublevels t)))
=C2=A0("h" "Habits" tags-= todo "STYLE=3D\"habit\""
=C2=A0 ((org-agenda-ove= rriding-header "Habits")
(org-agenda-sorting-strategy (quo= te (todo-state-down effort-up category-keep))))
=C2=A0 )
<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> =C2= =A0(" " "Agenda"
=C2=A0 ((agenda "" ni= l)
= (tags "REFILE"
((org-agenda-overriding-header &= quot;Tasks to Refile")
=C2=A0(org-tags-match-list-sublevels n= il))
= )
(tags-todo "-CANCELLED/!"
((org-age= nda-overriding-header "Stuck Projects")
=C2=A0(org-agenda= -skip-function (quote bh/skip-non-stuck-projects))
=C2=A0(org-agend= a-sorting-strategy (quote (category-keep))))
)
(tags-todo &q= uot;-HOLD-CANCELLED/!"
((org-agenda-overriding-header "P= rojects")
=C2=A0(org-agenda-skip-function (quote bh/skip-non-p= rojects))
=C2=A0(org-tags-match-list-sublevels (quote indented))
=C2=A0(org-agenda-sorting-strategy (quote (category-keep))))
= )
= (tags-todo "-CANCELLED/!NEXT"
((org-agenda-overr= iding-header
=C2=A0 (concat "Project Next Tasks"
= (if bh/hide-scheduled-and-waiting-next-tasks ""
" (= including WAITING and SCHEDULED tasks)")
)
=C2=A0 )
=C2=A0(org-agenda-skip-function (quote bh/skip-projects-and-habits-an= d-single-tasks))
=C2=A0(org-tags-match-list-sublevels t)
= = =C2=A0(org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-= tasks)
= =C2=A0(org-agenda-todo-ignore-deadlines bh/hide-scheduled-an= d-waiting-next-tasks)
=C2=A0(org-agenda-todo-ignore-with-date bh/hi= de-scheduled-and-waiting-next-tasks)
=C2=A0(org-agenda-sorting-stra= tegy (quote (todo-state-down effort-up category-keep))))
)
(= tags-todo "-REFILE-CANCELLED-WAITING-HOLD/!"
((org-agenda= -overriding-header
=C2=A0 (concat "Standalone Tasks"
(if bh/hide-scheduled-and-waiting-next-tasks ""
&quo= t; (including WAITING and SCHEDULED tasks)")
)
=C2=A0 = )
= =C2=A0(org-agenda-skip-function (quote bh/skip-project-tasks))
=C2=A0(org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting= -next-tasks)
=C2=A0(org-agenda-todo-ignore-deadlines bh/hide-schedu= led-and-waiting-next-tasks)
=C2=A0(org-agenda-todo-ignore-with-dat= e bh/hide-scheduled-and-waiting-next-tasks)
=C2=A0(org-agenda-sorti= ng-strategy (quote (category-keep))))
)
(tags-todo "-RE= FILE-CANCELLED-WAITING-HOLD/!"
((org-agenda-overriding-header<= /div>
= =C2=A0 (concat "Project Subtasks"
(if bh/hide-s= cheduled-and-waiting-next-tasks ""
" (including WAI= TING and SCHEDULED tasks)")
)
=C2=A0 )
=C2=A0(= org-agenda-skip-function (quote bh/skip-non-project-tasks))
=C2=A0(= org-agenda-todo-ignore-scheduled bh/hide-scheduled-and-waiting-next-tasks)<= /div>
= =C2=A0(org-agenda-todo-ignore-deadlines bh/hide-scheduled-and-waiti= ng-next-tasks)
=C2=A0(org-agenda-todo-ignore-with-date bh/hide-sche= duled-and-waiting-next-tasks)
=C2=A0(org-agenda-sorting-strategy (q= uote (category-keep))))
)
(tags-todo "-CANCELLED+WAITIN= G|HOLD/!"
((org-agenda-overriding-header "Waiting and Pos= tponed Tasks")
=C2=A0(org-agenda-skip-function (quote bh/skip-= stuck-projects))
=C2=A0(org-tags-match-list-sublevels nil) (org-age= nda-todo-ignore-scheduled t)
=C2=A0(org-agenda-todo-ignore-deadline= s t))
= )
(tags "-REFILE/"
((org-agenda-over= riding-header "Tasks to Archive")
=C2=A0(org-agenda-skip-= function (quote bh/skip-non-archivable-tasks))
=C2=A0(org-tags-matc= h-list-sublevels nil))
)
)
=C2=A0 nil)
=C2=A0)=
=C2=A0org-return-follows-link t
=C2=A0org-default-note= s-file "~/Dropbox/org/inbox.org"=
=C2=A0org-todo-keyword-faces '(("TODO" :foreground= "tomato" :weight bold)
=C2=A0("NEXT" :foreground= "deep sky blue" :weight bold)
=C2=A0("DONE" :for= eground "medium spring green" :weight bold)
=C2=A0("WA= ITING" :foreground "orange" :weight bold) ("HOLD" = :foreground "magenta" :weight bold)
=C2=A0("CANCELLED&= quot; :foreground "medium spring green" :weight bold)
<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> =C2= =A0("MEETING" :foreground "medium spring green" :weight= bold)
= =C2=A0("PHONE" :foreground "medium spring green= " :weight bold))
=C2=A0org-after-todo-state-change-hook '= ;(org-clock-out-if-current)
=C2=A0org-from-is-user-regexp nil
=C2=A0org-src-mode-hook '(org-src-babel-configure-edit-buffer or= g-src-mode-configure-edit-buffer)
=C2=A0org-agenda-before-write-h= ook '(org-agenda-add-entry-text)
=C2=A0org-babel-pre-tangle-h= ook '(save-buffer)
=C2=A0org-agenda-dim-blocked-tasks nil
=C2=A0org-mode-hook '(evil-org-mode
#[nil "\300\301\302= \303\304$\207"
=C2=A0 [org-add-hook change-major-mode-hook org-sho= w-block-all append local] 5]
#[nil "\300\301\302\303\304$\207"= ;
=C2=A0 [org-add-hook change-major-mode-hook org-babel-show-result-all= append local] 5]
org-babel-result-hide-spec org-babel-hide-all-hashes)=
=C2=A0org-refile-targets '((nil :maxlevel . 9) (org-agenda-f= iles :maxlevel . 9))
=C2=A0org-outline-path-complete-in-steps nil=
=C2=A0org-todo-state-tags-triggers '(("CANCELLED" = ("CANCELLED" . t)) ("WAITING" ("WAITING" . t)= )
= ("HOLD" ("WAITING") ("HOLD" . t)) (&= quot;TODO" ("WAITING") ("CANCELLED") ("HOLD&q= uot;))
= ("NEXT" ("WAITING") ("CANCELLED"= ;) ("HOLD"))
("DONE" ("WAITING") (&quo= t;CANCELLED") ("HOLD")))
=C2=A0org-stuck-projects = '("" nil nil "")
=C2=A0org-archive-hook &= #39;(org-attach-archive-delete-maybe)
=C2=A0org-agenda-compact-bl= ocks t
=C2=A0org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point= org-babel-execute-safely-maybe)
=C2=A0org-refile-use-outline-pat= h t
=C2=A0org-directory "~/Dropbox/org"
=C2= =A0org-insert-mode-line-in-empty-file t
=C2=A0org-cycle-hook '= ;(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-em= pty-lines
=C2=A0org-optimize-window-after-visibility-change)
= =C2=A0org-refile-allow-creating-parent-nodes 'confirm
=C2=A0o= rg-todo-keywords '((sequence "TODO(t)" "NEXT(n)" &q= uot;|" "DONE(d)")
(sequence "WAITING(w@/!)" &= quot;HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE= " "MEETING"))
=C2=A0org-modules '(org-bbdb org= -bibtex org-habit org-irc)
=C2=A0org-fast-tag-selection-single-ke= y 'expert
=C2=A0org-babel-tangle-lang-exts '(("latex= " . "tex") ("emacs-lisp" . "el") ("= elisp" . "el"))
=C2=A0org-confirm-elisp-link-funct= ion 'yes-or-no-p
=C2=A0org-metadown-hook '(org-babel-pop-= to-session-maybe)
=C2=A0org-babel-after-execute-hook '(bh/dis= play-inline-images)
=C2=A0org-completion-use-ido t
=C2= =A0org-indirect-buffer-display 'current-window
=C2=A0org-babe= l-load-languages '((emacs-lisp . t) (latex . t) (R . t) (dot . t) (pyth= on . t) (org . t))
=C2=A0org-habit-graph-column 50
=C2= =A0org-agenda-mode-hook '(hl-line-mode)
=C2=A0org-agenda-file= s '("~/Dropbox/org")
=C2=A0org-clock-out-hook '= (org-clock-remove-empty-clock-drawer bh/remove-empty-drawer-on-clock-out)
=C2=A0org-refile-target-verify-function 'bh/verify-refile-targ= et
=C2=A0org-tag-alist '((:startgroup) ("@errand" .= 101) ("@office" . 111) ("@home" . 104) (:endgroup) (&q= uot;WAITING" . 87)
("HOLD" . 72) ("PERSONAL" .= 112) ("WORK" . 119) ("ORG" . 79) ("NOTE" . 1= 10) ("CANCELLED" . 99)
("FLAGGED" . 63))
= =C2=A0)


--001a11395b9652b8d1051cb9a215--