emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org asks questions about open clocks


From: Carsten Dominik
Subject: Re: [Orgmode] org asks questions about open clocks
Date: Tue, 3 Nov 2009 18:03:18 +0100


On Nov 3, 2009, at 11:12 AM, Friedrich Delgado Friedrichs wrote:

Hi!

Recently org (from git) has started asking my questions about open clocks in my tasks whenever I try to clock in on a task. While I appreciate it doing maintenance, the question whether I want to "(k)eep, (c)ancel, or
(s)ubtract" comes at a moment where it is hardwired
into my brain to press C-x C-s, which cancels the question.

(I do C-c i to clock in from buffer, or I to clock in from agenda view. The corresponding entry is then automatically logged into my diary.org file,
which I then save.)

Maybe it's my hook:

,----
;;; A small function to insert the currently active task into the
;;; current buffer, ported from planner-log
(defun org-log ()
 (interactive)
 (save-excursion
   (org-clock-goto)
   (let ((link-string (org-store-link nil)))
    (find-file tagebuch)
    (goto-char (point-max))
    (insert " - ")
    (insert link-string)
    (newline t))))

(defadvice org-clock-in (after org-log-activity)
 (org-log))
(ad-activate 'org-clock-in)
`----

The variable `tagebuch' contains the name of the logfile.

Can I simply turn off that question and call it manually from time to time?


(setq org-clock-auto-clock-resolution nil)

M-x org-resolve-clocks RET

- Carsten





reply via email to

[Prev in Thread] Current Thread [Next in Thread]