Re: [O] [Ann] Tool to hack time

2017-02-09 Thread Marco Wahl
Samuel Wales  writes:

> it's great to have such a mechanism.
>
> my preference for such things is to use no-time for ones that are done later.
>
> On 2/8/17, Marco Wahl  wrote:
>>> |:LAST_REPEAT: [2017-02-08 Tue 12:01]
>
> nix the 12:01.

AFAICS this is not so easy to implement.  Thanks for sharing the idea,
though.


Best regards

   Marco




Re: [O] [Ann] Tool to hack time

2017-02-08 Thread Samuel Wales
it's great to have such a mechanism.

my preference for such things is to use no-time for ones that are done later.

On 2/8/17, Marco Wahl  wrote:
>> |:LAST_REPEAT: [2017-02-08 Tue 12:01]

nix the 12:01.

-- 
The Kafka Pandemic: 

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it -- at any time.

"You’ve really gotta quit this and get moving, because this is murder
by neglect." --- very true words by Johanna Kaiser spoken to US NIH in
conference call with Walter Koroshetz, NINDS director




Re: [O] [Ann] Tool to hack time

2017-02-08 Thread Marco Wahl
Hi Stig,

Thanks for your feedback!

>> https://gitlab.com/marcowahl/hack-time is a little tool to forge the
>>[...]
>> Comments welcome, as always.
>
> I gave it a quick spin. The first thing that struck me was sadness at
> not finding an elpa package :-(

You are right, I think.  I'll propose the hack-time code soon as elpa
package.  Possibly in the form of a minor mode.  You are invited to
contribute to the realization as package.

> Anyway, I obtained it from its repo and I positioned calendar on 7th of
> February, and invoked it on an entry I forgot to mark as done yesterday.
> This is the result:
>
> ,
> | ** TODO Practice guitar
> |SCHEDULED: <2017-02-08 Wed ++1d/3d>
> |:PROPERTIES:
> |:STYLE:habit
> |:LAST_REPEAT: [2017-02-08 Tue 12:01]
> |:END:
> |:LOGBOOK:
> |- State "DONE"   from "TODO"   [2017-02-07 Tue 11:55] \\
> `
>
> Note that:
>
> - new scheduled time is correct
> - logbook entry is correct
> - LAST_REPEAT property is *incorrect*; I expect this too to be
>   [2017-02-07 Tue 11:55]

Yes.  I also noticed the issue with LAST_REPEAT.  I should have told in
the announcement that 'hack-time' depends on the Org 'master' branch
since about two weeks to handle LAST_REPEAT reliably.

Unfortunately 'hack-time' in its current form is not strong enough to
hack ANY time in Emacs.  Up to now 'hack-time' only applies to elisp
code when it calls 'current-time'.


Best regards,

   Marco




Re: [O] [Ann] Tool to hack time

2017-02-08 Thread Stig Brautaset

Hi Marco,

Marco Wahl  writes:

> Dear Orgers,
>
> https://gitlab.com/marcowahl/hack-time is a little tool to forge the
> `current-time' in Emacs.  This allows to mark todo-items done
> conveniently at another date.
>
> Maybe you want to play with that time forgery.
>
> Comments welcome, as always.

I gave it a quick spin. The first thing that struck me was sadness at
not finding an elpa package :-(

Anyway, I obtained it from its repo and I positioned calendar on 7th of
February, and invoked it on an entry I forgot to mark as done yesterday.
This is the result:

,
| ** TODO Practice guitar
|SCHEDULED: <2017-02-08 Wed ++1d/3d>
|:PROPERTIES:
|:STYLE:habit
|:LAST_REPEAT: [2017-02-08 Tue 12:01]
|:END:
|:LOGBOOK:
|- State "DONE"   from "TODO"   [2017-02-07 Tue 11:55] \\
`

Note that:

- new scheduled time is correct
- logbook entry is correct
- LAST_REPEAT property is *incorrect*; I expect this too to be
  [2017-02-07 Tue 11:55]


Stig



Re: [O] [Ann] Tool to hack time

2017-02-04 Thread Marco Wahl
Christian Moe  writes:

> Here I was, hoping it was a tool to *actually* hack time.
>
> You know, M-x tardis-mode.

The Doctor worked on this IIRC.  If you notice weird behavior on your
machine, you can be sure that the mode will have been released.


Regards,

   Marco





Re: [O] [Ann] Tool to hack time

2017-02-03 Thread Christian Moe

Here I was, hoping it was a tool to *actually* hack time.

You know, M-x tardis-mode.

:-)

Yours,
Christian



Marco Wahl writes:

> Dear Orgers,
>
> https://gitlab.com/marcowahl/hack-time is a little tool to forge the
> `current-time' in Emacs.  This allows to mark todo-items done
> conveniently at another date.
>
> Maybe you want to play with that time forgery.
>
> Comments welcome, as always.
>
>
> Best regards
>
>Marco