* Bug: org-dblock-update expects function calendar-absolute-from-iso, which no longer exists
@ 2015-01-12 8:56 Christoph LANGE
2015-01-12 11:10 ` Marco Wahl
0 siblings, 1 reply; 3+ messages in thread
From: Christoph LANGE @ 2015-01-12 8:56 UTC (permalink / raw
To: emacs-orgmode@gnu.org
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: org-dblock-update expects function calendar-absolute-from-iso, which no longer exists
2015-01-12 8:56 Bug: org-dblock-update expects function calendar-absolute-from-iso, which no longer exists Christoph LANGE
@ 2015-01-12 11:10 ` Marco Wahl
2015-01-12 12:26 ` Marco Wahl
0 siblings, 1 reply; 3+ messages in thread
From: Marco Wahl @ 2015-01-12 11:10 UTC (permalink / raw
To: emacs-orgmode
Christoph LANGE <math.semantic.web@gmail.com> writes:
> 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)
Thanks for your report and the workaround.
I had a similar issue some days ago. The reson for these issues is that
the Emacs guys finally dropped some functions in the calendar which have
been marked obsolete for a long time.
I try to fix the concrete issue immediately.
If I find time I try to fix all similar issues.
Best regards, Marco
--
http://www.wahlzone.de
GPG: 0x49010A040A3AE6F2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: org-dblock-update expects function calendar-absolute-from-iso, which no longer exists
2015-01-12 11:10 ` Marco Wahl
@ 2015-01-12 12:26 ` Marco Wahl
0 siblings, 0 replies; 3+ messages in thread
From: Marco Wahl @ 2015-01-12 12:26 UTC (permalink / raw
To: emacs-orgmode
Marco Wahl <marcowahlsoft@gmail.com> writes:
> Christoph LANGE <math.semantic.web@gmail.com> writes:
>>[...]
>> The following workaround helps:
>>
>> (defalias 'calendar-absolute-from-iso 'calendar-iso-to-absolute)
> [...]
>
> I try to fix the concrete issue immediately.
Fixed, I think. The workaround should be not necessary any more for the
current head version.
Ciao
--
http://www.wahlzone.de
GPG: 0x49010A040A3AE6F2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-12 12:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-12 8:56 Bug: org-dblock-update expects function calendar-absolute-from-iso, which no longer exists Christoph LANGE
2015-01-12 11:10 ` Marco Wahl
2015-01-12 12:26 ` Marco Wahl
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.