From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Minibuffer tray to display current time and date Date: Fri, 24 Apr 2015 16:13:19 +0200 Message-ID: <20150424141319.GA19093@tuxteam.de> References: <87h9s7hd7a.fsf@debian.uxu> <87383qvoi4.fsf@debian.uxu> <874mo6bgzx.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1429884829 17303 80.91.229.3 (24 Apr 2015 14:13:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Apr 2015 14:13:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 24 16:13:49 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YleMR-00056d-1b for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Apr 2015 16:13:43 +0200 Original-Received: from localhost ([::1]:45022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YleMQ-0002lD-7o for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Apr 2015 10:13:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YleMA-0002l1-2b for help-gnu-emacs@gnu.org; Fri, 24 Apr 2015 10:13:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YleM6-0004Ok-2a for help-gnu-emacs@gnu.org; Fri, 24 Apr 2015 10:13:25 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:41504 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YleM5-0004Li-S7 for help-gnu-emacs@gnu.org; Fri, 24 Apr 2015 10:13:21 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1YleM3-00054o-9A; Fri, 24 Apr 2015 16:13:19 +0200 In-Reply-To: <874mo6bgzx.fsf@debian.uxu> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103979 Archived-At: -----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-----