Gnus development mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Jan Stranik <jan.ng@stranik.org>
Cc: ding@gnus.org
Subject: Re: How to make articles unread during fetching
Date: Sun, 31 Jan 2016 20:59:18 +0100	[thread overview]
Message-ID: <87mvrl7c6h.fsf@linux-m68k.org> (raw)
In-Reply-To: <87fuxerhyz.fsf@stranik.org> (Jan Stranik's message of "Sat, 30 Jan 2016 14:21:40 -0500")

Jan Stranik <jan.ng@stranik.org> writes:

> I'm using gnus to fetch email from my ISP using IMAP. I would like to
> mark all mail that are fetched from IMAP as unread. What is the right
> hook to mark processed mails as un-read?

If you use the imap mail-source then you can use :fetchflag to control
what flag is set on fetch (you also need to set :predicate to an
appropriate predicate to match new mail).

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



  reply	other threads:[~2016-01-31 19:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-30 19:21 Jan Stranik
2016-01-31 19:59 ` Andreas Schwab [this message]
2016-01-31 22:45 ` Dave Goldberg
2016-02-01  3:04 ` Eric Abrahamsen

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=87mvrl7c6h.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=ding@gnus.org \
    --cc=jan.ng@stranik.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).