From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kai Tetzlaff Subject: Org-mode version 6.31trans; Problem with new 'away time' feature Date: Fri, 23 Oct 2009 00:32:25 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N16PE-0007tX-O4 for emacs-orgmode@gnu.org; Thu, 22 Oct 2009 18:45:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N16P9-0007qc-Si for emacs-orgmode@gnu.org; Thu, 22 Oct 2009 18:45:16 -0400 Received: from [199.232.76.173] (port=43155 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N16P9-0007qY-8u for emacs-orgmode@gnu.org; Thu, 22 Oct 2009 18:45:11 -0400 Received: from lo.gmane.org ([80.91.229.12]:36116) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N16P8-0007WP-KM for emacs-orgmode@gnu.org; Thu, 22 Oct 2009 18:45:11 -0400 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N16P3-0007YB-Gl for emacs-orgmode@gnu.org; Fri, 23 Oct 2009 00:45:05 +0200 Received: from ppp-93-104-77-169.dynamic.mnet-online.de ([93.104.77.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Oct 2009 00:45:05 +0200 Received: from kai.tetzlaff by ppp-93-104-77-169.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Oct 2009 00:45:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, since the new resolve 'away time' feature has been integrated i'm having problems when restarting emacs after exiting with a running clock. When i'm starting org-mode after the emacs restart by entering agenda mode i get the new prompt which is asking about how to deal with the unresolved clock time. I'm confirming the prompt with 'k' to keep (and clocking in again on) the previous task. I also confirm that the complete open time should be used for the current task. But then what happens is that org-mode complains that there are no unfinished clocks: 'Cannot restart clock because task does not contain unfinished clock' When i look at the corresponding clock line the previously running clock has now indeed been stopped (with a time stamp corresponding to the current time). Below is a *Message* buffer transcript of the output i get during emacs startup when i have an open clock in one of my org files. BR, Kai Press key for agenda command: OVERVIEW Restoring clock data Loading c:/kt/.org-clock-save.el (source)...done OVERVIEW CONTENTS...done Loading vc-hg...done OVERVIEW Clock stopped at [2009-10-22 Do 11:03] after HH:MM = 0:18 Cannot restart clock because task does not contain unfinished clock OVERVIEW [2 times] CONTENTS...done OVERVIEW [4 times] CONTENTS...done OVERVIEW [2 times] CONTENTS...done Rebuilding agenda buffer...done Log mode is on Saving file c:/kt/.emacs.d/org/agenda/prg_wp.org... Mark set Replaced 0 occurrences Wrote c:/kt/.emacs.d/org/agenda/prg_wp.org Rebuilding agenda buffer...done Clock stopped at [2009-10-22 Do 11:03] after HH:MM = 0:18 Clock starts at [2009-10-22 Do 11:03] - showing entire task time. Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ Emacs : GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-10-14 on LENNART-69DE564 (patched) Package: Org-mode version 6.31trans current state: ============== (setq org-empty-line-terminates-plain-lists t org-log-done 'time org-file-apps '((auto-mode . emacs) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default) (directory dired-other-frame file)) org-link-frame-setup '((vm . vm-visit-folder-other-frame) (gnus . gnus-other-frame) (file . find-file-other-frame)) org-special-ctrl-a/e 'reversed org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 4) org-agenda-files '("~/.emacs.d/org/agenda") org-clock-persist-query-resume nil org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-publish-timestamp-directory "~/.emacs.d/tmp/org-timestamps/" org-export-with-sub-superscripts '{} org-hide-leading-stars t org-after-todo-state-change-hook '(org-clock-out-if-current) org-clock-out-when-done nil org-clock-history-length 25 org-odd-levels-only t org-special-ctrl-k t org-publish-use-timestamps-flag nil org-support-shift-select t org-clock-in-resume t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tags-exclude-from-inheritance '("cmm" "cmn" "cmr") org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-clock-persist t org-agenda-before-write-hook '(org-agenda-add-entry-text) org-M-RET-may-split-line '((default . t) (headline)) org-default-notes-file "~/.emacs.d/org/notes.org" org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-publish-project-alist '(("NasTCs-org" :base-directory "~/.emacs.d/org/agenda/STF160" :base-extension "org" :exclude "\\(org\\|html\\|css\\)" :include ("index.org" "NasTestcases.org") :publishing-directory "~/NasTcOverview" :publishing-function (kt:publish-html org-publish-org-to-org) :plain-source t :htmlized-source t :link-validation-function kt:copy-and-validate-link :title "NAS Testcase Overview" :style "" :table-of-contents t :section-numbers nil :headline-levels 3 :sub-superscript nil :todo-keywords t :drawers t :tags not-in-toc :timestamps t :auto-index nil :exclude-tags ("mdesc" "limpl")) ("NasTCs-other" :base-directory "~/.emacs.d/org/agenda/STF160" :recursive t :no-timestamps t :base-extension "css\\|js" :include (".htaccess") :publishing-directory "~/NasTcOverview" :publishing-function org-publish-attachment) ("NasTCs" :components ("NasTCs-other" "NasTCs-org")) ("CMerge" :base-directory "~/.emacs.d/org/agenda/STF160" :exclude ".*" :include ("NasTestcases.org") :publishing-directory "~/NasTcMerge" :publishing-function (kt:publish-html org-publish-org-to-org) :link-validation-function kt:copy-and-validate-link :title "Merge/Align EPS-only/Combined NAS TCs" :table-of-contents nil :section-numbers nil :headline-levels 3 :sub-superscript nil :todo-keywords t :drawers ("PROPERTIES") :tags nil :timestamps nil :auto-index nil :select-tags ("cmm" "cmn" "cmr") :exclude-tags ("limpl" "tci")) ) org-replace-disputed-keys t org-mode-hook '(org-clock-load #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] ) org-clock-out-remove-zero-time-clocks t org-refile-targets '((org-agenda-files :maxlevel . 3) (nil :maxlevel . 3)) org-return-follows-link t org-confirm-elisp-link-function 'yes-or-no-p org-refile-use-outline-path 'file org-log-into-drawer t org-enforce-todo-dependencies t org-insert-heading-respect-content t org-insert-mode-line-in-empty-file t org-publish-after-export-hook '(kt:org-publish) org-occur-hook '(org-first-headline-recenter) org-yank-adjusted-subtrees t org-agenda-log-mode-items '(clock) org-remember-templates '(("Bug" 98 "* BUG %?\n %i\n %a" "agenda/bugs.org" "Bugs") ("Todo" 116 "* TODO %?\n %i\n %a" "agenda/todo.org" "Tasks") ("Testcase" 99 "* TODO-TC %?\n %i\n %a" "agenda/todo.org" "Testcase Issues") ("Note" 110 "* %U %?\n\n %i\n %a" "agenda/notes.org" "Notes") ("Idea" 105 "* %^{Title}\n %i\n %a" "agenda/journal.org" "New Ideas")) org-clock-persist-file "~/.org-clock-save.el" )