From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: BUG: Clocking deeply nested tasks Date: Wed, 27 Feb 2008 19:09:07 -0500 Message-ID: <87y7960wnw.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUWKp-0002I9-0f for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 19:09:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUWKn-0002HM-5A for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 19:09:14 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUWKm-0002HE-VY for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 19:09:13 -0500 Received: from mho-02-bos.mailhop.org ([63.208.196.179]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JUWKm-0008Vj-M7 for emacs-orgmode@gnu.org; Wed, 27 Feb 2008 19:09:12 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Org Mode Mailing List Hi Carsten, I ran into another bug a few minutes ago. ,----[ test.org ] | #+STARTUP: odd | * Task1 | *** Task2 | ***** Task3 | ******* Task4 | ********* Task5 | *********** Task6 | :CLOCK: | CLOCK: [2008-02-27 Wed 14:30]--[2008-02-27 Wed 14:44] => 0:14 | :END: `---- ,----[ minimal.emacs ] | (setq org-use-fast-todo-selection t) | (setq inhibit-splash-screen t) | (global-font-lock-mode t) | (add-to-list 'load-path (expand-file-name "~/git/org-mode")) | (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) | (require 'org-install) | (define-key global-map "\C-ca" 'org-agenda) | (custom-set-variables | '(org-agenda-files (quote ("~/org/test.org")))) `---- Key strokes: | Key | Notes | |------------------------+-------------------------| | C-x C-f ~/org/test.org | Open org file | | C-c C-a | Expand everything | | C-c C-x C-d | Clock summaries by task | This gives the error org-put-clock-overlay: Wrong type argument: wholenump, -1 If I use odd even levels I can get many more nested levels before triggering this problem so it seems to be related to the number of stars in the tasks. With #+STARTUP: oddeven it works for ********* TaskN (9 stars) but ********** Task N (10 stars) fails. Regards, Bernt