I have a bunch of local Maildir folders. I file multiple lists to common
folders when they're similar enough (eg my "unix" folder has a bunch of
unixy lists). I just changed my filing rules to divert "mercurial-devel"
to its own folder ("hgdev") because it made the main folder too noisy.
And of course I want to hand file all the existing messages likewise.

So:
  ~C mercurial-devel
  ;s+hgdev

This was slower than expected. An strace showed that mutt is reading
each message and writing a copy to "hgdev". Surpising. I expected mutt
to be making a hard link from the "hg" message to a file in "hgdev/tmp"
and then rename()ing that into "hgdev/new" (or maybe "cur" - need to
check on Maildir policies).

Given that they're both Maildirs on the same filesystem, why doesn't mutt
take this more efficient (both in time and disc space) approach? Just naive
use of an existing "save-message" library routine.

Cheers,
-- 
Cameron Simpson <c...@zip.com.au>

I made this letter longer than usual because I lack the time to make it
shorter.        - Pascal

Reply via email to