From: Steve <steve.goldman@gmail.com>
To: Sup developer discussion <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] How to deal with HTML attachments?
Date: Wed, 11 May 2011 11:40:37 -0400 [thread overview]
Message-ID: <BANLkTik=37O_vOSeFAmWr44ntmAnWY3Rpg@mail.gmail.com> (raw)
In-Reply-To: <1305123066-sup-804@optimusprime>
On Wed, May 11, 2011 at 10:15 AM, Patrick Totzke
<patricktotzke@googlemail.com> wrote:
> Hi,
> I use a mime-hook like this for inline html:
> in ~/.sup/hooks$ cat mime-decode.rb :
>
> case content_type
> when "text/html"
> `/usr/bin/lynx -dump '#{filename}'`
> end
>
> To view html when hitting enter you could set your browser in ~/.mailcap:
>
> text/html; firefox %s
>
> best,
> /p
The mime-decode.rb hook does the trick.
Still can't get sup to invoke w3m when I hit <enter> on HTML
attachments. W3m is installed. Something isn't hooked up correctly.
But oh well, we'll save that for the next guy.
Thanks, all.
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
next prev parent reply other threads:[~2011-05-11 15:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-11 13:53 Steve
2011-05-11 14:13 ` Mark Alexander
2011-05-11 14:59 ` Steve
2011-05-11 15:24 ` Mark Alexander
2011-05-11 14:15 ` Patrick Totzke
2011-05-11 15:40 ` Steve [this message]
2011-05-11 14:30 ` Matías Aguirre
2011-05-12 8:30 ` Tero Tilus
2011-05-12 13:21 ` Mark Alexander
2011-05-13 7:39 ` Tero Tilus
2011-05-13 9:55 ` Patrick Totzke
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='BANLkTik=37O_vOSeFAmWr44ntmAnWY3Rpg@mail.gmail.com' \
--to=steve.goldman@gmail.com \
--cc=sup-devel@rubyforge.org \
/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