From mboxrd@z Thu Jan 1 00:00:00 1970 From: Makmiller Pedroso Subject: Re: agenda column view and CLOCKSUM Date: Sat, 2 Apr 2016 10:11:23 -0400 Message-ID: References: <87mvpcs8ax.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11431e1c32f835052f81136d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amMHB-0003dt-BD for emacs-orgmode@gnu.org; Sat, 02 Apr 2016 10:11:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amMH9-00005D-Nz for emacs-orgmode@gnu.org; Sat, 02 Apr 2016 10:11:45 -0400 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:36439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amMH9-000058-IJ for emacs-orgmode@gnu.org; Sat, 02 Apr 2016 10:11:43 -0400 Received: by mail-qg0-x230.google.com with SMTP id f52so21370801qga.3 for ; Sat, 02 Apr 2016 07:11:43 -0700 (PDT) In-Reply-To: <87mvpcs8ax.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Makmiller Pedroso , emacs-orgmode@gnu.org --001a11431e1c32f835052f81136d Content-Type: text/plain; charset=UTF-8 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 wrote: > Hello, > > Makmiller Pedroso 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 > --001a11431e1c32f835052f81136d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,=C2=A0

I am using Org-mode versio= n 8.3beta (release_8.3beta-422-gb54ad3).=C2=A0

I t= ried 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 (unles= s if I run the column view in the agenda file before I run the agenda dispa= tcher). I'm not sure if this is expected behavior.

=
Here is the example I used. I ran=C2=A0

emacs= -q -l /tmp/example.el

where "example.el"= ; contains

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

(setq= org-agenda-custom-commands
=C2=A0 =C2=A0 =C2=A0 '(("h&q= uot; "Things to do today"
((tags "@Today")
=C2=A0(agenda "" ((org-agend= a-ndays 1)
= =C2=A0 =C2=A0 =C2=A0(org-agenda-show-all-dates nil)))))))

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

and the <= a href=3D"http://agenda.org">agenda.org contains

------------------------------------------------------------------------= -------------------
** TODO Eat cookies =C2=A0 =C2=A0 :@Today:
=C2=A0= =C2=A0:LOGBOOK:
=C2=A0 =C2=A0CLOCK: [2016-04-02 Sat 07:26]--[201= 6-04-02 Sat 09:26] =3D> =C2=A02:00
=C2=A0 =C2=A0:END:

** TODO Eat more cookies =C2=A0 =C2=A0 :@Today:
=C2=A0 =C2=A0:LOGBO= OK:
=C2=A0 =C2=A0CLOCK: [2016-04-02 Sat 07:26]--[2016-04-02 Sat 1= 1:26] =3D> =C2=A04:00
=C2=A0 =C2=A0:END:
-----= ---------------------------------------------------------------------------= ------------


If I first run th= e 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 Goa= ziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Makmiller Pedroso <makmiller@gmai= l.com> writes:

> The agenda column view only updates the value of CLOCKSUM after I run<= br> > 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<= br> > 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")<= br> >
> My agenda view uses a custom dispatcher:
>
> (setq org-agenda-custom-commands
>=C2=A0 =C2=A0 =C2=A0 =C2=A0'(("h" "Things to do toda= y"
> ((tags "@Today")
>=C2=A0 (agenda "" ((org-agenda-ndays 1)
>=C2=A0 =C2=A0 =C2=A0 (org-agenda-show-all-dates nil)))))))

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

Regards,

--
Nicolas Goaziou

--001a11431e1c32f835052f81136d--