Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Cannot subscribe or see nndrafts folder upon startup
Date: Fri, 01 Jul 2011 15:34:59 +0900	[thread overview]
Message-ID: <b4mpqluqzjg.fsf@jpl.org> (raw)
In-Reply-To: <b4mliwitzj8.fsf@jpl.org>

Katsumi Yamaoka wrote:
> Lars Magne Ingebrigtsen wrote:
>> However, the drafts group could update itself when you delete a message
>> from it, for instance.  That would only be slightly inconsistent.

> When exiting a drafts' summary, `gnus-summary-prepare-exit-hook'
> runs `gnus-draft-clear-marks' to mark all articles, that ACTIVE
> asserts that they exist, as unread.  However, it doesn't care
> deleted articles; IOW, ACTIVE doesn't know them at that time.
> That is the reason articles count is not decreased after deleting
> draft messages as before.  I've installed a fix.

Er, the fix was incomplete.  It doesn't work properly if there're
sparse draft messages.  ACTIVE says only min. and max. articles,
however there will not necessarily be all articles successively
in the range.  Maybe newsgroup's read articles info, and also
ACTIVE, have to be updated when exiting the draft group.  I will
continue working on this...



  reply	other threads:[~2011-07-01  6:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-13 23:27 nyc4bos
2011-06-26  9:41 ` Lars Magne Ingebrigtsen
2011-06-27 22:36   ` nyc4bos
2011-06-28  0:12     ` Katsumi Yamaoka
2011-06-29 11:27       ` Katsumi Yamaoka
2011-06-30  1:25         ` Katsumi Yamaoka
2011-06-30  2:26           ` Lars Magne Ingebrigtsen
2011-06-30 10:43             ` Richard Riley
2011-06-30 17:02               ` Lars Magne Ingebrigtsen
2011-07-01  4:06                 ` Katsumi Yamaoka
2011-07-01  6:34                   ` Katsumi Yamaoka [this message]
2011-07-01 10:34                     ` Katsumi Yamaoka
2011-07-02 18:58                       ` nyc4bos
2011-07-03 23:23                         ` Katsumi Yamaoka
2011-07-04  1:14                           ` Katsumi Yamaoka
2011-07-06 23:26                             ` nyc4bos
2011-07-02 18:51           ` nyc4bos

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=b4mpqluqzjg.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /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).