From mboxrd@z Thu Jan 1 00:00:00 1970 From: Friedrich Delgado Friedrichs Subject: org asks questions about open clocks Date: Tue, 3 Nov 2009 11:12:16 +0100 Message-ID: <20091103101216.GA18178@taupan.ath.cx> Reply-To: friedel@nomaden.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5GNH-0007gw-70 for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 05:12:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5GNC-0007dH-4n for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 05:12:26 -0500 Received: from [199.232.76.173] (port=39996 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5GNB-0007d0-UX for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 05:12:21 -0500 Received: from dudelab.org ([212.12.33.202]:19737 helo=mail.dudelab.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5GNB-0000n3-Iv for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 05:12:21 -0500 Received: from abrasax.taupan.ath.cx (p5DE8A644.dip.t-dialin.net [93.232.166.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Friedrich Delgado Friedrichs", Issuer "User CA" (verified OK)) by mail.dudelab.org (Postfix) with ESMTP id 68126228148 for ; Tue, 3 Nov 2009 11:12:40 +0100 (CET) Content-Disposition: inline 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 mailing list 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? -- Friedrich Delgado Friedrichs TauPan on Ircnet and Freenode ;)