Gnus development mailing list
 help / color / mirror / Atom feed
From: Bill White <billw@wolfram.com>
To: ding@gnus.org
Subject: mairix 'G b c' trouble (was Re: mairix problem: "No new messages found" upon initial indexing)
Date: Sun, 07 Sep 2008 21:55:32 -0500	[thread overview]
Message-ID: <87y723ibx7.fsf_-_@wolfram.com> (raw)
In-Reply-To: <87r67viqzb.fsf@engster.org>

On Sun Sep 07 2008 at 16:20, David Engster <deng@randomsample.de> wrote:

> Bill White <billw@wolfram.com> writes:

>> Here's my config file, based on /usr/share/doc/mairix/dotmairixrc.eg.
>> "/home/billw/wri/Mail-2006/gunroom" is an nnml dir containing 837
>> message files and no subdirs;
>>
>> ,----[ ~/.mairixrc ]
>> | base=/home/billw/wri/Mail-2006
>> | maildir=gunroom
>> | mfolder=zzz_mfolder
>> | mformat=maildir
>> | database=/home/billw/wri/Mail-2006/mairix_database
>> `----
>
> nnml stores its mail in MH format, not maildir. So you have to use
>
> mh=gunroom
> mformat=mh

Argh!  Now I see and understand that bit in the info manual at (info
"(gnus) Setting up mairix")

>>  /home/billw/wri/Mail-2006/zzz_mfolder
>> hasn't been created (should I do that by hand?
>
> It will be created if it doesn't exist. If you plan to use the
> nnmairix back end for Gnus, you don't have to specify 'mfolder' at all
> (but it does no harm, either).

Thanks!  Now mairix indexes messages, and I'm slowly adding various dirs
to be indexed.  Now there's a problem within gnus :-/

Here's the nnmairix stuff in my ~/.emacs (I keep my gnus settings
there instead of ~/.gnus)

,----[ ~/.emacs ]
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
| ;;
| ;; nnmairix - mail indexing and searching
| ;; see ~/.mairixrc and (info "(gnus) nnmairix")
| 
| (require 'nnmairix)
| (defun my-check-mail-mairix-update (level)
|   (interactive "P")
|   ;; if no prefix given, set level=1
|   (gnus-group-get-new-news (or level 1))
|   (nnmairix-update-groups "mairix-server" t t)
|   (gnus-group-list-groups))
| 
| (define-key gnus-group-mode-map "g" 'my-check-mail-mairix-update)
| 
| (setq gnus-auto-subscribed-groups
|       "^\\(nnml\\|nnfolder\\|nnmbox\\|nnmh\\|nnbabyl\\|nnmaildir\\).*:\\([^z]\\|z$\\|\\z[^z]\\|zz$\\|zz[^_]\\|zz_$\\).*")
`----

Start gnus, then in my Group buffer after all mail is retrived after
startup, I do 'G b c' (nnmairix-create-server-and-default-group) and give
it these four answers:

mairix-server [it matches the arg of nnmairix-update-groups above]
nnml          [from (info "(gnus) Configuring nnmairix")]
mairix        
mairix-group  

and I immediately get this error:

Debugger entered--Lisp error: (void-function nil-open-server)
  nil-open-server(nil)
  apply(nil-open-server nil)
  nnmairix-create-server-and-default-group()
  call-interactively(nnmairix-create-server-and-default-group nil nil)

Quit out of the error, then running 'g' in the Group buffer returns this
message after retrieving my other mail:

,----[ *Messages* ]
| Server mairix-server not opened
`----

Any ideas? Thanks for your help!

bw
-- 
Bill White . billw@wolfram.com . http://members.wolfram.com/billw
"No ma'am, we're musicians."




  reply	other threads:[~2008-09-08  2:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07 20:51 mairix problem: "No new messages found" upon initial indexing Bill White
2008-09-07 21:20 ` David Engster
2008-09-08  2:55   ` Bill White [this message]
2008-09-08  9:04     ` mairix 'G b c' trouble David Engster
2008-09-10 21:24       ` Bill White
2008-09-11  9:35         ` David Engster
2008-09-11 19:39           ` Bill White

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=87y723ibx7.fsf_-_@wolfram.com \
    --to=billw@wolfram.com \
    --cc=ding@gnus.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).