Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-server-alist and archive error.
@ 2002-03-18  8:43 Mattias Ahnberg
  2002-03-18 15:59 ` Paul Jarc
  0 siblings, 1 reply; 4+ messages in thread
From: Mattias Ahnberg @ 2002-03-18  8:43 UTC (permalink / raw)


When I try to enter the server list with ^ I get the following entry:

  Debugger entered--Lisp error: (wrong-type-argument symbolp (nnfolder "archive" (nnfolder-directory "~/Mail/archive") (nnfolder-active-file "~/Mail/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)))
    gnus-server-opened(((nnfolder "archive" (nnfolder-directory "~/Mail/archive") (nnfolder-active-file "~/Mail/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t))))
    gnus-server-insert-server-line("archive" ((nnfolder "archive" (nnfolder-directory "~/Mail/archive") (nnfolder-active-file "~/Mail/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t))))
    gnus-server-prepare()
    gnus-enter-server-buffer()
    gnus-group-enter-server-mode()
    call-interactively(gnus-group-enter-server-mode)

Checking the value of gnus-server-alist gives me the following:

  (("archive"
    (nnfolder "archive"
  	    (nnfolder-directory "~/Mail/archive")
  	    (nnfolder-active-file "~/Mail/archive/active")
  	    (nnfolder-get-new-mail nil)
  	    (nnfolder-inhibit-expiry t))))

Problem though is that I don't _have_ a ~/Mail/archive folder, I have
removed all entries and pointers to it from .newsrc.eld and from my
.gnus file since long. I just noted this problem though, so it might
have been there for a while.

Where else could this be set? And how do I work around it?

/ahnberg.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnus-server-alist and archive error.
  2002-03-18  8:43 gnus-server-alist and archive error Mattias Ahnberg
@ 2002-03-18 15:59 ` Paul Jarc
  2002-03-18 17:31   ` Mattias Ahnberg
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Jarc @ 2002-03-18 15:59 UTC (permalink / raw)
  Cc: ding

Mattias Ahnberg <mattias@ahnberg.pp.se> wrote:
> Checking the value of gnus-server-alist gives me the following:
>
>   (("archive"
>     (nnfolder "archive"
>   	    (nnfolder-directory "~/Mail/archive")
>   	    (nnfolder-active-file "~/Mail/archive/active")
>   	    (nnfolder-get-new-mail nil)
>   	    (nnfolder-inhibit-expiry t))))
>
> Problem though is that I don't _have_ a ~/Mail/archive folder,

That seems to come from the default value of
gnus-message-archive-method.  If you always include "nnfoo:" in the
group names in your Gcc header fields, then
gnus-message-archive-method should always be ignored.  And if you also
never use gnus-message-archive-group to generate your Gcc fields (you
can use gnus-outgoing-message-group, posting styles, etc., instead),
then you can set gnus-message-archive-method to nil.  That might
silence this error, although the bug or misconfiguration causing it
may still be present.


paul



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnus-server-alist and archive error.
  2002-03-18 15:59 ` Paul Jarc
@ 2002-03-18 17:31   ` Mattias Ahnberg
  2002-03-21 22:38     ` Paul Jarc
  0 siblings, 1 reply; 4+ messages in thread
From: Mattias Ahnberg @ 2002-03-18 17:31 UTC (permalink / raw)


>> "PJ" == Paul Jarc <prj@po.cwru.edu> writes:

>> Problem though is that I don't _have_ a ~/Mail/archive folder,

PJ> That seems to come from the default value of
PJ> gnus-message-archive-method.  If you always include "nnfoo:" in
PJ> the group names in your Gcc header fields, then
PJ> gnus-message-archive-method should always be ignored.

I've never used Gcc until I tried it a bit today after experiencing
this problem, and I stumbled over the feature. Previously I've just
been lazy and BCC'd myself on what I wanted to keep.

The problem doesn't appear by setting gnus-message-archive-method to
nil though. 

(setq gnus-server-alist '(("news.arrowhead.com" nntp "news.arrowhead.com")))

If I use this line though the problem disappears and I can enter the ^
(server) menu correctly. Although I see a "{nnfolder:nil} (opened)"
entry in there that I don't remember seing from before. Or am I just
confused?

Plus I can't add the above gnus-server-alist directive to my .gnus, if I do
the problem occurs even earlier. If I execute it manually after starting
Gnus it works. Annoying. :)

Any other ideas? Anything more you want to see of my settings/files?

/ahnberg.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnus-server-alist and archive error.
  2002-03-18 17:31   ` Mattias Ahnberg
@ 2002-03-21 22:38     ` Paul Jarc
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Jarc @ 2002-03-21 22:38 UTC (permalink / raw)
  Cc: ding

Mattias Ahnberg <mattias@ahnberg.pp.se> wrote:
> (setq gnus-server-alist '(("news.arrowhead.com" nntp "news.arrowhead.com")))
>
> If I use this line though the problem disappears and I can enter the ^
> (server) menu correctly.

I don't think that variable is supposed to be tweaked manually.  It's
for Gnus's internal use, isn't it?

> Although I see a "{nnfolder:nil} (opened)" entry in there that I
> don't remember seing from before.

That's probably the default gnus-message-archive-method.  Is that
variable nil when you see this?  That would be strange.  Maybe
something in your .newsrc.eld is corrupt.


paul



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-03-21 22:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-18  8:43 gnus-server-alist and archive error Mattias Ahnberg
2002-03-18 15:59 ` Paul Jarc
2002-03-18 17:31   ` Mattias Ahnberg
2002-03-21 22:38     ` Paul Jarc

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).