Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Richard Riley <rileyrg@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: IMAP as archive destination?
Date: Tue, 11 May 2010 13:55:08 +0200	[thread overview]
Message-ID: <06tnb7-mk3.ln1@news.eternal-september.org> (raw)
In-Reply-To: <7wk4raev4l.fsf@falcon.rd.evalesco.com>

Vagn Johansen <gonz808@hotmail.com> writes:

> Richard Riley <rileyrg@gmail.com> writes:
>
>> I'm having issues using imap as my "sent" archive.  My gnus-server-alist
>> on gnus startup is like this:-
>
> [...]
>
>>
>> Any suggestions?  Why is it trying to open nnfolder for "archive"?
>
> I do not know if it is any help, but I use the following
>
> (setq
>   gnus-message-archive-method `(nnimap ,smtpmail-smtp-server)
>   gnus-message-archive-group '((if (message-news-p)
>                                  "nnfolder:sent-news"
>                                  "INBOX.Sent")))

As soon as I set the archive-group and then refresh Gnus, I get:-

,----
| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
|   file-name-as-directory(nil)
|   nnheader-concat(nil "active")
|   (defvar nnfolder-active-file (nnheader-concat nnfolder-directory "active") ("/usr/share/emacs/23.1/lisp/gnus/nnfolder.elc" . 1885))
|   require(nnfolder)
|   gnus-get-function((nnfolder "archive" (nnfolder-directory "~/.emacs.d/Maildir/archive") (nnfolder-active-file "~/.emacs.d/Maildir/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)) server-opened)
|   gnus-server-opened((nnfolder "archive" (nnfolder-directory "~/.emacs.d/Maildir/archive") (nnfolder-active-file "~/.emacs.d/Maildir/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)))
|   gnus-check-server((nnfolder "archive" (nnfolder-directory "~/.emacs.d/Maildir/archive") (nnfolder-active-file "~/.emacs.d/Maildir/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)))
|   gnus-read-active-file-1((nnfolder "archive" (nnfolder-directory "~/.emacs.d/Maildir/archive") (nnfolder-active-file "~/.emacs.d/Maildir/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t)) nil)
|   gnus-read-active-file()
|   gnus-group-get-new-news(nil)
|   gnus-1(nil nil nil)
|   gnus(nil)
|   call-interactively(gnus nil nil)
`----

I tried looking at the code but, well, it's somewhat tricky for an elisp
ignoramous.

There is no mention on nnfolder in my .newsrc.eld.


I can't quite determine how or from where its picking this up.

      reply	other threads:[~2010-05-11 11:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10 18:00 Richard Riley
2010-05-11  7:48 ` Vagn Johansen
2010-05-11 11:55   ` Richard Riley [this message]

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=06tnb7-mk3.ln1@news.eternal-september.org \
    --to=rileyrg@gmail.com \
    --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).