> > > > I noticed elmo-folder-open-internal-p method always returns nil on
> > > > multi folder. By this, I can't open a pipe folder of which source is
> > > > a multi folder contains POP3 folders and destination is a MH folder (I
> > > > don't know why).
> > >
> > > Should be fixed in cvs head.
> >
> > Not fixed yet. Please see attached patch with original message.
>
> Now I saw it, now it should be fixed.
Not yet. Please see attached patch.
Additionally, elmo-folder-open-internal method on multi folder never
call elmo-folder-open-internal method of child folders when they are
POP3 folders.
I doubt elmo-folder-open-internal-p method is really needed. Only
elmo-map.el has a real code for this method. If map folder always
should not be re-opened before closed, below code is sufficient.
(But I don't know whether we can assume that.)
;; elmo-map.el
(luna-define-method elmo-folder-open-internal ((folder elmo-map-folder))
(unless (elmo-location-map-alist folder)
(elmo-location-map-load folder (elmo-folder-msgdb-path folder))
(when (elmo-folder-plugged-p folder)
(elmo-location-map-update
folder
(elmo-map-folder-list-message-locations folder)))))
--
Kazuhiro Ito
Attachment:
elmo-multi.el.diff
Description: Binary data