Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] mime-view
@ 2008-02-19  4:01 Daniel Wagner
  2008-02-19 17:32 ` William Morgan
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Wagner @ 2008-02-19  4:01 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-20  6:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-19  4:01 [sup-talk] mime-view Daniel Wagner
2008-02-19 17:32 ` William Morgan
2008-02-19 17:54   ` John Bent
2008-02-19 17:56     ` William Morgan
2008-02-19 18:23   ` William Morgan
2008-02-20  6:59   ` Daniel Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox