Hi Rémi and Carsten,

On Mon, Dec 6, 2010 at 3:59 PM, Rémi Vanicat <vani...@debian.org> wrote:
> Suvayu Ali <fatkasuvayu+li...@gmail.com> 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.

_______________________________________________
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

Reply via email to