sup-heliotrope/sup — pull request #149 by gauteh (2013-09-29 11:45:37+00:00)
Title: Email attachment deletion fail

When editing an email response or a new email, trying to delete an attachment doesn't delete the highlighted attachment, but delete the previous one, or none if only one attachment is left.

After a quick investigation, this is probably due to an error in the calculation of the attachment index from the cursor position, in edit_message_mode.rb:323, in method delete_attachment.