emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Including current time in agenda


From: suvayu ali
Subject: Re: [Orgmode] Re: Including current time in agenda
Date: Mon, 6 Dec 2010 16:10:26 +0100

Hi Rémi and Carsten,

On Mon, Dec 6, 2010 at 3:59 PM, Rémi Vanicat <address@hidden> wrote:
> Suvayu Ali <address@hidden> writes:
>
>>>>
>>>> (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.
>>
>> That is exactly the information I want to have, but this only inserts an
>> entry in today's agenda without any timestamps.
>
> you need to put the %%(jd:org-current-time) at the beginning of line,
> with no space before it whatsoever.

Thank you all, everything works as expected now. :)

> --
> Rémi Vanicat
>

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

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