~pkal/compat-devel

Re: bug#70221: [PATCH] New function `funcall-later`

Felician Nemeth <felician.nemeth@gmail.com>
Details
Message ID
<87msq6ewlt.fsf@betli.tmit.bme.hu>
DKIM signature
pass
Download raw message
>> Cc: 70221@debbugs.gnu.org
>> Date: Fri, 05 Apr 2024 18:44:05 -0400
>> From:  Stefan Monnier via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>> 
>> > Do this mean (run-with-timer 0 nil ...) can always be replaced with a
>> > more efficient (funcall-later ...)?  If so, would it make sense to
>> > modify run-with-time as well to call funcall-later when if its first two
>> > argument is (0 nil)?
>> 
>> No: beside the fact that they are run at slightly different times
>> (which might be OK), `funcall-later` doesn't return a handle you can
>> then use to cancel the call.

Does "running at slightly different times" mean that the compat package
cannot reimplement funcall-later with run-with-time?

Thanks again.
Reply to thread Export thread (mbox)