From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4174 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.user Subject: Re: mime: View Internally with catdoc, Externally with OpenOffice Date: Thu, 07 Oct 2004 20:37:01 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <867jq4ceoh.fsf@mat.ucm.es> <86u0t89bjq.fsf@mat.ucm.es> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670144 22131 80.91.229.2 (31 Jan 2006 01:15:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:15:44 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:21 2006 Original-Newsgroups: gnu.emacs.gnus X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Copies-To: nobody User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:d/xuwJ9naPQFaUnVWD4FiwuFWr4= Original-NNTP-Posting-Host: lumberjack.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1097175728 134.60.10.173 (7 Oct 2004 21:02:08 +0200) Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!uio.no!feed.news.tiscali.de!news.belwue.de!news.uni-ulm.de!lumberjack.physik.uni-ulm.de!not-for-mail Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4315 Original-Lines: 30 X-Gnus-Article-Number: 4315 Tue Jan 17 17:33:21 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4174 Archived-At: On Wed, Oct 06 2004, Uwe Brauer wrote: > 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 I'm afraid I don't quite understand you. There are test functions: `mm-inline-media-tests' in Gnus and the "test=..." stuff in mailcap. But I'm not sure if this is useful for you. As I understood, you don't know which viewer you want to have initially, but only when the first one fails. Instead of `v' you may also use `t' and make a shortcut for it: In mailcap: application/msword-ooo; OOo %s; nametemplate=%s.doc (define-key gnus-mime-button-map (kbd "O") ;; some key '(lambda () (interactive) (gnus-mime-view-part-as-type "application/msword-ooo"))) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/