[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Time of last command invoked
From: |
Jean Louis |
Subject: |
Re: Time of last command invoked |
Date: |
Mon, 1 Mar 2021 09:45:54 +0300 |
User-agent: |
Mutt/2.0 (3d08634) (2020-11-07) |
* Stefan Monnier <monnier@iro.umontreal.ca> [2021-02-28 20:55]:
> > There are also those advise functions. I have not express myself
> > well first time as first I was thinking maybe each command like in
> > lossage would have somewhere its timestamp which is maybe hidden and
> > I could just access it and find out my times of work. It would be
> > possible before exit from Emacs to make a report of full work and
> > statistics. It is for self observation.
> >
> > Working in the area with frequent power outages is difficult. Then
> > some information about my last work helps me find out other pieces
> > of information and analyze what I was doing at what time.
>
> BTW, it's not hard to do what you want:
> Use a `post-command-hook` or `pre-command-hook` where you record the
> current time the `this-command` and/or the `(this-command-keys)`.
Ah, yes, that is right. Thank you.
- Re: Time of last command invoked,
Jean Louis <=