suvayu ali <fatkasuvayu+li...@gmail.com> writes:

> Hi,
>
> I have been attempting this for a few days now. I want to have an
> entry for the current time in today's agenda. That way I can keep
> track of how much time I have left until my next appointment.
>
> So far what ever I try, it shows up as an entry without a timestamp as
> shown below.
>
> Monday      6 December 2010 W49
>                8:00...... ----------------
>               10:00...... ----------------
>               12:00...... ----------------
>               14:00...... ----------------
>   thoughts:   15:30-17:30 W' meeting
>               16:00...... ----------------
>               18:00...... ----------------
>               20:00...... ----------------
>   thoughts:   Currrent time
>   thoughts:   TODO Hostel Room Change
>
>
> 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.

If I understand things correctly, Emacs Diary expressions simply return
t or nil to indicate whether an entry should be displayed for the
particular date.  They do not return a string and, more to the point,
they do not take the time into account.  In Emacs Diary, the time has to
be part of the text outside the sexp.

However, it would be nice if the agenda view could highlight the current
time, much as it is possible to highlight the current day in a week
view, for instance... so this could be a good "feature request"!  I have
no idea how hard it would be to implement, mind you...

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.211.g6388.dirty)

_______________________________________________
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