From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: The Gnus Mailing List <ding@gnus.org>
Subject: Re: Allow people to circumvent W3 for HTML
Date: Fri, 19 Oct 2001 23:27:39 +0200 [thread overview]
Message-ID: <vafpu7jtj5g.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <m1b669bjyd5.fsf@blackbird.mitre.org> (david.goldberg6@verizon.net's message of "Fri, 19 Oct 2001 14:09:10 -0400")
david.goldberg6@verizon.net (David S. Goldberg) writes:
> But maybe I'm confused. Are you saying that if I put my shell script
> in ~/.mailcap then C-u <part> K e, or the equivalent option on the
> button itself wouldn't do the right thing? If so then something is
> broken. I would expect that .mailcap entries should take precedence
> as the default action.
With the correct entry in .mailcap, C-u 42 K e should indeed do the
right thing.
But my suggestion was to include a configuration option such that (a)
buttons for text/html parts appear automatically, and (2) hitting RET
or mouse-2 on such a button invokes whatever is in .mailcap.
Implementing this is quite simple, I think, though I haven't tested
it. Right now, there is the following entry in mailcap-mime-data:
/----
| ("html"
| (viewer . mm-w3-prepare-buffer)
| (test . (fboundp 'w3-prepare-buffer))
| (type . "text/html"))
\----
Now we introduce a new variable and say (test . (and foo (fboundp
'w3-prepare-buffer))) in the third line above.
What do you think?
kai
--
GNU/Linux provides a nice `poweroff' command, but where is `poweron'?
next prev parent reply other threads:[~2001-10-19 21:27 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-19 13:39 Kai Großjohann
2001-10-19 14:19 ` Oystein Viggen
2001-10-19 15:52 ` Frank Schmitt
2001-10-19 16:24 ` David S. Goldberg
2001-10-19 17:54 ` Kai Großjohann
2001-10-19 18:09 ` David S. Goldberg
2001-10-19 21:27 ` Kai Großjohann [this message]
2001-10-20 10:11 ` Per Abrahamsen
2001-10-20 18:30 ` Henrik Enberg
2001-10-21 8:20 ` Per Abrahamsen
2001-10-21 14:25 ` Lloyd Zusman
2001-10-19 16:30 ` Kai Großjohann
2001-10-21 12:06 ` Oystein Viggen
2001-10-20 6:01 ` Daniel Pittman
2001-10-20 9:39 ` Simon Josefsson
2001-10-20 10:55 ` Kai Großjohann
2001-10-20 11:25 ` Simon Josefsson
2001-10-20 11:47 ` Daniel Pittman
2001-10-20 12:00 ` Simon Josefsson
2001-10-20 18:08 ` Kai Großjohann
2001-10-21 1:41 ` Daniel Pittman
2001-10-21 8:35 ` Kai Großjohann
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=vafpu7jtj5g.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@cs.uni-dortmund.de \
--cc=ding@gnus.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;
as well as URLs for NNTP newsgroup(s).