[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
Re: [bug-mailutils] Should (mu-mailbox-open "file:///FOO" "r") work on a random mh dir?
Thu, 15 Jun 2006 11:01:11 +0300
> > 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
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.