emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] agenda column view and CLOCKSUM


From: Makmiller Pedroso
Subject: Re: [O] agenda column view and CLOCKSUM
Date: Sat, 2 Apr 2016 10:11:23 -0400

Hello, 

I am using Org-mode version 8.3beta (release_8.3beta-422-gb54ad3). 

I tried to create a minimal example in which the CLOCKSUMs do not get updated. It seems that the CLOCKSUM_T is the one that is not getting updated (unless if I run the column view in the agenda file before I run the agenda dispatcher). I'm not sure if this is expected behavior.

Here is the example I used. I ran 

emacs -q -l /tmp/example.el

where "example.el" contains

--------------------------------------------------------------------------
(setq org-columns-default-format "%1PRIORITY %5TODO %20ITEM(Task) %10SCHEDULED %10Effort(Effort){:} %10CLOCKSUM_T %10CLOCKSUM %TAGS")

(setq org-agenda-custom-commands
      '(("h" "Things to do today"
((tags "@Today")
 (agenda "" ((org-agenda-ndays 1)
     (org-agenda-show-all-dates nil)))))))

(setq org-agenda-files (list "/tmp/agenda.org"))
-------------------------------------------------------------------------

and the agenda.org contains

-------------------------------------------------------------------------------------------
** TODO Eat cookies     :@Today:
   :LOGBOOK:
   CLOCK: [2016-04-02 Sat 07:26]--[2016-04-02 Sat 09:26] =>  2:00
   :END:

** TODO Eat more cookies     :@Today:
   :LOGBOOK:
   CLOCK: [2016-04-02 Sat 07:26]--[2016-04-02 Sat 11:26] =>  4:00
   :END:
--------------------------------------------------------------------------------------------


If I first run the column view after using the agenda dispatcher (i.e., M-x "org-agenda" "h" "C-c C-x C-c"), the CLOCKSUM_T does not get updated. However, if I run the column view on agenda.org before I run the dispatcher, CLOCKSUM_T gets updated.

Cheers,
Mak

On Sat, Apr 2, 2016 at 4:51 AM, Nicolas Goaziou <address@hidden> wrote:
Hello,

Makmiller Pedroso <address@hidden> writes:

> The agenda column view only updates the value of CLOCKSUM after I run
> column view in each one of my agenda files individually. Is this the
> expected behavior? If it is, do you have any suggestions of how I can
> update the value of CLOCKSUM when using the agenda column view without
> having to visit each agenda file individually?
>
> My column view uses the following format:
>
> (setq org-columns-default-format "%1PRIORITY %5TODO %20ITEM(Task)
> %10SCHEDULED %10CLOCKSUM_T %10CLOCKSUM %10Effort(Effort) %TAGS")
>
> My agenda view uses a custom dispatcher:
>
> (setq org-agenda-custom-commands
>       '(("h" "Things to do today"
> ((tags "@Today")
>  (agenda "" ((org-agenda-ndays 1)
>      (org-agenda-show-all-dates nil)))))))

What Org version are you using? If it isn't the latest, could you report
if this one has the same issue?

Regards,

--
Nicolas Goaziou


reply via email to

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