emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Olaf Dietsche <olaf+list.orgmode@olafdietsche.de>
To: emacs-orgmode@gnu.org
Subject: Re: "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2
Date: Wed, 30 Nov 2011 21:33:11 +0100	[thread overview]
Message-ID: <878vmx9wqg.fsf@rat.lan> (raw)
In-Reply-To: yb0vcq1hk7k.fsf_-_@dod.no

Steinar Bang <sb@dod.no> writes:

>>>>>> Steinar Bang <sb@dod.no>:
>>>>>> Olaf Dietsche <olaf+list.orgmode@olafdietsche.de>:
>>> [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

  parent reply	other threads:[~2011-11-30 20:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16 20:01 Collapsing tracked time? Steinar Bang
2011-09-16 20:21 ` Stuart Hickinbottom
2011-09-17  8:36   ` Steinar Bang
2011-09-17 11:11     ` Olaf Dietsche
2011-09-17 20:03       ` Steinar Bang
2011-11-25 20:55         ` Steinar Bang
2011-11-30 12:24           ` "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2 (Was: Collapsing tracked time?) Steinar Bang
2011-11-30 17:26             ` "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2 Bernt Hansen
2011-11-30 17:35             ` Achim Gratz
2011-11-30 20:33             ` Olaf Dietsche [this message]
2011-11-30 22:43               ` Steinar Bang
2011-09-17 11:27     ` Collapsing tracked time? Achim Gratz
2011-09-17 20:05       ` Steinar Bang

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=878vmx9wqg.fsf@rat.lan \
    --to=olaf+list.orgmode@olafdietsche.de \
    --cc=emacs-orgmode@gnu.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).