"Paul" == Paul Kinnucan <[EMAIL PROTECTED]> writes:
Paul> At 09:06 AM 9/6/00 +0200, you wrote:
>> I think, the main problem about this new feature is that it also
>> reparses the buffer while typing. If it would reparse the buffer
>> about ten or twenty seconds after the last change (i.e. _not_
>> while I'm typing), it would be much better. I'm not an
>> emacs-lispler, so I don't know whether this is possible...
Paul> I've experienced this problem but only under XEmacs. I cannot
Paul> figure out why this happens under XEmacs. It appears to be a
Paul> problem with the XEmacs version of run-with-timer. An XEmacs
Paul> user told me that XEmacs has another timer function called
Paul> itimer. I may try that function when the JDE is running under
Paul> XEmacs to see if it produces better results.
I dug out an old artice by Hrvoje Niksic to the XEmacs newsgroup that
might be useful to know:
To: [EMAIL PROTECTED]
Subject: Re: `timer.el' missing
From: Hrvoje Niksic <[EMAIL PROTECTED]>
Date: 07 Nov 1999 00:40:49 +0100
Mail-Copies-To: never
Newsgroups: comp.emacs.xemacs
Organization: Iskon d.o.o.
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/21.2 (Shinjuku)
Xref: wodc7nx0 comp.emacs.xemacs:3312
Toni Drabik <[EMAIL PROTECTED]> writes:
> > > I'm trying to run some Lisp code (found in gnu.emacs.sources) that
> > > requires `timer.el', which is part of GNU Emacs. However, I use XEmacs
> > > only (version 20.4). Is there a replacement for `timer.el' in XEmacs,
> > > and what do I need to do to make it work?
> >
> > Does itimer.el provide the functionality you need?
>
> If it does, it probably requires modifications to the code I'm
> trying to run. :-(
There is a `timer.el' in the latish XEmacsen (the `fsf-compat'
package). However, using it is highly discouraged as not all aspect
of the timer API are documented, so some things are impossible to
copy. timer.el uses itimers internally.
Besides, it should be quite easy to port a timer.el-using application
to itimers. Try it.