Hola Jordi! > Can you comment on this bug against MH that was reported in the BTS? > $ mhn +foo 12345 [...] > Running mhn under strace(1) reveals that it tries, > unsuccessfully, to open(2) ~/Mail/foo/12345 with O_RDWR.
There's something wrong with that report. Invoking mhn like that implies a compose mode, i.e. a mode in which mhn creates a new message. It obviously needs to open the file RW in order to do so. Now what's wrong is that in this case mhn would ignore the folder option (+foo) and create the file in the current folder directory (the one set by the Path keyword in .mh_profile), so the reported strace does not match the invocation. It could be that Path: was set to ~/Mail/foo or it could be due to setting `mhn: -option' property in .mh_profile. I don't know. What's true, however, is that mhn does display this behavior when run in any mode other than compose, e.g. `mhn +foo -show 12345' won't show anything if 12345 is readonly. That's definitely a bug and I'll fix it. Regards, Sergey _______________________________________________ Bug-mailutils mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-mailutils
