Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Messages Expire Even in Non-Expiry Group
Date: Fri, 16 May 2003 16:25:30 +0900	[thread overview]
Message-ID: <b9y8yt78iad.fsf@jpl.org> (raw)
In-Reply-To: <84k7crxvlw.fsf@lucy.is.informatik.uni-duisburg.de>

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

Hi,

>>>>> In <84k7crxvlw.fsf@lucy.is.informatik.uni-duisburg.de>
>>>>>	kai.grossjohann@gmx.net (Kai Großjohann) wrote:

> Messages marked `E' are supposed to be expired, *except* if
> nnmail-expiry-wait or nnmail-expiry-target say something else.

> So, actually, Gnus seems to have had a bug before that was now
> fixed...

I've made the following change in T-gnus (based on Gnus, using
SEMI and FLIM for MIME functions):

1999-01-18  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-sum.el (gnus-summary-move-article): Don't copy expirable
	marks if the destination group is not expirable.

Here's a patch for the recent Gnus.  How is it?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 874 bytes --]

--- gnus-sum.el~	2003-05-13 22:58:57 +0000
+++ gnus-sum.el	2003-05-16 07:24:10 +0000
@@ -8793,6 +8793,9 @@
 		 (crosspost "Crosspost" "Crossposting")))
 	(copy-buf (save-excursion
 		    (nnheader-set-temp-buffer " *copy article*")))
+	(default-marks gnus-article-mark-lists)
+	(no-expire-marks (delete '(expirable . expire)
+				 (copy-sequence gnus-article-mark-lists)))
 	art-group to-method new-xref article to-groups)
     (unless (assq action names)
       (error "Unknown action %s" action))
@@ -8922,7 +8925,9 @@
 				       (list (cdr art-group)))))
 
 	    ;; See whether the article is to be put in the cache.
-	    (let ((marks gnus-article-mark-lists)
+	    (let ((marks (if (gnus-group-auto-expirable-p to-group)
+			     default-marks
+			   no-expire-marks))
 		  (to-article (cdr art-group)))
 
 	      ;; Enter the article into the cache in the new group,

  reply	other threads:[~2003-05-16  7:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-15 19:54 Jake Colman
2003-05-16  6:18 ` Kai Großjohann
2003-05-16  7:25   ` Katsumi Yamaoka [this message]
2003-05-16 14:34     ` Jake Colman
2003-05-16 16:01       ` Katsumi Yamaoka

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=b9y8yt78iad.fsf@jpl.org \
    --to=yamaoka@jpl.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).