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: Wed, 30 May 2007 09:50:30 +0900	[thread overview]
Message-ID: <b4mk5urjfs9.fsf@jpl.org> (raw)
In-Reply-To: <87r6p0b699.fsf@janni.cybervalley.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?

I've been thinking that that is a bug, though I have no idea of
how to fix it so far.  But I can offer a workaround.

1. Close Gnus and Emacs.

2. Make backup files of ~/.newsrc.eld and ~/.newsrc (there might
   not be the later).

3. Start Emacs and Gnus, and read at least one article.

4. Evaluate the following form in the *scratch* buffer (copy
   this form to the *scratch* buffer and type `C-j' at the end
   of the form):

   (assoc "archive" gnus-server-alist)

   Confirm that it returns something like the following:

   ("archive" nnfolder ...)

   If you don't see it (unfortunately), do nothing further.

5. Evaluate the following form in the *scratch* buffer:

   (setcdr (assoc "archive" gnus-server-alist) gnus-message-archive-method)

6. Exit Gnus by typing `q', not `Q', in the group buffer.

Then, the problem has been solved, hasn't it?

The problem is that the server named "archive" in the
`gnus-server-alist' variable, which is saved in the ~/.newsrc.eld
file, does not reflect the value of `gnus-message-archive-method'
being changed by a user.

Regards,

  reply	other threads:[~2007-05-30  0:50 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 [this message]
2007-05-31  8:04   ` Katsumi Yamaoka
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=b4mk5urjfs9.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).