Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Sriram Karra <karra@shakti.homelinux.net>
Subject: Re: turning off "Mail" on mode line after fetching new mail
Date: Mon, 09 Jun 2003 11:36:34 +0530	[thread overview]
Message-ID: <xeq38ysbeqdx.fsf@desh.cisco.com> (raw)
In-Reply-To: <m3smqliq9w.fsf@quimbies.gnus.org>

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.


       reply	other threads:[~2003-06-09  6:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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       ` Sriram Karra [this message]
2003-06-23 23:14         ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xeq38ysbeqdx.fsf@desh.cisco.com \
    --to=karra@shakti.homelinux.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).