[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Including current time in agenda
From: |
Julien Danjou |
Subject: |
Re: [Orgmode] Including current time in agenda |
Date: |
Mon, 06 Dec 2010 14:38:56 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
On Mon, Dec 06 2010, suvayu ali wrote:
> So far my attempts have been some variation of `<%%(format-time-string
> "%H%M")>' or `<%%(diary-entry-time ...)>'. Am I approaching this the
> wrong way? Is this not supported by the diary library?
>
> Thanks for any thoughts/suggestions.
(defun jd:org-current-time ()
"Return current-time if date is today."
(when (equal date (calendar-current-date))
(format-time-string "%H:%M Current time" (current-time))))
And use %%(jd:org-current-time) in an entry.
I think this is what you want?
--
Julien Danjou
// ᐰ <address@hidden> http://julien.danjou.info
pgpdN6_Ecs8SK.pgp
Description: PGP signature
Re: [Orgmode] Including current time in agenda,
Julien Danjou <=
[Orgmode] Re: Including current time in agenda, Rémi Vanicat, 2010/12/06
Re: [Orgmode] Re: Including current time in agenda, suvayu ali, 2010/12/06
Re: [Orgmode] Including current time in agenda, Julien Danjou, 2010/12/06
Re: [Orgmode] Including current time in agenda, Suvayu Ali, 2010/12/06
[Orgmode] Re: Including current time in agenda, Matt Lundin, 2010/12/06