[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Including current time in agenda
From: |
suvayu ali |
Subject: |
Re: [Orgmode] Including current time in agenda |
Date: |
Mon, 6 Dec 2010 12:55:48 +0100 |
Hi Eric,
On Mon, Dec 6, 2010 at 12:47 PM, Eric S Fraga <address@hidden> wrote:
> suvayu ali <address@hidden> 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.
>
Thank you for clarifying that. I was incorrectly expecting it returns
a text. Should have checked more closely.
> 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...
>
Would you have any idea where I could look to get started with
implementing something like this?
> --
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
> : using Org-mode version 7.3 (release_7.3.211.g6388.dirty)
>
Thanks a lot for your response.
--
Suvayu
Open source is the future. It sets us free.
Re: [Orgmode] Including current time in agenda, Julien Danjou, 2010/12/06