bug#81560: 31.0.91; dframe-update-speed specifies :type integer
Eli Zaretskii <[email protected]> Thu, 06 Aug 2026 07:32:14 +0300
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
> From: Daniel Mendler <[email protected]> > Cc: [email protected] > Date: Wed, 05 Aug 2026 19:26:13 +0200 > > Eli Zaretskii <[email protected]> writes: > > >> Date: Wed, 05 Aug 2026 17:42:10 +0200 > >> From: Daniel Mendler via "Bug reports for GNU Emacs, > >> the Swiss army knife of text editors" <[email protected]> > >> > >> The speedbar uses the customizable variable `dframe-update-speed' to > >> check for updates. This variable has variable :type `integer' but > >> shorter delays are supported, e.g., 0.5. I suggest to change the > >> variable :type to `number'. > > > > Actually, 'number' is also inaccurate: the value can be in the format > > of the value returned by current-idle-time, because the value is > > passed to run-with-idle-timer. > > So is there a type which you think is appropriate? If we change no other code, then perhaps allowing a list of appropriate lengths in addition to a number? IOW, a custom validation function. > What do we use for other delays? I didn't yet have time to look, sorry.