From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28517 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Guessing based on file extension Date: 02 Jan 2000 16:35:08 +0100 Organization: The Church of Emacs 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 1035165350 30277 80.91.224.250 (21 Oct 2002 01:55:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:55:50 +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 6368AD051E for ; Sun, 2 Jan 2000 10:42:44 -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 JAB04663; Sun, 2 Jan 2000 09:38:49 -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 09:37:04 -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 JAA01731 for ; Sun, 2 Jan 2000 09:36:53 -0600 (CST) Original-Received: from sheridan.dina.kvl.dk (sheridan.dina.kvl.dk [130.225.40.227]) by mailhost.sclp.com (Postfix) with ESMTP id E5926D051E for ; Sun, 2 Jan 2000 10:35:12 -0500 (EST) Original-Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian/GNU) with ESMTP id QAA22576 for ; Sun, 2 Jan 2000 16:35:21 +0100 Original-Received: (from abraham@localhost) by zuse.dina.kvl.dk (8.9.1b+Sun/8.9.1) id QAA12392; Sun, 2 Jan 2000 16:35:09 +0100 (MET) X-Authentication-Warning: zuse.dina.kvl.dk: abraham set sender to abraham@dina.kvl.dk using -f Original-To: ding@gnus.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ 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.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28517 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28517 Lars Magne Ingebrigtsen writes: > If the type is "application/octet-stream", then we look at the thing > after the dot, and use that as the "real" type. > > On the one hand, this is user friendly. On the other hand, guessing > is yucky. I believe guessing is the thing to do. Unless the message is from a Mac or BeOS user, the content-type is almost always the sending agents best guess based on file extension, and "application/octet-stream" means that the sending agent couldn't guess anything. Just because the the sending agent couldn't guess anything doesn't mean the receiving agent can't guess the type. > 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. I don't think an option is necessary.