[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: org-dblock-update expects function calendar-absolute-from-iso,
From: |
Christoph LANGE |
Subject: |
[O] Bug: org-dblock-update expects function calendar-absolute-from-iso, which no longer exists |
Date: |
Mon, 12 Jan 2015 09:56:57 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
Hi all,
I'm using clocktables to compute my working hours per calendar week,
e.g.
#+NAME: T2014-W50
#+BEGIN: clocktable :block 2014-W50 :maxlevel 0 :scope ("default.org")
:indent
#+CAPTION: Clock summary at [2015-01-12 Mon 09:47], for week 2014-W50.
| File | Headline | Time |
|-------------+------------------+---------|
| | ALL *Total time* | *47:28* |
|-------------+------------------+---------|
| default.org | *File time* | *47:28* |
#+END:
For a while I haven't been able to run org-dblock-update on these tables
because the clocktable code calls the calendar-absolute-from-iso
function, which seems to have been abolished in preparation of Emacs 25.
The following workaround helps:
(defalias 'calendar-absolute-from-iso 'calendar-iso-to-absolute)
Cheers,
Christoph
------------------------------------------------------------------------
Emacs : GNU Emacs 25.0.50.1 (x86_64-w64-mingw32)
of 2014-11-20 on KAEL
Package: Org-mode version 8.2.10 (8.2.10-29-g89a0ac-elpaplus @
c:/Users/clange/.emacs.d/elpa/org-plus-contrib-20150105/)
current state:
==============
(setq
org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe
org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-contacts-files '("...")
org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
org-time-clocksum-format '(:hours "%d" :require-hours t :minutes
":%02d" :require-minutes t)
org-clock-history-length 20
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-clock-into-drawer 2
org-confirm-shell-link-function 'yes-or-no-p
org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id
org-finalize-agenda-hook '(bh/org-agenda-to-appt)
org-clock-idle-time 10
org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default)
("\\.x?html?\\'" . "firefox %s")
("\\.pdf\\'" . "okular %s"))
org-pretty-entities t
org-agenda-custom-commands '(("h" "Work todos" tags-todo
"-personal-doat={.+}-dowith={.+}/!-TASK"
((org-agenda-todo-ignore-scheduled t)))
("H" "All work todos" tags-todo
"-personal/!-TASK-MAYBE"
((org-agenda-todo-ignore-scheduled nil)))
("A" "Work todos with doat or dowith"
tags-todo
"-personal+doat={.+}|dowith={.+}/!-TASK"
((org-agenda-todo-ignore-scheduled nil)))
("j" "TODO dowith and TASK with"
((org-sec-with-view "TODO dowith")
(org-sec-where-view "TODO doat")
(org-sec-assigned-with-view "TASK with")
(org-sec-stuck-with-view "STUCK with"))
)
("J" "Interactive TODO dowith and TASK with"
((org-sec-who-view "TODO dowith")))
)
org-default-notes-file "..."
org-todo-keyword-faces '(("TODO" :foreground "DarkOrange1" :weight bold)
("MAYBE" :foreground "sea green")
("DONE" :foreground "light sea green")
("CANCELLED" :foreground "forest green")
("TASK" :foreground "blue"))
org-capture-templates '(("c" "Contacts" entry (file (\,
my-org-contacts-file))
"* \n :PROPERTIES:\n :CUSTOM_ID: \n :END:")
)
org-agenda-include-diary t
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-mode-hook '(org-mode-reftex-setup org-clock-load
#[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-goto-auto-isearch nil
org-stuck-projects '("+prj/-MAYBE-DONE" ("TODO" "TASK") nil)
org-use-speed-commands t
org-clock-persist 'history
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
org-directory "..."
org-enforce-todo-dependencies t
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-hide-inline-tasks org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-tags-exclude-from-inheritance '("prj")
org-agenda-finalize-hook '(bh/org-agenda-to-appt)
org-enforce-todo-checkbox-dependencies t
org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info
org-jsinfo org-habit
org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m)
org-confirm-elisp-link-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-log-into-drawer t
org-blocker-hook '(org-block-todo-from-checkboxes
org-block-todo-from-children-or-siblings-or-parent)
org-completion-use-ido t
org-babel-load-languages '((sh . t))
org-agenda-files '("..."
"...")
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-clock-out-remove-zero-time-clocks t
)
--
Christoph Lange, Enterprise Information Systems Department
Applied Computer Science @ University of Bonn; Fraunhofer IAIS
http://langec.wordpress.com/about, Skype duke4701
→ WDAqua (Answering Questions using Web Data) Marie Skłodowska-Curie
Intl. Training Network (ITN) seeking 15 highly skilled PhD candidates.
Apply by February: http://www.iai.uni-bonn.de/~langec/wdaqua/
- [O] Bug: org-dblock-update expects function calendar-absolute-from-iso, which no longer exists,
Christoph LANGE <=