From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcus-sup@bar-coded.net (Marcus Williams) Date: Wed, 05 Mar 2008 10:01:14 +0000 Subject: [sup-talk] [PATCH] First draft of attachment processing for more gmail style searches In-Reply-To: <1204479552-sup-4100@south> References: <1203972458-sup-5906@tomsk> <1204220051-sup-129@south> <1204232994-sup-628@tomsk> <1204479552-sup-4100@south> Message-ID: <1204711082-sup-3541@tomsk> On 2.3.2008, William Morgan wrote: > The answer here is to escape the spaces and to use a Ferret custom > analyzer for this field in the index, one that will split only on > non-escaped spaces. [snip] Ah, right. Should be easy enough (sup-sync here we come) > Not quite sure what you mean here, but the answer might be: index.rb > line 371 is where we build a Message object from an index entry, and > you'll need to pass in an :attachments attribute (and handle it within > Message#initialize). Ok thats what I figured in the end. ANother question - how do I get sent/drafts to get the attachment labels? They dont seem to get set up when I attach a file to a message. Should I just be adding/deleting them in the methods that deal with adding/deleting attachments in reply mode? Thanks Marcus