From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: patch + query about active timestamps Date: Tue, 04 May 2010 17:03:21 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9Jzk-0007dm-1D for emacs-orgmode@gnu.org; Tue, 04 May 2010 11:25:12 -0400 Received: from [140.186.70.92] (port=53575 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9Jze-0007dR-Vm for emacs-orgmode@gnu.org; Tue, 04 May 2010 11:25:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9Jzd-0005oG-UD for emacs-orgmode@gnu.org; Tue, 04 May 2010 11:25:06 -0400 Received: from lo.gmane.org ([80.91.229.12]:57955) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9Jzd-0005o2-I5 for emacs-orgmode@gnu.org; Tue, 04 May 2010 11:25:05 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O9Jzc-0006Kw-5N for emacs-orgmode@gnu.org; Tue, 04 May 2010 17:25:04 +0200 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 May 2010 17:25:04 +0200 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 May 2010 17:25:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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?