From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2594 Path: news.gmane.org!not-for-mail From: Sriram Karra Newsgroups: gmane.emacs.gnus.user Subject: Re: turning off "Mail" on mode line after fetching new mail Date: Mon, 09 Jun 2003 11:36:34 +0530 Organization: The Klingon High Council Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138668970 15713 80.91.229.2 (31 Jan 2006 00:56:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:56:10 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:56 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!newsfeed.news2me.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Mail-Copies-To: nobody X-Attribution: karra User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2.95 (usg-unix-v) Cancel-Lock: sha1:EX+o7/ukLKbn+G9OeAPiep9egS8= Cache-Post-Path: sj-nntpcache-5!unknown@desh.cisco.com X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-X-Complaints-To: abuse@supernews.com Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2734 Original-Lines: 36 X-Gnus-Article-Number: 2734 Tue Jan 17 17:30:56 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2594 Archived-At: Lars Magne Ingebrigtsen writes: > bojohan+news@dd.chalmers.se (Johan Bockgård) writes: > >>> How does one communicate this to `display-time'? >> >> Looks like it should do that already(?): >> >> (defcustom gnus-after-getting-new-news-hook >> '(gnus-display-time-event-handler >> ... > > Looking at the code, it looks like as if you have to have > display-time loaded before you load Gnus for it to work. > /----[ v5.10.2 ] | (defalias 'gnus-display-time-event-handler | (if (gnus-boundp 'display-time-timer) | 'display-time-event-handler | (lambda () "Does nothing as `display-time-timer' is not bound. | Would otherwise be an alias for `display-time-event-handler'." nil)))) \---- /----[ oort v0.08 ] | (defun gnus-display-time-event-handler () | "Like `display-time-event-handler', but test `display-time-timer'." | (when (gnus-boundp 'display-time-timer) | (display-time-event-handler))) \---- I guess the v5.10.2 way is faster... but is it not also broken? Can we revert to the older way of doing things? -- Well, all's well that ends.