Gnus development mailing list
 help / color / mirror / Atom feed
* Idleness
@ 1997-11-16  2:06 Hrvoje Niksic
  1997-11-17 15:32 ` Idleness Harald Meland
  0 siblings, 1 reply; 8+ messages in thread
From: Hrvoje Niksic @ 1997-11-16  2:06 UTC (permalink / raw)


I noticed the code like this in gnus-util:

(defun gnus-demon-is-idle-p ()
  "Whether Emacs is idle or not."
  ;; We do this simply by comparing the 100 most recent keystrokes
  ;; with the ones we had last time.  If they are the same, one might
  ;; guess that Emacs is indeed idle.  This only makes sense if one
  ;; calls this function seldom -- like once a minute, which is what
  ;; we do here.
[...]

Why use these hacks, instead of the standard XEmacs IS-IDLE argument
to `start-itimer', or FSFmacs `run-with-idle-timer'?  Not that the
above hack doesn't work, but I just don't see the point...

Is it a compatibility thing?

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
I'm sure they'll listen to reason! -- Neal Stevenson, _Snow Crash_


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

end of thread, other threads:[~1997-11-18  2:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-16  2:06 Idleness Hrvoje Niksic
1997-11-17 15:32 ` Idleness Harald Meland
1997-11-17 18:37   ` Idleness Hrvoje Niksic
     [not found]     ` <x7hg9b70h7.fsf@peorth.gweep.net>
1997-11-17 21:41       ` Idleness Hrvoje Niksic
1997-11-17 22:40         ` Idleness Harald Meland
1997-11-17 23:05           ` Idleness Hrvoje Niksic
1997-11-18  2:46             ` Idleness Harald Meland
     [not found]         ` <x7n2j35dqa.fsf@peorth.gweep.net>
1997-11-17 23:51           ` Idleness Hrvoje Niksic

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 NNTP newsgroup(s).