From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/20253 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME handling for common MS Windows attachments? Date: 12 Jan 1999 20:13:04 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035158577 16776 80.91.224.250 (21 Oct 2002 00:02:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:02:57 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA06423 for ; Tue, 12 Jan 1999 14:14:01 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB28752; Tue, 12 Jan 1999 13:13:30 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 12 Jan 1999 13:13:39 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id NAA17680 for ; Tue, 12 Jan 1999 13:13:30 -0600 (CST) Original-Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA06404 for ; Tue, 12 Jan 1999 14:13:21 -0500 (EST) Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.9.0/8.9.0) id UAA13101; Tue, 12 Jan 1999 20:13:04 +0100 (MET) Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h writes: > Defaulting *.doc to ms-word is bad, Agreed. > but I see no harm in defaulting application/ms-word to MS Word (or > something else that can understand these files). And agreed. > Could someone who uses stuff like that mail me a patch for > mailcap.el? I've now asked around, it seems things are not as easy as I thought. If we discount the giant stuff such as StarOffice (and, of course, The Real Thing on Windows-running Emacsen), a useful default can be constructed. There is an `mswordview' that can grok *some* of the Word formats (only Word 97, I'm told.) We need to do the following: 1) Look at the contents of the part, and see if it is something mswordview can grok (one should study mswordview source to see how this is done). 2) If yes, then invoke mswordview which will produce HTML. Feed the resulting HTML to W3. 3) If mswordview cannot grok it, it displays a list of other programs, which supposedly can. We should look into using them. Not a bright future, all in all. The following information provided by Drazen Kacar : > A more sticky issue is whether to default image/* to the un-free, > but commonly installed xv, or to some free image viewing program. [...] > (Well, it isn't really a sticky issue, because we could default to > free programs, and then use non-free programs as the backup default > values if the free programs don't exist on the system.) The trouble is that xv is much better than most of the other stuff out there, especially for 8bit displays. Defaulting to free stuff might be a politically good idea, but it's a lousy choice for users. > What image viewing programs exist out there? There is imlib/gtk-based gqview, then there's ee (Electric Eyes) (also imlib-based), ImageMagick's display (it produces high quality display, but it's very slow, making it unsuitable for MIME viewers).