Gnus development mailing list
 help / color / mirror / Atom feed
From: Danny Siu <dsiu@adobe.com>
Subject: Re: Gnus lies about downloaded state
Date: Thu, 23 Jan 2003 11:45:16 -0800	[thread overview]
Message-ID: <u7kcv1whf.fsf@adobe.com> (raw)
In-Reply-To: <ubs28cxqp.fsf@xpediantsolutions.com> (Kevin Greiner's message of "Wed, 22 Jan 2003 22:10:22 -0600")

Kevin Greiner writes:

  Kevin> Danny, We've been on this thread for a week now.  Can you summarize
  Kevin> the error that you are currently seeing?  We've had so many posts
  Kevin> that I'm not certain that I understand the current situation.

I think I am close to nailing down the cause of the problem.  Will need to
debug more to confirm my result.  Here are the high level bits.

The problem arises in gnus-summary-prepare-unthreaded and
gnus-summary-prepare-threads where gnus-newsgroup-undownloaded contains
incorrect article numbers of undownloadeds when those articles are actually
downloaded.  i tracked it down to gnus-select-newsgroup() which uses
gnus-agent-get-undownloaded-list to update gnus-newsgroup-undownloaded.

In gnus-agent-get-undownloaded-list(), sometimes 'undownloaded' is
calculated incorrectly and hence affacts gnus-newsgroup-undownloaded which
used by gnus-sum.  undownloaded contains a list of article number which are
in fact downloaded.  That is confirmed by breaking and looking at (alist
(gnus-agent-load-alist gnus-newsgroup-name)) at the very beginning.

One more observation: entering a group with and without prefix (C-u) MADE a
different on how the summary buffer is highlighted.  C-u enter a group
almost always give me a correctly highlighted summary versus entering a
group without prefix will show the problem of incorrectly highlighted
download states.  In debugging gnus-agent-get-undownloaded-list(), I think
the two cases differs only in the content of (headers
gnus-newsgroup-headers).

Any additional info is welcome.  I will dig in more later today.

  Kevin> If the problem is in the selection of the face, you should check
  Kevin> the value of gnus-summary-highlight.  It's value is expanded into a
  Kevin> cond so the first case that matches determines the face.

-- 
Danny Siu




  parent reply	other threads:[~2003-01-23 19:45 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-14 17:28 Kai Großjohann
2003-01-14 21:42 ` kgreiner
2003-01-15  7:11   ` Kai Großjohann
2003-01-15  7:12   ` Kai Großjohann
2003-01-15  7:16   ` Kai Großjohann
2003-01-14 22:19 ` Danny Siu
2003-01-15  6:08   ` Kevin Greiner
2003-01-15  8:56     ` Danny Siu
2003-01-15 14:16     ` Kai Großjohann
2003-01-15 15:12       ` Kevin Greiner
2003-01-15 16:07         ` Kai Großjohann
2003-01-15 21:07           ` Kevin Greiner
2003-01-16  4:29           ` Kevin Greiner
2003-01-16  7:52             ` Danny Siu
2003-01-16 13:02               ` Kevin Greiner
2003-01-16 20:53                 ` Danny Siu
2003-01-16 22:31                   ` Kevin Greiner
2003-01-16 23:08                     ` Danny Siu
2003-01-17  3:35                       ` Kevin Greiner
2003-01-18 13:49             ` Kai Großjohann
2003-01-19 16:42               ` Kevin Greiner
2003-01-22 19:38                 ` Danny Siu
2003-01-23  4:10                   ` Kevin Greiner
2003-01-23 10:39                     ` Kai Großjohann
2003-01-23 13:16                       ` Kevin Greiner
2003-01-23 14:11                         ` Kai Großjohann
2003-01-23 19:45                     ` Danny Siu [this message]
2003-01-23 10:30                   ` Kai Großjohann
2003-01-15 18:27         ` Danny Siu
2003-01-16  1:21 Danny Siu

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