From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28521 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Guessing based on file extension Date: 02 Jan 2000 22:24:02 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165354 30307 80.91.224.250 (21 Oct 2002 01:55:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:55:54 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id D28EAD051E for ; Sun, 2 Jan 2000 16:28:08 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB04975; Sun, 2 Jan 2000 15:27:17 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 02 Jan 2000 15:25:51 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA03787 for ; Sun, 2 Jan 2000 15:25:41 -0600 (CST) Original-Received: from badis.pdc.kth.se (badis.pdc.kth.se [130.237.221.45]) by mailhost.sclp.com (Postfix) with ESMTP id DD05FD051E for ; Sun, 2 Jan 2000 16:24:04 -0500 (EST) Original-Received: (from jas@localhost) by badis.pdc.kth.se (8.9.3/8.9.3) id WAA10395; Sun, 2 Jan 2000 22:24:03 +0100 X-Authentication-Warning: badis.pdc.kth.se: jas set sender to jas@pdc.kth.se using -f Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "02 Jan 2000 08:24:42 +0100" Original-Lines: 20 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28521 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28521 Lars Magne Ingebrigtsen writes: > On the one hand, this is user friendly. On the other hand, guessing > is yucky. One could add a used config variable to control whether to > do it or not, but if that defaults to nil, then that won't be very > used friendly. > > So. Whaddayall think? Here's an idea: Nothing is changed in the article buffer (it still says 'application/octet-stream'), but there's a new entry in the right-button popup-menu which say 'View as application/ms-word' or whatever the guessed MIME type is. IMHO this would make it easy enough to use for Gnus users, by the same time it make it obvious that viewing the attachment as a application/ms-word file might be the Wrong Thing under some circumstances and leave the choice to the user.