Re: [O] "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2

2011-11-30 Thread Steinar Bang
> Olaf Dietsche :

> Unfortunately, back then I suggested the name CLOCKS. But the default
> clocks drawer name is CLOCK without the S.

Ah, ok! :-)

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

I think I'll go for the simple solution and use "CLOCK".

I just want something other than LOGBOOK, since I use LOGBOOK to take
notes.

Thanks (to all).


- Steinar




Re: [O] "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2

2011-11-30 Thread Olaf Dietsche
Steinar Bang  writes:

>> Steinar Bang :
>> Olaf Dietsche :
>>> [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



Re: [O] "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2

2011-11-30 Thread Achim Gratz
Steinar Bang  writes:
> And when clocking in on an item, a ":CLOCKS:" drawer is created under
> that item.

By default it would clock into LOGBOOK.  If you define a CLOCKS drawer,
then you need to make that known to org-mode as a valid drawer (either
globally with org-drawers or file-local with a #+DRAWERS: line).


HTH,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra




Re: [O] "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2

2011-11-30 Thread Bernt Hansen
Steinar Bang  writes:

>> Steinar Bang :
>> Olaf Dietsche :
>>> [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?

Maybe add CLOCKS to the org-drawers variable?

Regards,
Bernt



[O] "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2 (Was: Collapsing tracked time?)

2011-11-30 Thread Steinar Bang
> Steinar Bang :
> Olaf Dietsche :
>> [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?

Thanks!


- Steinar