[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] Should (mu-mailbox-open "file:///FOO" "r") work on a ran
From: |
Rob Browning |
Subject: |
[bug-mailutils] Should (mu-mailbox-open "file:///FOO" "r") work on a random mh dir? |
Date: |
Mon, 12 Jun 2006 16:30:29 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
If I have a random directory, say /bar/foo containing numbered message
files, should
(mu-mailbox-open "file:///bar/foo" "r")
open that directory as a mailbox?
If so, it's not working here with a locally built version of the
Debian 1:0.6.94-1 package, and so I wondered if there might be a bug,
or if there might be something wrong with the directory.
I tried
/usr/bin/mu-mh/scan --folder=/bar/foo
and that worked fine, but (mu-mailbox-open "file:///bar/foo" "r")
failed with
ERROR: In procedure mu-mailbox-open:
ERROR: Cannot create default mailbox file://bar/foo
I ran an strace -f to see if I could figure out what mailutils was
looking for, but that didn't reveal much. The only mention of foo was
...
26584 stat64("///bar/foo", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
26584 write(2, "ERROR", 5) = 5
...
Also, as a wishlist item, it would be nice if there were a way to
directly create a message from Scheme, i.e. perhaps something like
this
(mu-message-from-file filename)
(mu-message-from-port port)
for cases where you just want to examine the contents of a message.
Thanks
--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
- [bug-mailutils] Should (mu-mailbox-open "file:///FOO" "r") work on a random mh dir?,
Rob Browning <=