emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org asks questions about open clocks
@ 2009-11-03 10:12 Friedrich Delgado Friedrichs
  2009-11-03 17:03 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Friedrich Delgado Friedrichs @ 2009-11-03 10:12 UTC (permalink / raw)
  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 <friedel@nomaden.org>
                             TauPan on Ircnet and Freenode ;)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org asks questions about open clocks
  2009-11-03 10:12 org asks questions about open clocks Friedrich Delgado Friedrichs
@ 2009-11-03 17:03 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-11-03 17:03 UTC (permalink / raw)
  To: friedel; +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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-03 17:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-03 10:12 org asks questions about open clocks Friedrich Delgado Friedrichs
2009-11-03 17:03 ` Carsten Dominik

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).