Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: Idleness
Date: 17 Nov 1997 19:37:26 +0100	[thread overview]
Message-ID: <kiglnynbc49.fsf@jagor.srce.hr> (raw)
In-Reply-To: Harald Meland's message of "17 Nov 1997 16:32:48 +0100"

Harald Meland <Harald.Meland@usit.uio.no> writes:

> | 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?
> 
> No, I guess it has to do with the gnus-demon functionality of running
> a function every N minutes _after_ emacs has been idle for X minutes.
> `run-with-idle-timer' will only let you run a function every time
> Emacs has been idle for SECS seconds, so using this would merely move
> the hacking elsewhere, not remove it.

I don't see the difference between running a function every N seconds
_after_ Emacs has been idle, and running a function every time Emacs
has been idle for N seconds.  Could you please explain it to me?

> I don't know if the way XEmacs provides idle timers would make the
> removal of the hack easy.

XEmacs itimers provide a different interface to the same
functionality.  Internally, it works by comparing current time to the
`last-input-time'.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"A Real Programmer's code can awe with its fiendish brilliance, even
as its crockishness appalls."


  reply	other threads:[~1997-11-17 18:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-16  2:06 Idleness Hrvoje Niksic
1997-11-17 15:32 ` Idleness Harald Meland
1997-11-17 18:37   ` Hrvoje Niksic [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kiglnynbc49.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).