From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4170 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.user Subject: Re: mime: View Internally with catdoc, Externally with OpenOffice Date: Wed, 06 Oct 2004 16:16:41 +0200 Message-ID: <86u0t89bjq.fsf@mat.ucm.es> References: <867jq4ceoh.fsf@mat.ucm.es> Reply-To: Uwe Brauer NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670141 22115 80.91.229.2 (31 Jan 2006 01:15:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:15:41 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:20 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: maportatil06.quim.ucm.es Original-X-Trace: quimby.gnus.org 1097072201 11114 147.96.6.221 (6 Oct 2004 14:16:41 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 6 Oct 2004 14:16:41 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:7/XsNqUGCUp12SCPn3pYBkTCMVk= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4311 Original-Lines: 32 X-Gnus-Article-Number: 4311 Tue Jan 17 17:33:20 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4170 Archived-At: >>>>> "Reiner" == Reiner Steib writes: Reiner> On Wed, Oct 06 2004, Uwe Brauer wrote: >> I would like to display word attachments, either *internally* >> using catdoc, antiword or wvText or anything like this, however >> if this conversion fails, I would like to use via *View >> externally* Openoffice. >> >> As I understand gnus scans the .mailcap file, but I don't know >> how to set this up in order to achieve what I want. Reiner> Put something like... Reiner> application/msword; catdoc -s 8859-1 -d 8859-1 %s; Reiner> copiousoutput; nametemplate=%s.doc Reiner> ... or ... Reiner> application/msword; antiword %s; copiousoutput; Reiner> nametemplate=%s.doc Reiner> ... in `~/.mailcap'. (You may use `M-: OK this works Using for mouse-2, thanks a lot: However it seems that gnus does not distinguish between view internally and externally, in the mailcap file there is also only *ONE* entry concerning msword doc. How can I have an internal and a (different) external viewer Or is the only way to display it interactively then. Uwe