Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bbn!jr@bbn.com From: jr@bbn.com (John Robinson) Newsgroups: gnu.emacs Subject: Re: display-time Message-ID: <40157@bbn.COM> Date: 18 May 89 20:43:58 GMT References: <24576@agate.BERKELEY.EDU> Sender: news@bbn.COM Reply-To: jr@bbn.com (John Robinson) Organization: BBN Systems and Technologies Corporation, Cambridge MA Lines: 25 In-reply-to: alanw@django.berkeley.edu (Alan Weinstein) In article <24576@agate.BERKELEY.EDU>, alanw@django (Alan Weinstein) writes: >Is it possible to eliminate the "load" information from the status >line when display-time is invoked? display-time simply runs the program `loadst'. Normally, this resolves to /usr/local/emacs/etc/loadst, but if your exec-path variable has a directory earlier than that one that contains an executable loadst, it will be used instead. So you can modify loadst.c to make a private version, or better yet, simply make it the shellscript: while true do date +%r sleep $2 done (note: emacs calls loadst with arguments of -n and , which defaults to 60. To be squeaky clean, the shellscript should check its arguments). I once used this trick to get a modeline that said [News] when rn -c -s had non-0 exit status. Now there's always news, so I don't bother. -- /jr, nee John Robinson What a waste it is to lose one's mind--or not jr@bbn.com or bbn!jr to have a mind. How true that is. -Dan Quayle