From: Danny Siu <dsiu@adobe.com>
Subject: Re: Agent: visual feedback about downloaded articles
Date: Mon, 21 Oct 2002 14:42:10 +0800 [thread overview]
Message-ID: <u65vwfg3h.fsf@adobe.com> (raw)
In-Reply-To: <84y98wm088.fsf@crybaby.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Fri, 18 Oct 2002 13:53:59 +0200")
it works...sort of.
After setting that up, all my articles were indicated as "-" (not
downloaded) when indeed they have been (I manually looked at the agent
caches dir and found the download articles.)
However, after I select an article, quit the summary buffer and reenter, the
previously selected article is now indicated as downloaded. I use
gnus-agent-fetch-selected-article in gnus-select-article-hook.
Kai Großjohann writes:
Kai> Danny Siu <dsiu@adobe.com> writes:
>> So no one wanna take this on? Or it has been done?
Kai> I've done it. Please try it to see whether it prints meaningful
Kai> things.
Kai> (defun kai-gnus-article-downloaded-p (header)
Kai> "Say whether ARTICLE has been downloaded or not." (cdr (assq (aref
Kai> header 0) gnus-agent-article-alist)))
Kai> (add-to-list 'gnus-summary-line-format-alist
Kai> '(?+ (if (kai-gnus-article-downloaded-p gnus-tmp-header)
Kai> "+" "-")
Kai> ?s))
Kai> After these lines, you can add %+ in gnus-summary-line-format.
Kai> kai -- ~/.signature is: umop ap!sdn (Frank Nobis)
--
Danny Siu
next prev parent reply other threads:[~2002-10-21 6:42 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
2002-10-21 6:42 ` Danny Siu [this message]
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=u65vwfg3h.fsf@adobe.com \
--to=dsiu@adobe.com \
/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).