From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Dietsche Subject: Re: "CLOCKS" drawer not behaving like a drawer on Windows emacs 23.2 Date: Wed, 30 Nov 2011 21:33:11 +0100 Message-ID: <878vmx9wqg.fsf@rat.lan> References: <8762ksi7dk.fsf@dod.no> <4E73AFAE.9070106@hickinbottom.com> <87pqiz8t1h.fsf@dod.no> <87sjnv8lux.fsf@rat.lan> <87fwjv9bro.fsf@dod.no> <8762i73osd.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVqqR-0006M9-IH for emacs-orgmode@gnu.org; Wed, 30 Nov 2011 15:33:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVqqL-0002eY-Hn for emacs-orgmode@gnu.org; Wed, 30 Nov 2011 15:33:31 -0500 Received: from www85.your-server.de ([213.133.104.85]:50340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVqqL-0002cz-9K for emacs-orgmode@gnu.org; Wed, 30 Nov 2011 15:33:25 -0500 Received: from [93.214.129.204] (helo=rat.lan) by www85.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1RVqqD-0005p6-CI for emacs-orgmode@gnu.org; Wed, 30 Nov 2011 21:33:17 +0100 Received: from localhost ([127.0.0.1] helo=rat.lan) by rat.lan with esmtp (Exim 4.72) (envelope-from ) id 1RVqq7-0007Pk-CX for emacs-orgmode@gnu.org; Wed, 30 Nov 2011 21:33:11 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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