From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19057 Path: main.gmane.org!not-for-mail From: wmperry@aventail.com (William M. Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: Postponed Emacs actions Date: 22 Nov 1998 12:18:50 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <86yap3abnp.fsf@kramer.bp.aventail.com> References: <86g1bdgw4x.fsf@kramer.bp.aventail.com> <86k90nepnt.fsf@kramer.bp.aventail.com> Reply-To: wmperry@aventail.com NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035157476 9627 80.91.224.250 (20 Oct 2002 23:44:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:44:36 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA05052 for ; Sun, 22 Nov 1998 12:20:34 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id LAB13585; Sun, 22 Nov 1998 11:18:06 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 22 Nov 1998 11:18:03 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id LAA28216 for ; Sun, 22 Nov 1998 11:17:53 -0600 (CST) Original-Received: from slow.bp.aventail.com (user-38lc2cj.dialup.mindspring.com [209.86.9.147]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA05009 for ; Sun, 22 Nov 1998 12:17:44 -0500 (EST) Original-Received: from kramer.bp.aventail.com (kramer.bp.aventail.com [192.168.2.2]) by slow.bp.aventail.com (8.8.5/8.8.5) with ESMTP id MAA05308 for ; Sun, 22 Nov 1998 12:17:46 -0800 Original-Received: (from wmperry@localhost) by kramer.bp.aventail.com (8.8.5/8.8.5) id MAA04270; Sun, 22 Nov 1998 12:18:50 -0500 Original-To: ding@gnus.org X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 writes: > wmperry@aventail.com (William M. Perry) writes: > > > Nope, all in lisp. Emacs/W3 still does do it, I just didn't remember the > > function name correctly. > > > > (defun url-lazy-message (&rest args) > > "Just like `message', but is a no-op if called more than once a second. > > No, not like that -- the other way around. The postponed message I > envision will only be shown if not preempted a quarter second after it > was suggested. > > (postponed-message "This takes a long time" > (do-something)) > > will be shown if `(do-something)' takes a long while. > > The length of time between messages isn't the concern, although it has > an effect on that as well. You could do this with itimers, but that's kind of yucky. :) -Bill P.