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: IMAP as archive destination?
Date: Mon, 10 May 2010 20:00:08 +0200	[thread overview]
Message-ID: <g6ulb7-dqq.ln1@news.eternal-september.org> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 2082 bytes --]


I'm having issues using imap as my "sent" archive.  My gnus-server-alist
on gnus startup is like this:-

,----
| gnus-server-alist is a variable defined in `gnus.el'.
| Its value is 
| (("archive" 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)))
`----

despite my .newsrc.eld containing:-

,----
| (setq gnus-server-alist '(("archive" nnimap "mymail" (nnimap-address "offlineimap") (nnimap-stream nil))))
`----

If I then set gnus-archive-message-group to "INBOX.sent" for example I
get a debug stack when I start gnus of the form:-


,----
| 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(nil nil)
|   gnus-setup-news(nil nil nil)
|   byte-code("\b„\x0e
|   gnus-1(nil nil nil)
|   gnus(nil)
|   call-interactively(gnus nil nil)
`----

Any suggestions?  Why is it trying to open nnfolder for "archive"?

             reply	other threads:[~2010-05-10 18:00 UTC|newest]

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

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=g6ulb7-dqq.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).