From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55152 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: pgg.el and run-at-time Date: Tue, 09 Dec 2003 20:27:08 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070969303 10080 80.91.224.253 (9 Dec 2003 11:28:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Dec 2003 11:28:23 +0000 (UTC) Original-X-From: ding-owner+M3692@lists.math.uh.edu Tue Dec 09 12:28:20 2003 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 1ATg2O-0000Nf-00 for ; Tue, 09 Dec 2003 12:28:20 +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 1ATg1m-0000CI-00; Tue, 09 Dec 2003 05:27:42 -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 1ATg1a-0000CA-00 for ding@lists.math.uh.edu; Tue, 09 Dec 2003 05:27:30 -0600 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id D79CE3A0033 for ; Tue, 9 Dec 2003 05:27:29 -0600 (CST) Original-Received: from yamaoka by washington.hostforweb.net with local (Exim 4.24) id 1ATg1a-0001u1-Im for ding@gnus.org; Tue, 09 Dec 2003 06:27:30 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:ry6Hi54/hxQVSwJ+X5JbXB17Q9o= X-Payment: hashcash 1.2 0:031209:ding@gnus.org:b003209ef720d6a7 X-Hashcash: 0:031209:ding@gnus.org:b003209ef720d6a7 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32041 32041] / [47 12] X-AntiAbuse: Sender Address Domain - washington.hostforweb.net Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55152 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55152 Hi, I noticed the run-at-time function of the XEmacs version doesn't work correctly, which runs a timer function almost immediately at the first time, ignoring the specified time, and reported it to the XEmacs-beta list today. Also I found pgg.el uses run-at-time directly. Although I'm not using pgg, I'm afraid that the cached passphrase may immediately be expired. Is it better to replace it with nnheader-run-at-time? Please note, the nnheader-run-at-time function is not complete in XEmacs. It is particular to the argument types as follows: (nnheader-run-at-time 1 nil 'ignore (current-time)) => itimer "nnheader-run-at-time" signaled: (invalid-function 16341) We may possibly want to modify that function as follows: (defun nnheader-xmas-run-at-time (time repeat function &rest args) (start-itimer "nnheader-run-at-time" `(lambda () (,function ,@(mapcar (lambda (arg) (list 'quote arg)) args))) time repeat)) Regards, -- Katsumi Yamaoka