emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Makmiller Pedroso <makmiller@gmail.com>
To: Makmiller Pedroso <makmiller@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: agenda column view and CLOCKSUM
Date: Sat, 2 Apr 2016 10:11:23 -0400	[thread overview]
Message-ID: <CA+WD-JSo9UhS80P3D0Fpa65VCoXSUWAzTyiY81Dd9LLTdESL+Q@mail.gmail.com> (raw)
In-Reply-To: <87mvpcs8ax.fsf@nicolasgoaziou.fr>

[-- 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 --]

  reply	other threads:[~2016-04-02 14:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2016-04-06  8:56     ` Nicolas Goaziou

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=CA+WD-JSo9UhS80P3D0Fpa65VCoXSUWAzTyiY81Dd9LLTdESL+Q@mail.gmail.com \
    --to=makmiller@gmail.com \
    --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).