From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: patch + query about active timestamps Date: Thu, 13 May 2010 07:50:04 +0200 Message-ID: <658890CC-A1BF-407C-9A3C-B6D977E50AFD@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=36508 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCRJC-0000DO-I5 for emacs-orgmode@gnu.org; Thu, 13 May 2010 01:50:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCRJA-0002XN-SH for emacs-orgmode@gnu.org; Thu, 13 May 2010 01:50:10 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:64474) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCRJA-0002XJ-NI for emacs-orgmode@gnu.org; Thu, 13 May 2010 01:50:08 -0400 Received: by ewy8 with SMTP id 8so397897ewy.8 for ; Wed, 12 May 2010 22:50:07 -0700 (PDT) In-Reply-To: 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: Richard Riley Cc: emacs-orgmode@gnu.org Hi Richard, I have applied this patch. Thanks! - Carsten On May 4, 2010, at 5:03 PM, Richard Riley wrote: > > 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? > > > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten