unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23419: 25.0.93; double-click-time
@ 2016-05-02  8:03 martin rudalics
  2020-08-15  3:49 ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: martin rudalics @ 2016-05-02  8:03 UTC (permalink / raw)
  To: 23419

The documentation of ‘double-click-time’ is as:

   Maximum time between mouse clicks to make a double-click.
   Measured in milliseconds.  The value nil means disable double-click
   recognition; t means double-clicks have no time limit and are detected
   by position only.

However, most uses of ‘double-click-time’ in the lisp directory silently
assume that the value is a number which typically fails in ‘sit-for’s
like, for example, in help.el's

   (not (sit-for (/ double-click-time 1000.0) t))

when ‘double-click-time’ is either t or nil.

Could someone out there who understands the semantics of these
‘sit-for’s please fix them.  I can eventually do that myself but these
semantics are yet pretty unclear to me.

TIA, martin






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-02 10:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-02  8:03 bug#23419: 25.0.93; double-click-time martin rudalics
2020-08-15  3:49 ` Stefan Kangas
2020-08-15  7:01   ` Eli Zaretskii
2022-05-02 10:04     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).