emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: friedel@nomaden.org
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org asks questions about open clocks
Date: Tue, 3 Nov 2009 18:03:18 +0100	[thread overview]
Message-ID: <B5FFCB43-23C2-4704-A543-4F3132DEFCF8@gmail.com> (raw)
In-Reply-To: <20091103101216.GA18178@taupan.ath.cx>


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	other threads:[~2009-11-03 17:46 UTC|newest]

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

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=B5FFCB43-23C2-4704-A543-4F3132DEFCF8@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=friedel@nomaden.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).