[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Minibuffer tray to display current time and date
From: |
Eli Zaretskii |
Subject: |
Re: Minibuffer tray to display current time and date |
Date: |
Fri, 24 Apr 2015 17:41:21 +0300 |
> Date: Fri, 24 Apr 2015 16:13:19 +0200
> From: <tomas@tuxteam.de>
> Cc: help-gnu-emacs@gnu.org
>
> > > 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?
Instead of arguing, just look at how display-time-mode does it, this
problem is already solved there.
- Re: Minibuffer tray to display current time and date, (continued)
- Re: Minibuffer tray to display current time and date, Eli Zaretskii, 2015/04/22
- Re: Minibuffer tray to display current time and date, Stefan Monnier, 2015/04/22
- Message not available
- Re: Minibuffer tray to display current time and date, Emanuel Berg, 2015/04/22
- Re: Minibuffer tray to display current time and date, Jorge A. Alfaro-Murillo, 2015/04/23
- Message not available
- Re: Minibuffer tray to display current time and date, Emanuel Berg, 2015/04/23
- Re: Minibuffer tray to display current time and date, Jorge A. Alfaro-Murillo, 2015/04/23
- Message not available
- Re: Minibuffer tray to display current time and date, Emanuel Berg, 2015/04/23
- Re: Minibuffer tray to display current time and date, tomas, 2015/04/24
- Re: Minibuffer tray to display current time and date,
Eli Zaretskii <=
- Re: Minibuffer tray to display current time and date, Jorge A. Alfaro-Murillo, 2015/04/24
- Re: Minibuffer tray to display current time and date, Eli Zaretskii, 2015/04/24
- Re: Minibuffer tray to display current time and date, Jorge A. Alfaro-Murillo, 2015/04/24
- Message not available
- Re: Minibuffer tray to display current time and date, Dan Espen, 2015/04/24
- Re: Minibuffer tray to display current time and date, Jorge A. Alfaro-Murillo, 2015/04/25
- Re: Minibuffer tray to display current time and date, Eli Zaretskii, 2015/04/26
- Re: Minibuffer tray to display current time and date, tomas, 2015/04/26
- Re: Minibuffer tray to display current time and date, Eli Zaretskii, 2015/04/26
- Re: Minibuffer tray to display current time and date, Stefan Monnier, 2015/04/26
- Re: Minibuffer tray to display current time and date, Alexander Shukaev, 2015/04/28