From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (cAA67BF51.dhcp.bluecom.no [81.191.103.170]) by mx.google.com with ESMTPS id w3sm1321068bkt.5.2011.02.18.01.26.24 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Feb 2011 01:26:25 -0800 (PST) Content-Type: text/plain; charset=UTF-8 From: Gaute Hope To: Sup Talk Subject: Removing :draft label Date: Fri, 18 Feb 2011 10:27:35 +0100 Message-Id: <1298021040-sup-2417@qwerzila> User-Agent: Sup/git Content-Transfer-Encoding: 8bit Hi, I saved a draft for a message; later opened it, finished it and sent it.. Now all the messages in the thread show: this is a draft message hit e to edit, y to send. They are all incoming or sent messages, and if I try to edit them to delete them sup crashes with: --- NoMethodError from thread: main undefined method `fn_for_offset' for # /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/message.rb:182:in `draft_filename' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/resume-mode.rb:8:in `initialize' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/thread-view-mode.rb:416:in `new' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/thread-view-mode.rb:416:in `edit_draft' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/mode.rb:59:in `handle_input' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:277:in `handle_input' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:271:in `' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:80:in `' /home/gaute/.gem/ruby/1.9.1/bin/sup:19:in `load' /home/gaute/.gem/ruby/1.9.1/bin/sup:19:in `
' I tried to enter the console find the message and manually remove :draft using message.remove_label :draft. But this does not seem to do the trick.. Also tried Index.save or xapian.flush.. but how can I make the change go through ? This does not seem to work anymore: http://www.mail-archive.com/sup-talk@rubyforge.org/msg00874.html Best regards, Gaute