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.
-- 
Rémi Vanicat


_______________________________________________
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