From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org asks questions about open clocks Date: Tue, 3 Nov 2009 18:03:18 +0100 Message-ID: References: <20091103101216.GA18178@taupan.ath.cx> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5NSz-0004AG-GI for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 12:46:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5NSu-00044L-Fp for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 12:46:48 -0500 Received: from [199.232.76.173] (port=45094 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5NSu-000441-9C for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 12:46:44 -0500 Received: from mail-ew0-f228.google.com ([209.85.219.228]:64135) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5NSt-0000iu-T3 for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 12:46:44 -0500 Received: by mail-ew0-f228.google.com with SMTP id 28so3815036ewy.42 for ; Tue, 03 Nov 2009 09:46:43 -0800 (PST) In-Reply-To: <20091103101216.GA18178@taupan.ath.cx> 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: friedel@nomaden.org Cc: Emacs-orgmode mailing list 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