From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39503 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Allow people to circumvent W3 for HTML Date: Fri, 19 Oct 2001 23:27:39 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <03r8rzogov.fsf@colargol.tihlde.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175203 28355 80.91.224.250 (21 Oct 2002 04:40:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:40:03 +0000 (UTC) Cc: The Gnus Mailing List Return-Path: Original-Received: (qmail 13379 invoked from network); 19 Oct 2001 21:30:10 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 19 Oct 2001 21:30:10 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15uhC1-00041J-00; Fri, 19 Oct 2001 16:28:37 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Oct 2001 16:28:13 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA16426 for ; Fri, 19 Oct 2001 16:28:00 -0500 (CDT) Original-Received: (qmail 13358 invoked by alias); 19 Oct 2001 21:28:14 -0000 Original-Received: (qmail 13353 invoked from network); 19 Oct 2001 21:28:14 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 19 Oct 2001 21:28:14 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id f9JLRjG08878; Fri, 19 Oct 2001 23:27:45 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id XAA11403; Fri, 19 Oct 2001 23:27:39 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 988D52019; Fri, 19 Oct 2001 23:27:39 +0200 (CEST) Original-To: david.goldberg6@verizon.net (David S. Goldberg) In-Reply-To: (david.goldberg6@verizon.net's message of "Fri, 19 Oct 2001 14:09:10 -0400") Original-Lines: 33 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39503 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39503 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 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'?