emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Joe Corneli <holtzermann17@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-table debugging formula - error
Date: Thu, 11 Oct 2018 19:07:27 +0200	[thread overview]
Message-ID: <878t349zu8.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <m28t34ikuh.fsf@dhcp-90-218.inf.ed.ac.uk> (Joe Corneli's message of "Thu, 11 Oct 2018 16:06:30 +0100")

Hello,

Joe Corneli <holtzermann17@gmail.com> 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	other threads:[~2018-10-11 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-11 15:06 org-table debugging formula - error Joe Corneli
2018-10-11 17:07 ` Nicolas Goaziou [this message]
2018-10-12 13:21   ` Joe Corneli

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=878t349zu8.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=holtzermann17@gmail.com \
    /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).