Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: turning off "Mail" on mode line after fetching new mail
       [not found]     ` <m3smqliq9w.fsf@quimbies.gnus.org>
@ 2003-06-09  6:06       ` Sriram Karra
  2003-06-23 23:14         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Sriram Karra @ 2003-06-09  6:06 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: turning off "Mail" on mode line after fetching new mail
  2003-06-09  6:06       ` turning off "Mail" on mode line after fetching new mail Sriram Karra
@ 2003-06-23 23:14         ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-06-23 23:14 UTC (permalink / raw)


Sriram Karra <karra@shakti.homelinux.net> writes:

> 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, I think you should load display-time before loading Gnus.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-23 23:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <xeq3llwifimg.fsf@desh.cisco.com>
     [not found] ` <m34r31lo4b.fsf@quimbies.gnus.org>
     [not found]   ` <yoijr865wsjp.fsf@helm.dd.chalmers.se>
     [not found]     ` <m3smqliq9w.fsf@quimbies.gnus.org>
2003-06-09  6:06       ` turning off "Mail" on mode line after fetching new mail Sriram Karra
2003-06-23 23:14         ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).