[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Time range between now and timestamp
From: |
Alexander Wingård |
Subject: |
Re: [O] Time range between now and timestamp |
Date: |
Thu, 15 Sep 2011 16:46:20 +0200 |
Let's say I have this:
<2011-09-15 Thu>--<2011-09-16 Fri>
and I put my cursor over this and press C-c C-y my minibuffer will
spit out 1 day.
I would like a command that does the same thing if i execute it over
just <2011-09-16 Fri>.
Sometimes I'm interested in how much time there is left to a specific
appointment.
Best Regards /Alexander
On Thu, Sep 15, 2011 at 4:37 PM, Nick Dokos <address@hidden> wrote:
> Alexander Wingård <address@hidden> wrote:
>
>> Hi!
>>
>> I really would want to have a command that given the cursor is over a
>> timestamp would output the time-range from the current time to that
>> timestamp.
>>
>
> Can you please provide an example? I can interpret this
> in a couple of different ways and I'm not sure what you
> want.
>
> Also, when you say "output", do you mean that the function
> should return e.g. a string representation of whatever it is
> you want? Or print the result in the minibuffer?
> Or insert it in the buffer you are editing? (and, if the last,
> where?)
>
> Nick
>