all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: wgreenhouse@riseup.net (W. Greenhouse)
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus does not see new mail in Maildirs
Date: Sat, 30 Nov 2013 07:25:48 +0000	[thread overview]
Message-ID: <87siue9wqr.fsf@motoko.kusanagi> (raw)
In-Reply-To: 20131129234847.GA11728@debian.ecchi-bear

Alexis Praga <alexispraga@mailoo.org> 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').




  reply	other threads:[~2013-11-30  7:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-29 10:53 Gnus does not see new mail in Maildirs Alexis Praga
2013-11-29 21:09 ` William G. Gardella
2013-11-29 21:41   ` Alexis Praga
2013-11-29 23:26     ` William G. Gardella
2013-11-29 23:48       ` Alexis Praga
2013-11-30  7:25         ` W. Greenhouse [this message]
2013-11-30 11:24           ` Alexis Praga
     [not found]   ` <mailman.7507.1385761301.10748.help-gnu-emacs@gnu.org>
2013-11-29 22:22     ` Emanuel Berg
     [not found] ` <mailman.7504.1385759419.10748.help-gnu-emacs@gnu.org>
2013-11-29 21:36   ` Emanuel Berg
2013-11-30  0:03     ` William G. Gardella
     [not found]     ` <mailman.7595.1385769824.10748.help-gnu-emacs@gnu.org>
2013-11-30  0:35       ` Emanuel Berg
2013-12-09  9:13         ` Emacs and solarized Alexis Praga
2013-12-09 10:57           ` Ian van der Neut
2013-12-09 11:25             ` Alexis Praga
2013-12-10  9:51               ` Alexis Praga
2013-12-10 14:48                 ` William G. Gardella
2013-12-10 15:07                   ` Alexis Praga
2013-12-11  4:38                     ` W. Greenhouse
2013-12-11 10:19                       ` Alexis Praga
     [not found] <mailman.7471.1385738567.10748.help-gnu-emacs@gnu.org>
2013-11-29 19:18 ` Gnus does not see new mail in Maildirs Emanuel Berg

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=87siue9wqr.fsf@motoko.kusanagi \
    --to=wgreenhouse@riseup.net \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.