[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2
From: |
Olaf Dietsche |
Subject: |
Re: [O] "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2 |
Date: |
Wed, 30 Nov 2011 21:33:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Steinar Bang <address@hidden> writes:
>>>>>> Steinar Bang <address@hidden>:
>>>>>> Olaf Dietsche <address@hidden>:
>>> [snip!]
>>>> You can also set org-clock-into-drawer to a string (e.g. "CLOCKS"),
>>>> then this string is used instead of "LOGBOOK".
>
>> Actually I tried doing it, but since the variable wasn't available, I
>> thought I needed a newer version of org-mode, than the one that comes
>> with emacs 23.
>
>> But it turns out that I just needed to load-library `org-clock' before
>> I could customize the variable, and then set to to "CLOCKS" (without
>> the quotes).
>
> And when clocking in on an item, a ":CLOCKS:" drawer is created under
> that item.
>
> However the "CLOCKS" drawer doesn't behave like a real drawer on emacs
> 23.2 on Windows:
> - The ":CLOCKS:..." string is plain black, and not the purple of the
> :LOGBOOK: drawer (and presumably other drawers)
> - Pressing `TAB' doesn't open and close the drawer
> - Closing and reopening the item, shows the contents of the drawer, but
> the drawer can't be collapsed with `TAB'
>
> I tried installing org-mode 7.7 on the machine, but the "CLOCKS"
> behaviour was the same there.
>
> Anyone have any idea how to fix this?
Unfortunately, back then I suggested the name CLOCKS. But the default
clocks drawer name is CLOCK without the S.
So, you can either use "CLOCK" instead of "CLOCKS"
(custom-set-variables
'(org-clock-into-drawer "CLOCK"))
or as Bernt and Achim already suggested, you can
(add-to-list 'org-drawers "CLOCKS")
Regards, Olaf