emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] patch + query about active timestamps


From: Richard Riley
Subject: [Orgmode] patch + query about active timestamps
Date: Tue, 04 May 2010 17:03:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

I like pretty much all work done appearing in my agenda. Including
adding notes. Its easy enough to subfilter for just TODOs later.

With this in mind I modified org :-

        Modified lisp/org.el
diff --git a/lisp/org.el b/lisp/org.el
index 9c2f848..cd296b9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -11315,6 +11315,9 @@ EXTRA is additional text that will be inserted into the 
notes buffer."
                   (cons "%t" (format-time-string
                               (org-time-stamp-format 'long 'inactive)
                               (current-time)))
+                  (cons "%T" (format-time-string
+                              (org-time-stamp-format 'long nil)
+                              (current-time)))
                   (cons "%s" (if org-log-note-state
                                  (concat "\"" org-log-note-state "\"")
                                ""))

to allow me to customise org-log-note-headings to marks notes with
active timestamps rather than inactive (%T).

e.g see the %T change for note here:-

 (setq org-log-note-headings (quote ((done . "CLOSING NOTE %t") (state . "State 
%-12s from %-12S %t") (note . "Note taken on %T") (reschedule . "Rescheduled 
from %S on %t") (delschedule . "Not scheduled, was %S on %t") (redeadline . 
"New deadline from %S on %t") (deldeadline . "Removed deadline, was %S on %t") 
(refile . "Refiled on %t") (clock-out . ""))))

I would like to see in my agenda a mark at the time all notes were
added. This works to a degree - it only shows ONE active timestamp for
that day. So two notes taken a few hours apart would not show
up. Another note taken the following day would trigger another agenda
entry. (Ideally the agenda would show the note itself and the heading
rather than the item heading only).

Could this be fixed (allow all active timestamps in an org item to
create an agenda entry) or is there another way of going about this? I
realise I am kind of stretching the meaning of "agenda" here ... it just
seems quite natural for the agenda to be a journal as well as a list of
things ToDo.

Or possibly this is an extension to the current agenda customisation
facility?







reply via email to

[Prev in Thread] Current Thread [Next in Thread]