Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Expiring and keeping marks
Date: Sun, 29 Dec 2002 16:27:10 +0100	[thread overview]
Message-ID: <m3el804zht.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <kpadlv4tme.fsf@wintermute.casa>

Jorge Godoy <godoy@ieee.org> writes:

> I use expire to move messages from one folder to another that will
> have a backup on CD. The problem is that when a message is expired, it
> looses all its marks (specially the read mark), making the folder
> appear on the list with unread messages. OK, I can press "c" on that
> folder and have all messages marked as read, but it would be much
> better if I had to do nothing. 

The problem is that the expiry move is done from a rather low level --
it's actually implemented in `nn*-request-expire-articles', which has
no concept of article marks at all.  So copying over marks would
probably require lots of hacking around.

(Well, I've looked over the code, and it actually wouldn't be all
that difficult.  The most fiddly bit would be to actually copy over
the marks.  Is there a function pair in Gnus that gets/sets article
marks for arbitrary groups?  I can't recall writing such functions,
but perhaps somebody else have?)

Anyway, I've now made `nnmail-expiry-target-group' mark articles as
read when it copies them over, which is simple enough to do.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



  parent reply	other threads:[~2002-12-29 15:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-03 12:03 Jorge Godoy
2002-10-03 15:00 ` Mike Woolley
2002-10-03 15:30   ` Kai Großjohann
2002-10-03 17:45     ` Jorge Godoy
2002-12-29 15:27 ` Lars Magne Ingebrigtsen [this message]
2002-12-30 13:49   ` Jorge Godoy
2002-12-30 14:08     ` Jorge Godoy
2002-12-30 15:51       ` Lars Magne Ingebrigtsen
2003-01-02 17:23         ` Simon Josefsson
2003-01-02 18:38           ` Lars Magne Ingebrigtsen
2002-12-31  9:05 ` Mike Woolley
2003-01-01 19:01   ` Lars Magne Ingebrigtsen

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=m3el804zht.fsf@quimbies.gnus.org \
    --to=larsi@gnus.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).