From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel@wagner-home.com (Daniel Wagner) Date: Mon, 18 Feb 2008 20:01:49 -0800 Subject: [sup-talk] mime-view Message-ID: <1203393696-sup-1607@buckwheat> Hello, Recently, activating attachments has stopped working. (I can't be more specific about when this started; it could have been at the upgrade to 0.4, or weeks after, I'm not sure.) I get a message like "Couldn't view the attachment, opening as text", which obviously doesn't work well for a large variety of attachments. I verified that sup is detecting the correct mime-type, and that saving the file to disk and manually running "see" did the Right Thing. I also tried adding a hook; the contents of my ~/.sup/hooks/mime-view.rb: system "xmessage -default okay In the hook." system "see #{content_type}:#{filename}" return true The xmessage window appears. Still, this is pieced together from the examples on the wiki and the comments in message-chunks.rb; I have no real knowledge of Ruby. Please let me know if I've written nonsense. In any case, still no luck. Any clues on what I should do? Thanks. ~d