Gnus development mailing list
 help / color / mirror / Atom feed
* Can Gnus show which folders have new mail?
@ 1997-07-18 20:43 Eze Ogwuma
  1997-07-18 21:00 ` Danny Siu
  1997-07-18 21:13 ` Mark Boyns
  0 siblings, 2 replies; 4+ messages in thread
From: Eze Ogwuma @ 1997-07-18 20:43 UTC (permalink / raw)


Hi,

Is there a way to get Gnus to indicate which folders have new mail
messages? I use nnml to read my mail and when I type "g" I would like
to have Gnus highlight the folders that have got the new mail until I
enter them or exit Gnus.

-- 
Eze Ogwuma


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

* Re: Can Gnus show which folders have new mail?
  1997-07-18 20:43 Can Gnus show which folders have new mail? Eze Ogwuma
@ 1997-07-18 21:00 ` Danny Siu
  1997-07-18 22:17   ` Eze Ogwuma
  1997-07-18 21:13 ` Mark Boyns
  1 sibling, 1 reply; 4+ messages in thread
From: Danny Siu @ 1997-07-18 21:00 UTC (permalink / raw)


Eze Ogwuma writes:

  Eze> Hi, Is there a way to get Gnus to indicate which folders have new
  Eze> mail messages? I use nnml to read my mail and when I type "g" I would
  Eze> like to have Gnus highlight the folders that have got the new mail
  Eze> until I enter them or exit Gnus.

  Eze> -- Eze Ogwuma

Use "%m" in gnus-group-line-format.  It won't highlight the group name but
it shows a "%" mark if the group has new mails.

>From Gnus info:

Group Line Specification
------------------------
...

`m'
     `%' (`gnus-new-mail-mark') if there has arrived new mail to the
     group lately.
...


-- 
                                                                ^..^
 '/..\"                                                        ( oo )  )~
m( oo )m                                                         ,,  ,,
/=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\
|  Danny Dick-Fung Siu                http://www-leland.stanford.edu/~dsiu |
|  Reference System Group             http://www.csua.berkeley.edu/~dsiu   |
|  Adobe Systems Incorporated       E-Mail:<dsiu@alumni.eecs.berkeley.edu> |
|       "What do you expect from a         <dsiu@leland.stanford.edu>      |
|          Cal. Berkeley grad.?"           <dsiu@adobe.com>                |
\=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/


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

* Re: Can Gnus show which folders have new mail?
  1997-07-18 20:43 Can Gnus show which folders have new mail? Eze Ogwuma
  1997-07-18 21:00 ` Danny Siu
@ 1997-07-18 21:13 ` Mark Boyns
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Boyns @ 1997-07-18 21:13 UTC (permalink / raw)
  Cc: ding

18 Jul 1997 zcaceog@ucl.ac.uk writes:

> Hi,
> 
> Is there a way to get Gnus to indicate which folders have new mail
> messages? I use nnml to read my mail and when I type "g" I would like
> to have Gnus highlight the folders that have got the new mail until I
> enter them or exit Gnus.
> 
> -- 
> Eze Ogwuma

Use nnmail-new-mail-p in gnus-group-highlight.  Here is mine:

(setq gnus-group-highlight `(((nnmail-new-mail-p (gnus-group-real-name group)) .
			      ,(custom-face-lookup "Gold" nil nil t nil nil))
			     ((string-match "announce" group) .
			      ,(custom-face-lookup "Magenta" nil nil t nil nil))
			     ((> unread 200) .
			      ,(custom-face-lookup "Red" nil nil t nil nil))
			     ((and (< level 3) (> unread 0)) .
			      ,(custom-face-lookup "white" nil nil t nil nil))
			     ((and (< level 6) (> unread 0)) .
			      ,(custom-face-lookup "white" nil nil t nil nil))
			     ((and (< level 10) (> unread 0)) .
			      ,(custom-face-lookup "Salmon" nil nil t nil nil))
			     ))


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

* Re: Can Gnus show which folders have new mail?
  1997-07-18 21:00 ` Danny Siu
@ 1997-07-18 22:17   ` Eze Ogwuma
  0 siblings, 0 replies; 4+ messages in thread
From: Eze Ogwuma @ 1997-07-18 22:17 UTC (permalink / raw)


Thanks

I'll give both of these a try and see which I prefer.

-- 
Eze Ogwuma


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

end of thread, other threads:[~1997-07-18 22:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-07-18 20:43 Can Gnus show which folders have new mail? Eze Ogwuma
1997-07-18 21:00 ` Danny Siu
1997-07-18 22:17   ` Eze Ogwuma
1997-07-18 21:13 ` Mark Boyns

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).