"martin" == martin [EMAIL PROTECTED] com <[EMAIL PROTECTED]> writes:

    martin> Nelson Ferreira wrote:

[...]

    martin> Yes, I'm using q to exit gnus. I've just tried using s as
    martin> well and this also doesn't save the changes. I still get
    martin> prompted by emacs at quit time to save
    martin> Mail/Jun-2006/Inbox. 

Barring any weird bug in Gnus, this leads me to think that Gnus is not
thinking of this folder as in it's active select methods...
And I think I know why. See how it is trying to place the archive
inside the Jun-2006 dir? This must be preventing Gnus from considering
that as a managed group. Try:

(setq nnmail-expiry-target
        '(lambda (group)
         (concat "nnfolder:"
                 (format-time-string "%b-%Y-" (current-time))
                 group)))

Notice that I replaced the '.' after the year with a dash.


    martin> Must gnus open an mbox file in a buffer to append expired
    martin> messages to it ? 

Yes. That is how elisp handles updates to files.

    martin> I'm starting to think that even if I can get it to save
    martin> the changes, it is going to cause problems once I start
    martin> having up to a month worth of various mailing list mboxes
    martin> open in various buffers.

They will only be opened if:
     a) You accessed them and did not exit the group
     b) Some messages were recently expired there.

    martin> Is going to a different backend for expiry-targets the
    martin> only way to solve this ?

If the change I suggest above does not do it, then it is the only one
_I_ see. Maybe someone more knowledgeable here can give a better suggestion.

-- 
Nelson Ferreira
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to