Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: mime: View Internally with catdoc, Externally with OpenOffice
Date: Thu, 07 Oct 2004 20:37:01 +0200	[thread overview]
Message-ID: <v9zn2ynzn6.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <86u0t89bjq.fsf@mat.ucm.es>

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/


      reply	other threads:[~2004-10-07 18:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-06 10:40 Uwe Brauer
     [not found] ` <v9brfgt3ol.fsf@marauder.physik.uni-ulm.de>
2004-10-06 14:16   ` Uwe Brauer
2004-10-07 18:37     ` Reiner Steib [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9zn2ynzn6.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+from-uce@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).