Re: [O] Bug: org-dblock-update expects function calendar-absolute-from-iso, which no longer exists

2015-01-12 Thread Marco Wahl
Marco Wahl  writes:

> Christoph LANGE  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




Re: [O] Bug: org-dblock-update expects function calendar-absolute-from-iso, which no longer exists

2015-01-12 Thread Marco Wahl
Christoph LANGE  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




[O] Bug: org-dblock-update expects function calendar-absolute-from-iso, which no longer exists

2015-01-12 Thread Christoph LANGE

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-