[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Should (mu-mailbox-open "file:///FOO" "r") work on a

From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] Should (mu-mailbox-open "file:///FOO" "r") work on a random mh dir?
Date: Thu, 15 Jun 2006 11:01:11 +0300

Hi Rob,

> > Aha, that's a hint:) Haven't you forgotten to call (mu-register-format)?
> Hmm, no.  I didn't know that I needed to.  That function doesn't
> appear to be mentioned in the "Mailutils to Scheme Interface" info
> section, but it definitely appears to fix the problem.

It seems I've forgotten to document it. By default Scheme interface
registers only unix mailbox handler, all the rest you need to request
explicitely. If you need only "mh" handler, calling

(mu-register-format "mh")

will do.

The function takes arbitrary number of arguments, so you can register
several handlers in one go:

(mu-register-format "mh" "maildir" "imap")

Calling it without arguments registers all available mailutils format
> I suspect this means I should start looking at the source and at the
> C-side docs for a better idea of what's required.

I'll update the docs. In the meantime, you can find all the docstrings
in guile-procedures.txt, installed in the mailutils modules directory. 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]