emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Friedrich Delgado Friedrichs <friedel@nomaden.org>
To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: org asks questions about open clocks
Date: Tue, 3 Nov 2009 11:12:16 +0100	[thread overview]
Message-ID: <20091103101216.GA18178@taupan.ath.cx> (raw)

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 <friedel@nomaden.org>
                             TauPan on Ircnet and Freenode ;)

             reply	other threads:[~2009-11-03 10:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-03 10:12 Friedrich Delgado Friedrichs [this message]
2009-11-03 17:03 ` org asks questions about open clocks Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091103101216.GA18178@taupan.ath.cx \
    --to=friedel@nomaden.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).