From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59643 Path: main.gmane.org!not-for-mail From: Steve Youngs Newsgroups: gmane.emacs.gnus.general Subject: timers and itimers Date: Wed, 26 Jan 2005 19:11:33 +1000 Organization: Linux Users - Fanatics Dept. Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: sea.gmane.org 1106731129 2464 80.91.229.6 (26 Jan 2005 09:18:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Jan 2005 09:18:49 +0000 (UTC) Original-X-From: ding-owner+M8183@lists.math.uh.edu Wed Jan 26 10:18:44 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CtjJz-0003WI-00 for ; Wed, 26 Jan 2005 10:18:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CtjDp-0004ml-00; Wed, 26 Jan 2005 03:12:21 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CtjDg-0004mf-00 for ding@lists.math.uh.edu; Wed, 26 Jan 2005 03:12:12 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CtjDZ-0001HA-Mj for ding@lists.math.uh.edu; Wed, 26 Jan 2005 03:12:05 -0600 Original-Received: from cpe-61-9-212-151.qld.bigpond.net.au ([61.9.212.151] helo=bastard.youngs.au.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1CtjDO-0003gx-00 for ; Wed, 26 Jan 2005 10:11:55 +0100 Original-Received: from bastard.youngs.au.com (localhost [127.0.0.1]) by bastard.youngs.au.com (8.12.11/8.12.11) with ESMTP id j0Q9BXcd018095 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 26 Jan 2005 19:11:34 +1000 Original-Received: (from steve@localhost) by bastard.youngs.au.com (8.12.11/8.12.11/Submit) id j0Q9BXjM018094; Wed, 26 Jan 2005 19:11:33 +1000 X-Authentication-Warning: bastard.youngs.au.com: steve set sender to steve@youngs.au.com using -f Original-To: Gnus List X-Face: #/1'_-|5_1$xjR,mVKhpfMJcRh8"k}_a{EkIO:Ox<]@zl/Yr|H,qH#3jJi6Aw(Mg@"!+Z"C N_S3!3jzW^FnPeumv4l#,E}J.+e%0q(U>#b-#`~>l^A!_j5AEgpU)>t+VYZ$:El7hLa1:%%L=3%B>n K{^jU_{& Mail-Copies-To: never X-X-Day: Only 2431215 days till X-Day. Got Slack? X-URL: X-Request-PGP: X-OpenPGP-Fingerprint: 1659 2093 19D5 C06E D320 3A20 1D27 DB4B A94B 3003 X-Now-Playing: Stay (Faraway, So Close!) --- [U2] X-Discordian-Date: Sweetmorn, the 26th day of Chaos, 3171. X-Attribution: SY Mail-Followup-To: Gnus List User-Agent: Gnus/5.110003 (No Gnus v0.3) SXEmacs/22.1.1 (Aston Martin, linux) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59643 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59643 --=-=-= Content-Transfer-Encoding: quoted-printable I've just committed a patch that cleans up all of the timer code for XEmacs, including removing run-at-time.el. In the xemacs-base package there is a new lib, timer-funcs.el which correctly implements, using itimers, most (all?) of the GNU timer functions not present in itimer.el. In other words, XEmacs users no longer have to rely on the ugly compatibility hacks in the fsf-compat package. :-) This clean up is definitely needed in the 5.10 branch so I'll commit a similar patch there a little later tonight. For the GNU people who are interested, timer-funcs.el provides the following functions: cancel-function-timers run-at-time run-with-idle-timer run-with-timer timer-duration timer-next-integral-multiple-of-time timer-parse-time timer-relative-time with-timeout with-timeout-handler y-or-n-p-with-timeout --=20 |---------------------| | Te audire no possum. | | Musa sapientum fixa est in aure. | |-------------------------------------| --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Eicq - The XEmacs ICQ Client iEYEABECAAYFAkH3XsUACgkQHSfbS6lLMAPrKQCfT7czwsppLLkbkMkAltIgaU74 YLwAn22Okl9pbR5X5dvWQvZtTKKT7lHh =Y172 -----END PGP SIGNATURE----- --=-=-=--