Re: Missing with-timeout
On 30 Oct 1999, Kai Großjohann [EMAIL PROTECTED] wrote: Pete Forman [EMAIL PROTECTED] writes: New in rcp.el 1.180 (since 1.130) is use of the function with-timeout. That is not present on my XEmacs 20.3. There appears to be an emulation of it in startup.el. I don't have access to that XEmacs version. Hm. Or maybe I can find that version somewhere? Lessee... I'm now waiting for XEmacs 20.4 to come up... Right. No `with-timeout' in XEmacs 20. That's unfortunate. Hm. `with-timeout' is a compiled Lisp macro -- loaded from "/usr/local/lib/xemacs/xemacs-packages/lisp/fsf-compat/timer.elc" There *is* a 'with-timeout' in XEmacs 20 (.2 at least), it just requires that the 'fsf-compat' package be installed... Daniel -- The proper function of a critic is to save the tale from the artist who created it. -- D. H. Lawrence
Re: Missing with-timeout
Pete Forman [EMAIL PROTECTED] writes: New in rcp.el 1.180 (since 1.130) is use of the function with-timeout. That is not present on my XEmacs 20.3. There appears to be an emulation of it in startup.el. I don't have access to that XEmacs version. Hm. Or maybe I can find that version somewhere? Lessee... I'm now waiting for XEmacs 20.4 to come up... Right. No `with-timeout' in XEmacs 20. That's unfortunate. Hm. Time for a compatibility function again, I'm afraid :-( Can you check if that works when the new version is announced? Maybe the definition needs to be moved, or an `eval-when-compile' needs to be slapped around the defalias or something? kai -- Life is hard and then you die.
Re: Missing with-timeout
Kai Großjohann writes: Time for a compatibility function again, I'm afraid :-( Can you check if that works when the new version is announced? Maybe the definition needs to be moved, or an `eval-when-compile' needs to be slapped around the defalias or something? That fails too. It's missing run-with-timer, which needs run-at-time, which needs timer-relative-time, ... What I've done is to load and require timer before rcp. Actually the (require 'timer) ought to be in rcp.el. You could maybe include timer.el in the rcp tarball, or just tell folks to get the fsf-compat package for themselves or upgrade to XEmacs 21. An alternative which I spotted in tetris.el is to directly use the itimer functions in XEmacs and timer functions in Emacs. In either case, the partial with-timeout stuff should be backed out of rcp.el. -- Pete Forman Western Geophysical [EMAIL PROTECTED]