emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* agenda column view and CLOCKSUM
@ 2016-03-24 21:50 Makmiller Pedroso
  2016-04-02  8:51 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Makmiller Pedroso @ 2016-03-24 21:50 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

Dear all,

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)))))))

Thanks!
mak

[-- Attachment #2: Type: text/html, Size: 1212 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: agenda column view and CLOCKSUM
  2016-03-24 21:50 agenda column view and CLOCKSUM Makmiller Pedroso
@ 2016-04-02  8:51 ` Nicolas Goaziou
  2016-04-02 14:11   ` Makmiller Pedroso
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2016-04-02  8:51 UTC (permalink / raw)
  To: Makmiller Pedroso; +Cc: emacs-orgmode

Hello,

Makmiller Pedroso <makmiller@gmail.com> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: agenda column view and CLOCKSUM
  2016-04-02  8:51 ` Nicolas Goaziou
@ 2016-04-02 14:11   ` Makmiller Pedroso
  2016-04-06  8:56     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Makmiller Pedroso @ 2016-04-02 14:11 UTC (permalink / raw)
  To: Makmiller Pedroso, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2740 bytes --]

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 <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Makmiller Pedroso <makmiller@gmail.com> 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
>

[-- Attachment #2: Type: text/html, Size: 4438 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: agenda column view and CLOCKSUM
  2016-04-02 14:11   ` Makmiller Pedroso
@ 2016-04-06  8:56     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2016-04-06  8:56 UTC (permalink / raw)
  To: Makmiller Pedroso; +Cc: emacs-orgmode

Hello,

Makmiller Pedroso <makmiller@gmail.com> writes:

> 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:
> --------------------------------------------------------------------------------------------

Thank you for the ECM.

However, I don't think this issue exists in recent releases. Could you update
Org to latest development version and try again?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-06  8:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-24 21:50 agenda column view and CLOCKSUM Makmiller Pedroso
2016-04-02  8:51 ` Nicolas Goaziou
2016-04-02 14:11   ` Makmiller Pedroso
2016-04-06  8:56     ` Nicolas Goaziou

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).