Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Re: Agent: visual feedback about downloaded articles
Date: Fri, 18 Oct 2002 13:53:59 +0200	[thread overview]
Message-ID: <84y98wm088.fsf@crybaby.cs.uni-dortmund.de> (raw)
In-Reply-To: <uelaob2qe.fsf@adobe.com>

Danny Siu <dsiu@adobe.com> writes:

> So no one wanna take this on?  Or it has been done?

I've done it.  Please try it to see whether it prints meaningful
things.

(defun kai-gnus-article-downloaded-p (header)
  "Say whether ARTICLE has been downloaded or not."
  (cdr (assq (aref header 0) gnus-agent-article-alist)))

(add-to-list 'gnus-summary-line-format-alist
	     '(?+ (if (kai-gnus-article-downloaded-p gnus-tmp-header)
		      "+" "-")
		  ?s))

After these lines, you can add %+ in gnus-summary-line-format.

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)



  reply	other threads:[~2002-10-18 11:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01 12:42 Kai Großjohann
2002-10-18  7:55 ` Danny Siu
2002-10-18 11:53   ` Kai Großjohann [this message]
2002-10-21  6:42     ` Danny Siu
2002-10-21  8:26       ` Kai Großjohann
2002-10-21  8:56         ` Danny Siu
2002-10-21 13:49           ` Kai Großjohann
2002-10-22  6:59             ` Danny Siu
2002-10-22  8:34               ` Kai Großjohann

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=84y98wm088.fsf@crybaby.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    /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).