From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: pgg.el and run-at-time
Date: Tue, 09 Dec 2003 20:27:08 +0900 [thread overview]
Message-ID: <b9y8ylm6xkj.fsf@jpl.org> (raw)
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 <yamaoka@jpl.org>
next reply other threads:[~2003-12-09 11:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-09 11:27 Katsumi Yamaoka [this message]
2003-12-09 16:45 ` Simon Josefsson
2003-12-10 0:36 ` Katsumi Yamaoka
2003-12-10 6:35 ` Katsumi Yamaoka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9y8ylm6xkj.fsf@jpl.org \
--to=yamaoka@jpl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).