emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Including current time in agenda


From: Carsten Dominik
Subject: Re: [Orgmode] Including current time in agenda
Date: Mon, 6 Dec 2010 15:03:32 +0100


On Dec 6, 2010, at 2:38 PM, Julien Danjou wrote:

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.

Wow, I overlooked this possibility.  Great.

- Carsten


I think this is what you want?

--
Julien Danjou
// ᐰ <address@hidden>   http://julien.danjou.info
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten






reply via email to

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