emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* agenda view of state changes
@ 2015-04-17 10:44 grewil3 .
  2015-04-17 11:09 ` Ken Mankoff
  2015-04-17 21:54 ` Samuel Wales
  0 siblings, 2 replies; 4+ messages in thread
From: grewil3 . @ 2015-04-17 10:44 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi,

is there a way to create a customised agenda view that will list all my
recent timestamped activities? I would like a chronologically ordered list,
where each line corresponds to a timestamp found in the current agenda
file.

I have set my configuration to add timestamps whenever I change states on
items, add notes to items, archive items and perhaps more. It would be
useful to be able to review achievements based on these timestamped events
(not restricted to scheduled/deadlined items).

Something like this:
[2015-04-16 thu 18:10] State "INPROGRESS" from "WAIT": todo-out...
[2015-04-17 fri 09:10] State "DONE from "TODO": todo-outline
[2015-04-17 fri 10:10] Note taken: the beginning of the note...
...

Best regards Greg

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

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

* Re: agenda view of state changes
  2015-04-17 10:44 agenda view of state changes grewil3 .
@ 2015-04-17 11:09 ` Ken Mankoff
  2015-04-17 11:20   ` Per Weijnitz
  2015-04-17 21:54 ` Samuel Wales
  1 sibling, 1 reply; 4+ messages in thread
From: Ken Mankoff @ 2015-04-17 11:09 UTC (permalink / raw)
  To: grewil3 .; +Cc: emacs-orgmode@gnu.org

v l (ell) and v L in agenda view shows logged items. 

Doesn't work for notes. Work around is to not use notes but instead state change to the current state. 

  -k. 

Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback keyboard. 

> On Apr 17, 2015, at 06:44, grewil3 . <grewil@gmail.com> wrote:
> 
> Hi,
> 
> is there a way to create a customised agenda view that will list all my recent timestamped activities? I would like a chronologically ordered list, where each line corresponds to a timestamp found in the current agenda file. 
> 
> I have set my configuration to add timestamps whenever I change states on items, add notes to items, archive items and perhaps more. It would be useful to be able to review achievements based on these timestamped events (not restricted to scheduled/deadlined items).
> 
> Something like this:
> [2015-04-16 thu 18:10] State "INPROGRESS" from "WAIT": todo-out...
> [2015-04-17 fri 09:10] State "DONE from "TODO": todo-outline
> [2015-04-17 fri 10:10] Note taken: the beginning of the note...
> ...
> 
> Best regards Greg

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

* Re: agenda view of state changes
  2015-04-17 11:09 ` Ken Mankoff
@ 2015-04-17 11:20   ` Per Weijnitz
  0 siblings, 0 replies; 4+ messages in thread
From: Per Weijnitz @ 2015-04-17 11:20 UTC (permalink / raw)
  To: Ken Mankoff; +Cc: emacs-orgmode@gnu.org

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

Ah, I had not tried that combo, that will do fine. Maybe I can convert my
taken notes to state changes too. Thanks!

On Fri, Apr 17, 2015 at 1:09 PM, Ken Mankoff <mankoff@gmail.com> wrote:

> v l (ell) and v L in agenda view shows logged items.
>
> Doesn't work for notes. Work around is to not use notes but instead state
> change to the current state.
>
>   -k.
>
> Please excuse brevity. Sent from pocket computer with tiny non-haptic
> feedback keyboard.
>
> > On Apr 17, 2015, at 06:44, grewil3 . <grewil@gmail.com> wrote:
> >
> > Hi,
> >
> > is there a way to create a customised agenda view that will list all my
> recent timestamped activities? I would like a chronologically ordered list,
> where each line corresponds to a timestamp found in the current agenda file.
> >
> > I have set my configuration to add timestamps whenever I change states
> on items, add notes to items, archive items and perhaps more. It would be
> useful to be able to review achievements based on these timestamped events
> (not restricted to scheduled/deadlined items).
> >
> > Something like this:
> > [2015-04-16 thu 18:10] State "INPROGRESS" from "WAIT": todo-out...
> > [2015-04-17 fri 09:10] State "DONE from "TODO": todo-outline
> > [2015-04-17 fri 10:10] Note taken: the beginning of the note...
> > ...
> >
> > Best regards Greg
>

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

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

* Re: agenda view of state changes
  2015-04-17 10:44 agenda view of state changes grewil3 .
  2015-04-17 11:09 ` Ken Mankoff
@ 2015-04-17 21:54 ` Samuel Wales
  1 sibling, 0 replies; 4+ messages in thread
From: Samuel Wales @ 2015-04-17 21:54 UTC (permalink / raw)
  To: grewil3 .; +Cc: emacs-orgmode

i do not recommend this:

;; (eval-after-load 'org-agenda
;;   '(pushnew 'state org-agenda-log-mode-items :test 'eq))
;; (setq org-agenda-log-mode-items '(closed clock))

===

i do this:

  (setq org-agenda-include-inactive-timestamps t)

and this [i am not signed with fsf]:

    === alpha make agenda display inactive timestamp lines with a new face

	Modified lisp/org-agenda.el
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index a0f47ab..9fe49b8 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -5619,6 +5619,9 @@ This function is invoked if
`org-agenda-todo-ignore-deadlines',
 			 'org-category-position category-pos
 			 'todo-state todo-state
 			 'warntime warntime
+                         'face (if inactivep
+                                'org-agenda-inactive
+                              'org-agenda-calendar-event)
 			 'type "timestamp")
 	  (push txt ee))
 	(if org-agenda-skip-additional-timestamps-same-entry
	Modified lisp/org-faces.el
diff --git a/lisp/org-faces.el b/lisp/org-faces.el
index f8625f1..47ccc96 100644
--- a/lisp/org-faces.el
+++ b/lisp/org-faces.el
@@ -346,6 +346,16 @@ is of course immediately visible, but for example
a passed deadline is
 of the frame, for example."
   :group 'org-faces)

+(defface org-agenda-inactive ;; originally copied from font-lock-type-face
+  (org-compatible-face nil
+    '((((class color) (min-colors 16) (background light))
(:foreground "ForestGreen"))
+      (((class color) (min-colors 16) (background dark)) (:foreground
"#546b00"))
+      (((class color) (min-colors 8)) (:foreground "green"))
+      (t (:bold nil))))
+  "Face used in agenda to indicate lines that appear because
+inactive timestamps appear in the entries."
+  :group 'org-faces)
+
 (defface org-headline-done ;; originally copied from font-lock-string-face
   (org-compatible-face nil
     '((((class color) (min-colors 16) (background light))
(:foreground "RosyBrown"))

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

Ramsay's disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.

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

end of thread, other threads:[~2015-04-17 21:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-17 10:44 agenda view of state changes grewil3 .
2015-04-17 11:09 ` Ken Mankoff
2015-04-17 11:20   ` Per Weijnitz
2015-04-17 21:54 ` Samuel Wales

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