From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61316 Path: news.gmane.org!not-for-mail From: Ted Stern Newsgroups: gmane.emacs.gnus.general Subject: mime not recognizing word document Date: Mon, 07 Nov 2005 13:44:19 -0800 Organization: Not work related Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1131400280 18504 80.91.229.2 (7 Nov 2005 21:51:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2005 21:51:20 +0000 (UTC) Original-X-From: ding-owner+m9848@lists.math.uh.edu Mon Nov 07 22:51:16 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZEqa-0004gG-4g for ding-account@gmane.org; Mon, 07 Nov 2005 22:48:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EZEqT-0004vU-00; Mon, 07 Nov 2005 15:48:05 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EZEnU-0004vP-00 for ding@lists.math.uh.edu; Mon, 07 Nov 2005 15:45:00 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EZEnM-0007aJ-Vv for ding@lists.math.uh.edu; Mon, 07 Nov 2005 15:45:00 -0600 Original-Received: from blv-smtpout-01.boeing.com ([130.76.32.69]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EZEnH-0007GJ-00 for ; Mon, 07 Nov 2005 22:44:47 +0100 Original-Received: from slb-av-01.boeing.com ([129.172.13.4]) by blv-smtpout-01.boeing.com (8.9.2.MG.10092003/8.8.5-M2) with ESMTP id NAA14860 for ; Mon, 7 Nov 2005 13:44:45 -0800 (PST) Original-Received: from drip.ca.boeing.com (localhost [127.0.0.1]) by slb-av-01.boeing.com (8.11.3/8.11.3/MBS-AV-LDAP-01) with ESMTP id jA7Lijd25879 for ; Mon, 7 Nov 2005 13:44:45 -0800 (PST) Original-Received: from drip.ca.boeing.com (localhost.localdomain [127.0.0.1]) by drip.ca.boeing.com (8.12.8/8.12.8) with ESMTP id jA7LiJ6A013704 for ; Mon, 7 Nov 2005 13:44:19 -0800 Original-Received: (from lgs8406@localhost) by drip.ca.boeing.com (8.12.8/8.12.8/Submit) id jA7LiJHd013702; Mon, 7 Nov 2005 13:44:19 -0800 X-Authentication-Warning: drip.ca.boeing.com: lgs8406 set sender to ted.l.stern@boeing.com using -f Original-To: ding@gnus.org X-Face: &,ojguo17*}4C>zv\(-7>EJY{ .$1!SnEl$BHJV[*z9i0}%db1iq.%k),cb-;#8V3Q26fTjyJ>`l%AD~bY;J6tAP5s2x5pzS?z/C,;KY ?-Y}$hhd8T:3!/|u,7.;O"S@@!NbaG!@pn\0mh\TMa5H4d]93nkLA0|}DlfMzYaFAY&y>SDhg:}~ft ?U~7Rbv,~>J7dNh3?-Q User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61316 Archived-At: Hi all, I've just gotten my favored gnus environment reconstructed after moving to a new job. It's been a bit problematic since I've had to hand install most of the supporting software, and I may have missed one or more packages. I've installed antiword, and am using .gnus settings to decode MSWord documents inline, according to the following instructions: ,---- [ http://zarb.org/~gc/html/howto-adopt-gnus.html, near bottom ] | (defun mm-inline-msword (handle) | (let (text) | (with-temp-buffer | (mm-insert-part handle) | (call-process-region (point-min) (point-max) "antiword" t t nil "-") | (setq text (buffer-string))) | (mm-insert-inline handle text))) | | (add-to-list 'mm-automatic-display "application/msword") | (add-to-list 'mm-inlined-types "application/msword") | (add-to-list 'mm-inline-media-tests '("application/msword" mm-inline-msword identity)) | | ; when the sucker provided the wrong mimetype, use the file extension | (add-to-list 'mm-inlined-types "application/octet-stream") | (add-to-list 'mm-inline-media-tests | '("application/octet-stream" mm-inline-msword | (lambda (handle) | (let ((name (mail-content-type-get (mm-handle-disposition handle) 'filename))) | (and name (equal ".doc" (substring name -4 nil))) | )))) `---- This always worked for me at my old job, but now it doesn't Instead, I get the following message when middle-clicking on a word attachment: ,---- | | [1. HughesAgenda.doc --- application/msword; HughesAgenda.doc] | | - is not a Word Document. `---- No joy :-(. But when I save the attachment, I can use antiword on it with no problems. Any ideas? -- dodecatheon at gmail dot com Frango ut patefaciam -- I break so that I may reveal