From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: wgreenhouse@riseup.net (W. Greenhouse) Newsgroups: gmane.emacs.help Subject: Re: Gnus does not see new mail in Maildirs Date: Sat, 30 Nov 2013 07:25:48 +0000 Message-ID: <87siue9wqr.fsf@motoko.kusanagi> References: <5b6911644bf8063cf44102cc440f08fd@mailoo.org> <87iovac3u0.fsf@motoko.kusanagi> <20131129214125.GA6375@debian.ecchi-bear> <87a9gmbxic.fsf@motoko.kusanagi> <20131129234847.GA11728@debian.ecchi-bear> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385796378 31081 80.91.229.3 (30 Nov 2013 07:26:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Nov 2013 07:26:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 30 08:26:23 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VmewY-0001ib-3I for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Nov 2013 08:26:22 +0100 Original-Received: from localhost ([::1]:51148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmewX-0007a8-LK for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Nov 2013 02:26:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmewI-0007Zr-HF for help-gnu-emacs@gnu.org; Sat, 30 Nov 2013 02:26:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VmewC-0007Pa-CT for help-gnu-emacs@gnu.org; Sat, 30 Nov 2013 02:26:06 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:58263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmewC-0007PW-5M for help-gnu-emacs@gnu.org; Sat, 30 Nov 2013 02:26:00 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VmewB-0001SY-2H for help-gnu-emacs@gnu.org; Sat, 30 Nov 2013 08:25:59 +0100 Original-Received: from lumumba.torservers.net ([77.247.181.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Nov 2013 08:25:59 +0100 Original-Received: from wgreenhouse by lumumba.torservers.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Nov 2013 08:25:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lumumba.torservers.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:HjJDCi26YnFndNx+S/HG/uYMHpg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94742 Archived-At: Alexis Praga writes: > On Fri, Nov 29, 2013 at 11:26:19PM +0000, William G. Gardella wrote: >> "g" from the *Group* buffer should Just Work now. All messages in new/, >> and all messages not marked as Seen in cur/, will count towards the group's >> Unread count. If this isn't working yet, it's likely that there is >> something else strange going on with your config. >> >> As per the Maildir standard, MTAs/MDAs which are compatible with the >> Maildir format deliver to new/, and when flags (for example "Seen") are >> appended, the mail is moved from new/ to cur/ with the filename altered >> appropriately, e.g. ~/Mail/Inbox/new/[some-maildir-id] becomes >> ~/Mail/Inbox/cur/[some-maildir-id];S when marked Seen by Gnus. > > I have been doing some tests by moving old mails in Inbox/new and > testing the different configurations. > > At the moment, Mutt (which works correctly) moves the mail from > Inbox/new to Inbox/cur and appends a ';S' to the name as you say. > However, when starting Gnus, new mail is directly moved to Inbox/cur > without the Seen flag. And after reading it, the Seen flag is still > not appended ! Yeah, now that I look at it, you're correct; Gnus moves from new/ to cur/ as part of its initial processing of incoming mail (generating news overview files from the metadata and stashing them away in .nnmaildir inside the Maildir). It is only marked as read, though when quitting or manually updating the group, with q or x respectively. > Can it be due to some file locking ? > Also, would it help to do some kind of reinitialization of gnus ? Are you keeping the *Summary ...* buffer for your Maildir open during this testing? If so, I think that's the problem. Changes to a message's unread or flagged state are not actually committed to the Maildir until you do x (`gnus-summary-limit-to-unread') or q (`gnus-summary-exit').