[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Bug in clocking in: the list becomes corrupted by the CLOC
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: Bug in clocking in: the list becomes corrupted by the CLOCK drawer |
Date: |
Wed, 11 Feb 2009 10:27:06 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Bernt Hansen <address@hidden> writes:
> Carsten Dominik <address@hidden> writes:
>
>> Here are your options:
>>
>> 1. Leave an empty line after the heading, before you list
>>
>> 2. The most robust may be to use
>>
>> (setq org-clock-into-drawer t)
>>
>> which will create the drawer immediately, already for
>> the first clock entry.
>
> Hi Carsten,
>
> I'll change my setting from 2 to this as well.
>
> I tried using the customize interface to set this to 't' and it
> complains that it is expecting an integer. So I set it to 1 which I
> assume means the same as t in this case (I didn't check the code to
> prove that though).
Okay that doesn't work for me
I have the following setup for clocking phone calls which are started by
a remember template with :CLOCK-IN: in the text of the template
,----[ .emacs ]
| (add-hook 'remember-mode-hook 'my-start-clock-if-needed 'append)
|
| (defun my-start-clock-if-needed ()
| (save-excursion
| (goto-char (point-min))
| (when (re-search-forward " *:CLOCK-IN: *" nil t)
| (replace-match "")
| (org-clock-in))))
|
`----
That breaks with org-clock-into-drawer set to 1 with the following error
,----
| org-clock-find-position: Wrong type argument: integer-or-marker-p, nil
`----
I don't have time to dig into this more right now so I've just reverted
back to the default for this variable.
-Bernt
- Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOCK drawer, (continued)
- Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOCK drawer, Carsten Dominik, 2009/02/11
- Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOCK drawer, Daniel Clemente, 2009/02/11
- Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOCK drawer, Carsten Dominik, 2009/02/11
- Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOCK drawer, Manish, 2009/02/11
- Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOCK drawer, Daniel Clemente, 2009/02/11
- Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOCK drawer, Carsten Dominik, 2009/02/11
- Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOCK drawer, Daniel Clemente, 2009/02/12
[Orgmode] Re: Bug in clocking in: the list becomes corrupted by the CLOCK drawer, Bernt Hansen, 2009/02/11
[Orgmode] Re: Bug in clocking in: the list becomes corrupted by the CLOCK drawer,
Bernt Hansen <=