GNU bug report logs - #79227
30.1.90; run-with-timer should error if REPEAT is not a number or nil

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Tue, 12 Aug 2025 21:27:02 UTC

Severity: normal

Found in version 30.1.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


Message #8 received at 79227 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 79227 <at> debbugs.gnu.org
Subject: Re: bug#79227: 30.1.90;
 run-with-timer should error if REPEAT is not a number or nil
Date: Sat, 16 Aug 2025 10:56:03 +0300
> Date: Tue, 12 Aug 2025 17:26:14 -0400
> From:  Spencer Baugh via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 
> The docstring of run-with-timer says REPEAT must be a number or nil, but
> it doesn't error if REPEAT is, for example, t.  This is likely to happen
> with run-with-idle-timer accepts REPEAT=t.

Thanks, should be fixed now on the master branch.

I don't understand your reference to run-with-idle-timer, though: for
idle timers, it is perfectly valid to use REPEAT = t.  Did you mean
run-with-timer instead?




This bug report was last modified 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.