Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: daniel@wagner-home.com (Daniel Wagner)
Subject: [sup-talk] mime-view
Date: Mon, 18 Feb 2008 20:01:49 -0800	[thread overview]
Message-ID: <1203393696-sup-1607@buckwheat> (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


             reply	other threads:[~2008-02-19  4:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19  4:01 Daniel Wagner [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1203393696-sup-1607@buckwheat \
    --to=daniel@wagner-home.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox