[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Conditional summing in column-mode?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Conditional summing in column-mode? |
Date: |
Fri, 25 Aug 2017 09:55:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Stig Brautaset <address@hidden> writes:
> I have the following column-mode defined in =~/org/Holidays.org=:
>
> #+BEGIN_SRC org
> ,#+COLUMNS: %TIMESTAMP(When) %ITEM(What) %CONFIRMED(Confirmed?){X/}
> %DAYS(Days){+}
> ,#+Confirmed_ALL: "[ ]" "[X]"
> ,#+TODO: TODO | DONE CANCELLED
> #+END_SRC
>
> Is it possible to have the =%DAYS(Days){+}= part only sum up rows that
> have an =[X]= in their =Confirmed?= property?
Not out of the box. But you could write a function creating and updating
another property, e.g., CHECKED_DAYS and have columns view display this
instead.
Regards,
--
Nicolas Goaziou