From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: blinking the modeline Date: Wed, 23 Apr 2003 17:18:23 GMT Organization: Genuity Managed Services, Woburn, MA Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1051118519 10420 80.91.224.249 (23 Apr 2003 17:21:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2003 17:21:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 23 19:21:56 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 198NwS-0002hb-00 for ; Wed, 23 Apr 2003 19:21:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 198NvP-0004VM-05 for gnu-help-gnu-emacs@m.gmane.org; Wed, 23 Apr 2003 13:20:51 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!paloalto-snf1.gtei.net!mtvwca1-snh1.ops.genuity.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Newsreader: trn 4.0-test72 (19 April 1999) Originator: barmar@genuity.net (Barry Margolin) Original-Lines: 19 Original-X-Trace: /wObnYZZ36CkHqD2BH4LAESXB+XZGEi9a9829ALw4Nx8TUP+oKstYSWE0ZqyWpOFbDNzakqfy2dW!oz+jixpm4v/JzUkBS0CUV97XcxEnBWECfHxsjyJ+25R0xANKhHa3ufQWayxrnYKryi2MY4ug0i+E!f8k8ybgqDo4= Original-X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Original-NNTP-Posting-Date: Wed, 23 Apr 2003 17:18:23 GMT Original-Distribution: world Original-Xref: shelby.stanford.edu gnu.emacs.help:112229 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8728 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8728 In article , Rob Meyer wrote: >What I'm trying to do is flash the mode line every 180 seconds or so >while Emacs is idle. The firewalls at work close the tcp conduit if >there is no activity for some ridiculously low timeout (5 minutes or >so). I could of course suspend Emacs and do my usual trick, "iostat >180", but I'd rather do it in emacs. I've figured out that >run-with-idle-timer won't really do what I want since it will only run >once and I'll have to figure out something more complex there. I >thought that would be the hard party, but.... Why don't you just turn on the time display on the mode line, with (display-time)? It will update every minute. -- Barry Margolin, barry.margolin@level3.com Genuity Managed Services, a Level(3) Company, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.