From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79306 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Cannot subscribe or see nndrafts folder upon startup Date: Fri, 01 Jul 2011 15:34:59 +0900 Organization: Emacsen advocacy group Message-ID: References: <2a8vsjwqeb.fsf@news.eternal-september.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1309502168 4357 80.91.229.12 (1 Jul 2011 06:36:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 06:36:08 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27602@lists.math.uh.edu Fri Jul 01 08:36:04 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QcXKd-0003kD-9R for ding-account@gmane.org; Fri, 01 Jul 2011 08:36:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QcXK1-0005ce-7W; Fri, 01 Jul 2011 01:35:25 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QcXJx-0005cQ-Az for ding@lists.math.uh.edu; Fri, 01 Jul 2011 01:35:21 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QcXJv-0004l7-Lb for ding@lists.math.uh.edu; Fri, 01 Jul 2011 01:35:21 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QcXJu-0003v5-3h for ding@gnus.org; Fri, 01 Jul 2011 08:35:18 +0200 Original-Received: from localhost ([127.0.0.1]:41337) by orlando.hostforweb.net with smtp (Exim 4.69) (envelope-from ) id 1QcXJm-0002E6-95 for ding@gnus.org; Fri, 01 Jul 2011 01:35:11 -0500 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (cygwin) Cancel-Lock: sha1:G4oefhrHaRbKFNhIFs411CbfHdc= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79306 Archived-At: 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...