From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19054 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 10:02:46 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <86k90nepnt.fsf@kramer.bp.aventail.com> References: <86g1bdgw4x.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 1035157474 9606 80.91.224.250 (20 Oct 2002 23:44:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:44:34 +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 KAA03206 for ; Sun, 22 Nov 1998 10:02:37 -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 JAB11249; Sun, 22 Nov 1998 09:02:26 -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 09:02:13 -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 JAA26782 for ; Sun, 22 Nov 1998 09:02:04 -0600 (CST) Original-Received: from slow.bp.aventail.com (vinb14.cntwk.net [207.205.120.156]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA03184 for ; Sun, 22 Nov 1998 10:01:55 -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 KAA04378 for ; Sun, 22 Nov 1998 10:01:38 -0800 Original-Received: (from wmperry@localhost) by kramer.bp.aventail.com (8.8.5/8.8.5) id KAA03736; Sun, 22 Nov 1998 10:02:46 -0500 Original-To: ding@gnus.org X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 writes: > wmperry@aventail.com (William M. Perry) writes: > > > Emacs/W3 used to do this, it was pretty nice, and pretty easy to > > implement. > > Was this done in the C layer? If not, how could one do this without > having the body of the form call `(sleep 0)' or the like? 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. Will not do anything if url-show-status is nil." (if (or (null url-show-status) (active-minibuffer-window) (= url-lazy-message-time (setq url-lazy-message-time (nth 1 (current-time))))) nil (apply 'message args))) -Bill P.