emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Cecil Westerhof <CecilWesterhof@xs4all.nl>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Re: I do not understand this error
Date: Thu, 12 Jul 2007 09:19:16 +0200	[thread overview]
Message-ID: <1184224756.6283.204.camel@Barebusta.DecebalComp> (raw)
In-Reply-To: <1184222066.6283.191.camel@Barebusta.DecebalComp>

I have been experimenting a little bit more. I now have the following
table:
        |---+------------+---------------+---------------+-----------------------+----------+-------|
        |   |       date | previous date | prev  at once | prev with dummy field | row date | dagen |
        |---+------------+---------------+---------------+-----------------------+----------+-------|
        | # |            |               | filled        | empty                 | EMPTY    |       |
        | # | 2007-07-09 |               | filled        | empty                 | FILLED   |    -3 |
        | # | 2007-09-11 |    2007-07-09 | filled        | filled                | FILLED   |    64 |
        | # |            |    2007-09-11 | filled        | filled                | EMPTY    |       |
        | # | 2006-12-31 |               | filled        | empty                 | FILLED   |  -193 |
        |---+------------+---------------+---------------+-----------------------+----------+-------|
        #+TBLFM: $3='(concat @-1$2);S::$4='(if (not (equal (concat @-1$2) "")) "filled" "empty")::$5='(if (not (equal (concat $3   ) "")) "filled" "empty")::$6='(if (not (equal (concat $2   ) "")) "filled" "empty")::$7='(if (and (not (check-if-after-hline)) (not (equal @-1$2 "")) (not (equal $2 ""))) (-  (time-to-days (org-read-date t t (concat $2))) (time-to-days (org-read-date t t (concat @-1$2)))) "");S
        

When checking for the previous date at once you always get filled. If
the previous date is copied to a field and this field is checked, you
get the expected value.
What is happening here?

Also why is in the column 'row date' everything in caps?

-- 
Cecil Westerhof <CecilWesterhof@xs4all.nl>

  reply	other threads:[~2007-07-12  7:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-12  6:07 I do not understand this error Cecil Westerhof
2007-07-12  6:34 ` Cecil Westerhof
2007-07-12  7:19   ` Cecil Westerhof [this message]
2007-07-13  4:38     ` Carsten Dominik

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=1184224756.6283.204.camel@Barebusta.DecebalComp \
    --to=cecilwesterhof@xs4all.nl \
    --cc=emacs-orgmode@gnu.org \
    /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).