From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86682 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: How to make articles unread during fetching Date: Sun, 31 Jan 2016 20:59:18 +0100 Message-ID: <87mvrl7c6h.fsf@linux-m68k.org> References: <87fuxerhyz.fsf@stranik.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454270425 29283 80.91.229.3 (31 Jan 2016 20:00:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Jan 2016 20:00:25 +0000 (UTC) Cc: ding@gnus.org To: Jan Stranik Original-X-From: ding-owner+M34908@lists.math.uh.edu Sun Jan 31 21:00:13 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aPyAL-0004Je-4u for ding-account@gmane.org; Sun, 31 Jan 2016 21:00:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aPy9g-0005cH-FX; Sun, 31 Jan 2016 13:59:28 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aPy9d-0005bP-J9 for ding@lists.math.uh.edu; Sun, 31 Jan 2016 13:59:25 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aPy9b-0000A5-Ej for ding@lists.math.uh.edu; Sun, 31 Jan 2016 13:59:25 -0600 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by quimby.gnus.org with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aPy9Z-00061b-57 for ding@gnus.org; Sun, 31 Jan 2016 20:59:21 +0100 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3ptjsg4p3Fz3hjMG; Sun, 31 Jan 2016 20:59:19 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3ptjsg3jcJzvh1q; Sun, 31 Jan 2016 20:59:19 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id veQOXMEISBye; Sun, 31 Jan 2016 20:59:18 +0100 (CET) X-Auth-Info: w4Xxcecr+xC0773u+gi8dht2TJewFJ3c/7kUBySzh2xLXMH7CfR233ovZ4PsZXg7 Original-Received: from igel.home (ppp-93-104-187-183.dynamic.mnet-online.de [93.104.187.183]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 31 Jan 2016 20:59:18 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 33F462C36BA; Sun, 31 Jan 2016 20:59:18 +0100 (CET) X-Yow: I was born in a Hostess Cupcake factory before the sexual revolution! In-Reply-To: <87fuxerhyz.fsf@stranik.org> (Jan Stranik's message of "Sat, 30 Jan 2016 14:21:40 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86682 Archived-At: Jan Stranik 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."