From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Beck" Subject: How to list inactive timestamps and logged items together in agenda? Date: Thu, 5 Jun 2014 13:21:48 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsVk7-0007cz-TL for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 07:22:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsVjz-0002fw-20 for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 07:21:59 -0400 Received: from mout.web.de ([212.227.15.14]:49495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsVjy-0002fA-OB for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 07:21:50 -0400 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: emacs orgmode-mailinglist
I want to create an agenda view which lets me list all items, I've been working on in a certain time interval in chronological order.
 
I have created an agenda which does that by listing all headings with inactice timestamps like that:
 
("ip" "past 7d +3d" agenda "" ((org-agenda-overriding-header "Activities during last 7 days") (org-agenda-start-day "-7d") (org-agenda-span 10) (org-agenda-repeating-timestamp-show-all nil) (org-agenda-include-inactive-timestamps t) (org-agenda-entry-types (quote (:deadline :timestamp :sexp)))))
 
My problem is: it only lists items with an inactive timestamp, but not those which have been clocked in the observed time.
Sure, in the same agenda I can type "v c" and then show the clocking history but it seems I can not have both at the same time.
 
Is there a way to expand the above described agenda so that it also displays headings which have been clocked  in/out during the agenda span?
In theory, those timestamps already exist in the LOGBOOK drawer, but they seem to be ignored by the "org-agenda-include-inactive-timestamps" option).
 
Kind regards
 
Martin
From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: How to list inactive timestamps and logged items together in agenda? Date: Mon, 28 Jul 2014 14:35:57 +0200 Message-ID: <871tt52y6r.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBofl-0007Q3-Ty for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBofY-0005ie-58 for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:17 -0400 Received: from mail-s76.mailgun.info ([184.173.153.204]:55502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBofY-0005NT-2J for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:04 -0400 In-Reply-To: (Martin Beck's message of "Thu, 5 Jun 2014 13:21:48 +0200") 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: Martin Beck Cc: emacs orgmode-mailinglist Hi Martin, "Martin Beck" writes: > I want to create an agenda view which lets me list all items, I've > been working on in a certain time interval in chronological order. > > I have created an agenda which does that by listing all headings with > inactice timestamps like that: > > ("ip" "past 7d +3d" agenda "" ((org-agenda-overriding-header > "Activities during last 7 days") (org-agenda-start-day "-7d") > (org-agenda-span 10) (org-agenda-repeating-timestamp-show-all nil) > (org-agenda-include-inactive-timestamps t) (org-agenda-entry-types > (quote (:deadline :timestamp :sexp))))) > > My problem is: it only lists items with an inactive timestamp, but > not those which have been clocked in the observed time. I'm not sure I understand why clocked headline don't show up. Or maybe you just need to hit "l" in the agenda to also include done headlines (assuming clocked items are done)? Let us know if you came up with another solution, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: How to list inactive timestamps and logged items together in agenda? Date: Mon, 28 Jul 2014 15:26:10 -0700 Message-ID: References: <871tt52y6r.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBtN1-0004kK-2Y for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 18:26:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBtMy-0006uU-FR for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 18:26:15 -0400 In-Reply-To: <871tt52y6r.fsf@bzg.ath.cx> 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: Bastien Cc: Martin Beck , emacs orgmode-mailinglist i have these notes in my .emacs-alike: ;;this is a good solution, but it is a defvar. ] to do it ;;temporarily. it might exclude the ts in the closed ts. (setq org-agenda-include-inactive-timestamps t) ;; ;;this way i can see what i did so far in the day and remind me ;;of good or bad things i did instead or in addition to the real ;;items to do today. l to toggle. (setq org-agenda-start-with-log-mode t) i also find that it really helps to have inactive lines be their own font instead of the default font. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Beck Subject: Re: How to list inactive timestamps and logged items together in agenda? Date: Tue, 29 Jul 2014 09:15:24 +0000 (UTC) Message-ID: References: <871tt52y6r.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC3Vb-0007mI-Si for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 05:15:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC3VU-0005ow-Cn for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 05:15:47 -0400 Received: from plane.gmane.org ([80.91.229.3]:33900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC3VU-0005oq-5a for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 05:15:40 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XC3VS-0005r8-Q8 for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 11:15:38 +0200 Received: from mail.polytec.de ([213.144.13.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Jul 2014 11:15:38 +0200 Received: from elwood151 by mail.polytec.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Jul 2014 11:15:38 +0200 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: emacs-orgmode@gnu.org Samuel Wales gmail.com> writes: > > i have these notes in my .emacs-alike: > (setq org-agenda-include-inactive-timestamps t) > (setq org-agenda-start-with-log-mode t) > > i also find that it really helps to have inactive lines be their own > font instead of the default font. > I use the first one too for my agenda view, but my problem is: I want to combine the agenda with the clocking report (I get it by hitting v c in agenda view) which shows me clocking gaps and clocked time intervals with the above mentioned view of all inactive timestamps of that day. But as soon as I hit "vc", all other lines have disappeared, it seems to be impossible to combine a clocking table with other agenda lines. ideally it would look like that: refile: 8:35- 8:36 Clocked: (0:01) note 1 :NOTE: Clocking gap: 14 minutes refile: 8:43...... Closed: DONE [#A] task1 refile: 8:43...... State: (DONE) DONE [#A] task1 refile: 9:30-10:30 [#A] appointment2 refile: 8:50- 8:51 Clocked: (0:01) task2