help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minibuffer tray to display current time and date


From: tomas
Subject: Re: Minibuffer tray to display current time and date
Date: Fri, 24 Apr 2015 16:13:19 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Apr 24, 2015 at 12:46:10AM +0200, Emanuel Berg wrote:
> jorge.alfaro-murillo@yale.edu (Jorge A.
> Alfaro-Murillo) writes:
> 
> > Optimal would be to run now, and then (run-at-time
> > NEXT-TIME-MINUTE-CHANGES nil (lambda () (run-at-time
> > t 60 ...
> 
> Are you thinking like this: "The granularity of the
> clock is 1 minute. So it should be updated once every
> minute, i.e. every 60 seconds."
> 
> That sounds a bit risky to me, so I'd recommend setting
> it so that it will be set somewhere around three times
> per minute - and not set evenly so, but for example
> every 22 seconds:
> 
>     0, 22, 44, 6 (66), 28, 50, ...

This sounds a bit roundabout: why not run-at-time? Do you fear
that it gets out of sync?

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlU6T38ACgkQBcgs9XrR2kZ1UwCaA8qCltmKECaI3v+Ytyg0kjCk
eWUAn1OPn7/n/xOpHq6zIB4dJztEDIZW
=I6Cv
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]