From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55692 Path: main.gmane.org!not-for-mail From: Steve Youngs Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] Trivial itimer tweaks for password.el Date: Tue, 06 Jan 2004 12:02:42 +1000 Organization: Linux Users - Fanatics Dept. Sender: ding-owner@lists.math.uh.edu 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 1073354613 12022 80.91.224.253 (6 Jan 2004 02:03:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2004 02:03:33 +0000 (UTC) Keywords: autoload,itimer,lisp,password,changelog,diff,xemacs,jan Cc: Simon Josefsson Original-X-From: ding-owner+M4232@lists.math.uh.edu Tue Jan 06 03:03:29 2004 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 1AdgZ6-0007fN-00 for ; Tue, 06 Jan 2004 03:03:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AdgYk-0001og-00; Mon, 05 Jan 2004 20:03:06 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AdgYg-0001ob-00 for ding@lists.math.uh.edu; Mon, 05 Jan 2004 20:03:02 -0600 Original-Received: from gizmo08bw.bigpond.com (gizmo08bw.bigpond.com [144.140.70.18]) by justine.libertine.org (Postfix) with SMTP id C75553A0026 for ; Mon, 5 Jan 2004 20:03:00 -0600 (CST) Original-Received: (qmail 25488 invoked from network); 6 Jan 2004 01:58:38 -0000 Original-Received: from unknown (HELO bwmam01.bigpond.com) (144.135.24.69) by gizmo08bw.bigpond.com with SMTP; 6 Jan 2004 01:58:38 -0000 Original-Received: from cpe-138-130-240-59.qld.bigpond.net.au ([138.130.240.59]) by bwmam01.bigpond.com(MAM REL_3_4_2 8/14368402) with SMTP id 14368402; Tue, 06 Jan 2004 12:02:56 +1000 Original-Received: (from steve@localhost) by eicq.dnsalias.org (8.12.9/8.12.9) id i0622l8B010232; Tue, 6 Jan 2004 12:02:48 +1000 Mail-Copies-To: never 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_{& X-URL: X-Request-PGP: X-OpenPGP-Fingerprint: 1659 2093 19D5 C06E D320 3A20 1D27 DB4B A94B 3003 X-Now-Playing: The Right Time --- [Hoodoo Gurus] X-Attribution: SY X-Generated-By: Patcher version 3.5.2 Mail-Followup-To: Gnus List , Simon Josefsson User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Reasonable Discussion, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55692 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55692 --=-=-= Hi Simon! Just keeping things neat and tidy. :-) NOTE: This patch has been committed. Gnus patch: ChangeLog files diff command: cvs -q diff -U 0 Files affected: lisp/ChangeLog Source files diff command: cvs -q diff -uN Files affected: lisp/password.el Index: lisp/ChangeLog =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v retrieving revision 7.34 diff -u -U0 -r7.34 ChangeLog --- lisp/ChangeLog 6 Jan 2004 01:53:45 -0000 7.34 +++ lisp/ChangeLog 6 Jan 2004 02:01:13 -0000 @@ -0,0 +1,5 @@ +2004-01-06 Steve Youngs + + * password.el: Only autoload `run-at-time' if not XEmacs. + Only autoload the itimer functions if XEmacs. + Index: lisp/password.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/password.el,v retrieving revision 7.1 diff -u -u -r7.1 password.el --- lisp/password.el 4 Jan 2004 22:49:38 -0000 7.1 +++ lisp/password.el 6 Jan 2004 02:01:09 -0000 @@ -52,7 +52,8 @@ ;;; Code: -(autoload 'run-at-time "timer") +(unless (featurep 'xemacs) + (autoload 'run-at-time "timer")) (eval-when-compile (require 'cl)) @@ -83,15 +84,16 @@ (read-passwd prompt))) (eval-when-compile - (defvar itimer-process) - (defvar itimer-timer) - (autoload 'delete-itimer "itimer") - (autoload 'itimer-driver-start "itimer") - (autoload 'itimer-value "itimer") - (autoload 'set-itimer-function "itimer") - (autoload 'set-itimer-function-arguments "itimer") - (autoload 'set-itimer-restart "itimer") - (autoload 'start-itimer "itimer")) + (when (featurep 'xemacs) + (defvar itimer-process) + (defvar itimer-timer) + (autoload 'delete-itimer "itimer") + (autoload 'itimer-driver-start "itimer") + (autoload 'itimer-value "itimer") + (autoload 'set-itimer-function "itimer") + (autoload 'set-itimer-function-arguments "itimer") + (autoload 'set-itimer-restart "itimer") + (autoload 'start-itimer "itimer"))) (eval-and-compile (defalias -- |---------------------| | Ashes to ashes, dust to dust. | | The proof of the pudding, is under the crust. | |---------------------------------| --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Eicq - The XEmacs ICQ Client iEYEABECAAYFAj/6F0YACgkQHSfbS6lLMAPkgQCfRNiVb3JduB+FCPZjD5exolZY OgkAoLqSJshHuIOSAw7FdgQAOg81LlW3 =ZuI8 -----END PGP SIGNATURE----- --=-=-=--