Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: info-gnus-english@gnu.org
Subject: Re: Problem with archive group
Date: Thu, 31 May 2007 17:04:39 +0900	[thread overview]
Message-ID: <b4mwsypl8q0.fsf@jpl.org> (raw)
In-Reply-To: <b4mk5urjfs9.fsf@jpl.org>

>>>>>> In <87r6p0b699.fsf@janni.cybervalley.org>
>>>>>>	leandro noferini wrote:

>> some days  ago I  changed my  archive group from  nnfolder to  nnml with
>> these lines in .gnus

>> (setq gnus-message-archive-method '(nnml "archive"
>> 					 (nnml-directory "~/Mail/archive")
>> 					 (nnml-active-file "~/Mail/archive/active")
>> 					 (nnml-get-new-mail nil)
>> 					 (nnml-inhibit-expiry t)))
>> (setq gnus-message-archive-group
>>        '((if (message-news-p)
>> 	     "misc-news"
>>            (concat "mail-" (format-time-string "%Y-%m")))))

>> But now I have in Summary this line for archive:

>> nnfolder+archive:mail-2007-05

>> And when I try to select this I cannot see anything: how could correct?

Another possible cause is that there has already been the file
named "~/Mail/archive/mail-2007-05", which archives past messages
in the nnfolder format.  It prevents Gnus from creating the nnml
group with the same name.  Because the nnml backend requires to
make a directory of which the name is a group name.  I confirmed
it with a new user account that I made for testing this issue.
If it is true of your case, I think it can be solved in this way:

1. Make a temporary nnml group with a unique name.  For instance,
   type `G m temp-2007-05 RET nnml RET' in the group buffer.

2. Open the nnfolder+archive:mail-2007-05 group using `C-u SPC',
   type `0 C-M-t M-< C-SPC M-> B m', and enter the name of the
   temporary nnml group that you made.

3. Exit the summary buffer, move the cursor to the
   nnfolder+archive:mail-2007-05 group, and type `C-u G DEL' in
   order to delete that nnfolder group throughly.

4. After the nnml+archive:mail-2007-05 group is created, move
   all the messages from the temporary nnml group there and
   delete the temporary nnml group as you did in 2. and 3.

Regards,

  reply	other threads:[~2007-05-31  8:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-29 12:17 leandro noferini
2007-05-30  0:50 ` Katsumi Yamaoka
2007-05-31  8:04   ` Katsumi Yamaoka [this message]
2007-06-01 20:16   ` leandro noferini
2007-06-01 21:16   ` leandro noferini

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=b4mwsypl8q0.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=info-gnus-english@gnu.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).