emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-table debugging formula - error


From: Joe Corneli
Subject: Re: [O] org-table debugging formula - error
Date: Fri, 12 Oct 2018 14:21:26 +0100

Hi, I couldn't reproduce it with emacs -Q and a freshly built version of org source code.    At some point (make-string (car ev) ?\-) on line 2956 of org-table.el was being called with an argument that was a non-integer-formatted value, namely 570.0.

But since I can't reproduce it at all now this is presumably an entirely transient issue!

On Thu, Oct 11, 2018 at 6:07 PM Nicolas Goaziou <address@hidden> wrote:
Hello,

Joe Corneli <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]