From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42187 Path: main.gmane.org!not-for-mail From: Pavel@Janik.cz (Pavel =?iso-8859-2?q?Jan=EDk?=) Newsgroups: gmane.emacs.gnus.general Subject: display-time-mail-function and GNU Emacs 21 Date: Sat, 19 Jan 2002 12:46:57 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035177462 10030 80.91.224.250 (21 Oct 2002 05:17:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:17:42 +0000 (UTC) Return-Path: Original-Received: (qmail 959 invoked from network); 19 Jan 2002 13:54:52 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 19 Jan 2002 13:54:52 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16Rvwf-0002R4-00; Sat, 19 Jan 2002 07:54:09 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 19 Jan 2002 07:54:02 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id HAA16344 for ; Sat, 19 Jan 2002 07:53:52 -0600 (CST) Original-Received: (qmail 944 invoked by alias); 19 Jan 2002 13:53:52 -0000 Original-Received: (qmail 939 invoked from network); 19 Jan 2002 13:53:52 -0000 Original-Received: from p0020.as-l043.contactel.cz (HELO SnowWhite.SuSE.cz) (194.108.242.20) by gnus.org with SMTP; 19 Jan 2002 13:53:52 -0000 Original-Received: by SnowWhite.SuSE.cz (PJ, from userid 500) id 15250441C3; Sat, 19 Jan 2002 14:56:07 +0100 (CET) Original-To: GNUS mailing list Mail-Copies-To: never X-Face: $"d&^B_IKlTHX!y2d,3;grhwjOBqOli]LV`6d]58%5'x/kBd7.MO&n3bJ@Zkf&RfBu|^qL+ ?/Re{MpTqanXS2'~Qp'J2p^M7uM:zp[1Xq#{|C!*'&NvCC[9!|=>#qHqIhroq_S"MH8nSH+d^9*BF: iHiAs(t(~b#1.{w.d[=Z In-Reply-To: (Dave Love's message of "Sun, 7 May 2000 20:03:59 +0100") User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (i386-suse-linux-gnu) Original-Lines: 19 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42187 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42187 Hi, GNU Emacs 21.1 supports display-time-mail-icon and similar stuff which allows you to display a mail icon in the mode-line if you have new mail. Do we have any generic way to check, if the user has new mail? GNU Emacs has display-time-mail-function which is the function to call, for indicating existence of new mail. And this could be hooked together with some Gnus function. Do we have generic one for all backends? Should we have one? I use procmail to sort my files, so I have written a function to check if there is any file with non-zero length and am using it. But it would be nice if it could be done automagically ;-) -- Pavel Janík panic("Lucy in the sky...."); -- 2.2.16 arch/sparc64/kernel/starfire.c