From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Sat, 02 Feb 2008 20:44:41 -0800 Subject: [sup-talk] can't remove draft label In-Reply-To: <1201759596-sup-4274@tangerine.lanl.gov> References: <1201716067-sup-3586@tangerine.lanl.gov> <1201754138-sup-7276@chris-tablet> <1201759596-sup-4274@tangerine.lanl.gov> Message-ID: <1202013739-sup-550@south> Reformatted excerpts from John Bent's message of 2008-01-30: > But that was just the message I'd previously deleted from the drafts > dir. The false draft is still there... I'm not sure why that label would be there, but you can perform some index surgery to remove it. $ sh devel/console.sh irb(main):001:0> r=Index.ferret.search("message_id:1201759596-sup-4274 at tangerine.lanl.gov") => #], max_score=10.82630443573, searcher=#> irb(main):002:0> id=r.hits.first.doc => 92571 irb(main):003:0> m = Index.build_message id [...] irb(main):004:0> m.remove_label :draft => true irb(main):005:0> m.save Index => false irb(main):006:0> exit Something like that. Plug in the correct message-id above. -- William