Hi,

ok, sorry I made a copy-paste error into the mail for the function and
the call. But indeed I wasn't aware that this had become standard.
Indeed after pulling the latest version and removing those statements
everything (including the current time!) is working.

Sorry for the noise.

Thanks,

Erik

On Sat, Jan 8, 2011 at 1:04 AM, suvayu ali <fatkasuvayu+li...@gmail.com> wrote:
> Hi Erik,
>
> On Fri, Jan 7, 2011 at 3:46 PM, Erik Butz <erik.b...@googlemail.com> wrote:
>> I have
>>
>>
>> (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))))
>>
>> in the .emacs file and and entry
>>
>> * Current Time
>>  :PROPERTIES:
>>  :CATEGORY: NOW ——————►
>>  :END:
>>
>> %%(org-current-time)
>>
>> in one of my .org files. That's about all I did.
>>
>
> To get the current time, you don't need to do that any more. After
> Carsten's change org shows that by default. Just remove that entry from
> your agenda file and if you have any entries for today, the current time
> shows up as NOW by default. You can even customise the face by
> customising the face `org-agenda-current-time'.
>
> As for your problem with your current setup, I think the problem is you
> call the incorrect sexp. The entry should be,
>
> %%(jd:org-current-time)
>
>> Any clues from this?
>>
>> Thanks,
>>
>> Erik
>
> Hope this helps
>
> --
> 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