From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28651 Path: main.gmane.org!not-for-mail From: Roman Belenov Newsgroups: gmane.emacs.gnus.general Subject: Re: New mail indicator Date: 07 Jan 2000 19:56:27 +0300 Sender: owner-ding@hpc.uh.edu Message-ID: References: <86ogaye150.fsf@mediawars.ne.jp> <86d7rexcf6.fsf@mediawars.ne.jp> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035165461 30949 80.91.224.250 (21 Oct 2002 01:57:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:57:41 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 8D6FAD051F for ; Fri, 7 Jan 2000 12:02:07 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB20177; Fri, 7 Jan 2000 10:58:27 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 07 Jan 2000 10:58:24 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id KAA10774 for ; Fri, 7 Jan 2000 10:58:12 -0600 (CST) Original-Received: from host.nstl.nnov.ru (host.nstl.nnov.ru [195.98.59.131]) by mailhost.sclp.com (Postfix) with ESMTP id D74BDD051F for ; Fri, 7 Jan 2000 11:56:36 -0500 (EST) Original-Received: from bsd.nstl.nnov.ru (bsd.nstl.nnov.ru [195.98.49.2]) by host.nstl.nnov.ru (8.9.3/8.9.3) with ESMTP id TAA57269; Fri, 7 Jan 2000 19:56:35 +0300 (MSK) (envelope-from roman@nstl.nnov.ru) Original-Received: from nstl.nstl.nnov.ru (nstl.nstl.nnov.ru [195.98.58.2]) by bsd.nstl.nnov.ru (8.9.3/8.9.3) with ESMTP id UAA45126; Fri, 7 Jan 2000 20:00:20 +0300 (MSK) (envelope-from roman@nstl.nnov.ru) Original-Received: from LIGHTHOUSE (nc034.nstl.nnov.ru [195.98.58.34] (may be forged)) by nstl.nstl.nnov.ru (8.9.3/8.9.3) with ESMTP id TAA19296; Fri, 7 Jan 2000 19:31:35 +0300 (MSK/MSD) Original-To: Shigeki Uno In-Reply-To: Shigeki Uno's message of "07 Jan 2000 22:02:21 +0900" Original-Lines: 33 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28651 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28651 Shigeki Uno writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: >=20 > > Roman Belenov writes: > >=20 > > > So it's not related to my question (I don't have /var/... at all = under > > > Windows NT). Is there a way to indicate that there are unread mes= sages > > > in Gnus ? > >=20 >=20 > Well, in group buffer, I can usually see how many unread messages are > in each topics(?) like this: Now, I wanted to see if new mail have arrived without switching to Gnus (I use Gnus daemon to get new mail). BTW I altered my mode line to show the number of unread messages (if there are any), but encountered the following problem: is there a hook that is called *after* the article was marked as read. I defined a function that changes the modeline and call it after the new mail was obtained (via gnus-after-getting-new-news-hook), but it also should be called when articles are marked as read so what mode line will always present correct number of unread articles; I tried some hooks like gnus-mark-article-hook without success. Are there any suitable hooks for this ? Also I found that functions mentioned by Kai (gnus-topic-unread etc.) are not even mentioned in the texinfo documentation, although they are quite useful. --=20 With regards, Roman.