[notmuch] [PATCHv2] Preserve folder information when indexing
jrollins at finestructure.net
Tue Feb 2 10:22:29 PST 2010
On Tue, 02 Feb 2010 18:48:25 +0100, Arvid Picciani <aep at exys.org> wrote:
> On Tue, 2 Feb 2010 16:01:08 +0100, Michal Sojka<sojkam1 at fel.cvut.cz>
> unfortunately it doesnt do anything here :/
> i rebuilt the entire index, but no folder: field is added.
> can anyone who got it working tell me their directory layout?
> mine would be something like:
What search terms are you using? You shouldn't consider the cur/new/tmp
maildir subdirectories in the folder naming. Those are fundamental
parts of maildirs. You would want to look at the maildir name itself.
I'm starting to think that maybe the folder: field is not the right way
to do this, though. What if a message moves? Only new mails are having
this field modified, so if messages are moved that field is not
modified, and since it's being added as part of the message (like
"subject:") it's not modifiable. It also can't be added down the line
to messages that don't already have it. I'm going back to my original
suggestion, which was that the configuration should state tag that
should be added for messages in certain folders.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: not available
More information about the notmuch