* How to make articles unread during fetching
@ 2016-01-30 19:21 Jan Stranik
2016-01-31 19:59 ` Andreas Schwab
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jan Stranik @ 2016-01-30 19:21 UTC (permalink / raw)
To: ding
Hello,
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?
The reason for me wanting to have all fetched mails be unread is that I
occasionally use my phone to see mails in inbox. Once these mails are
marked as read, they disappear from default view in gnus.
--
Jan Stranik
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to make articles unread during fetching
2016-01-30 19:21 How to make articles unread during fetching Jan Stranik
@ 2016-01-31 19:59 ` Andreas Schwab
2016-01-31 22:45 ` Dave Goldberg
2016-02-01 3:04 ` Eric Abrahamsen
2 siblings, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2016-01-31 19:59 UTC (permalink / raw)
To: Jan Stranik; +Cc: ding
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."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to make articles unread during fetching
2016-01-30 19:21 How to make articles unread during fetching Jan Stranik
2016-01-31 19:59 ` Andreas Schwab
@ 2016-01-31 22:45 ` Dave Goldberg
2016-02-01 3:04 ` Eric Abrahamsen
2 siblings, 0 replies; 4+ messages in thread
From: Dave Goldberg @ 2016-01-31 22:45 UTC (permalink / raw)
To: ding
Are you fetching the mail (downloading copies similar to POP)? Or are you using the nnimap back end? The behavior you describe sounds like the latter. In that case I have a similar situation and set
(display . [and unseen unread])
as a group parameter for my primary inbox group. The unseen appears to be Gnus specific so while the message read on the phone would be marked as read, it will show up in the summary.
--
Dave Goldberg
david.goldberg6@verizon.net
-----Original Message-----
From: Jan Stranik <jan.ng@stranik.org>
Date: Sat, 30 Jan 2016 14:21:40 -0500
Subject: How to make articles unread during fetching
To: ding@gnus.org
Hello,
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?
The reason for me wanting to have all fetched mails be unread is that I
occasionally use my phone to see mails in inbox. Once these mails are
marked as read, they disappear from default view in gnus.
--
Jan Stranik
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to make articles unread during fetching
2016-01-30 19:21 How to make articles unread during fetching Jan Stranik
2016-01-31 19:59 ` Andreas Schwab
2016-01-31 22:45 ` Dave Goldberg
@ 2016-02-01 3:04 ` Eric Abrahamsen
2 siblings, 0 replies; 4+ messages in thread
From: Eric Abrahamsen @ 2016-02-01 3:04 UTC (permalink / raw)
To: ding
Jan Stranik <jan.ng@stranik.org> writes:
> Hello,
>
> 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?
>
> The reason for me wanting to have all fetched mails be unread is that I
> occasionally use my phone to see mails in inbox. Once these mails are
> marked as read, they disappear from default view in gnus.
I solved this the other way, by telling my phone email client (K-9)
never to mark mails as read, unless I do it manually.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-02-01 3:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-30 19:21 How to make articles unread during fetching Jan Stranik
2016-01-31 19:59 ` Andreas Schwab
2016-01-31 22:45 ` Dave Goldberg
2016-02-01 3:04 ` Eric Abrahamsen
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).