emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Richard Riley <rileyrg@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: patch + query about active timestamps
Date: Thu, 13 May 2010 07:50:04 +0200	[thread overview]
Message-ID: <658890CC-A1BF-407C-9A3C-B6D977E50AFD@gmail.com> (raw)
In-Reply-To: <qip5b7-7vc.ln1@news.eternal-september.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

      reply	other threads:[~2010-05-13  5:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-04 15:03 patch + query about active timestamps Richard Riley
2010-05-13  5:50 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=658890CC-A1BF-407C-9A3C-B6D977E50AFD@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrg@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).