From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-table debugging formula - error Date: Thu, 11 Oct 2018 19:07:27 +0200 Message-ID: <878t349zu8.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAeR2-0000pt-SJ for emacs-orgmode@gnu.org; Thu, 11 Oct 2018 13:07:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAeQz-0000BW-Iy for emacs-orgmode@gnu.org; Thu, 11 Oct 2018 13:07:40 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:42541) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAeQz-00007h-8P for emacs-orgmode@gnu.org; Thu, 11 Oct 2018 13:07:37 -0400 In-Reply-To: (Joe Corneli's message of "Thu, 11 Oct 2018 16:06:30 +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" To: Joe Corneli Cc: emacs-orgmode@gnu.org Hello, Joe Corneli writes: > Hello, > > I got an error when debugging the behaviour of a formula. > > You'll need: > > (setq org-table-formula-debug t) > > Then with any luck this should allow you to reproduce the error: C-c C-c to run formula. > > | Task | Estimated Effort | > |-----------------------+------------------| > | INTRODUCTION | 9:30 | > |-----------------------+------------------| > | BACKGROUND | | > |-----------------------+------------------| > | FOO WORKFLOW | | > |-----------------------+------------------| > | BAR WORKFLOW | | > |-----------------------+------------------| > | BAZ WORKFLOW | | > |-----------------------+------------------| > | ADDITIONAL WORKFLOWS | 1d 4h 0min | > |-----------------------+------------------| > | FINDINGS | | > |-----------------------+------------------| > | ADDITIONAL ANALYSIS | 24:00 | > |-----------------------+------------------| > | DISCUSSION | | > |-----------------------+------------------| > | BIBLIOGRAPHY | | > |-----------------------+------------------| > | Appendix: Status | | > | TOTAL WORKDAYS NEEDED | 5d 5h 30min | > > #+TBLFM: @>$2='(org-duration-from-minutes (apply '+ (map 'list 'org-duration-to-minutes (list @I+1$2 @II+1$2 @III+1$2 @IIII+1$2 @IIIII+1$2 @IIIIII+1$2 @IIIIIII+1$2 @IIIIIIII+1$2)))) > > I've attached a patch that fixes the problem for me. I cannot reproduce the problem. Could you explain why you do need this patch? Regards, -- Nicolas Goaziou