Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: anti-spam-pranav@cisco.com (Pranav K. Tiwari)
Subject: Re: viewing embedded HTML and MIME with external viewers
Date: Thu, 08 May 2003 11:44:39 +0530	[thread overview]
Message-ID: <u7k9255io.fsf@cisco.com> (raw)
In-Reply-To: <uhe86b1wk.fsf@att.net>

On Wed, 07 May 2003 19:36:11 -0700, Michael R. Wolf <MichaelRunningWolf@att.net> writes:

> Jesper Harder <harder@myrealbox.com> writes:
>
>> Michael R. Wolf <MichaelRunningWolf@att.net> writes:
>>
>>> Can I directly launch the HTML body, or any of the attachments into an
>>> external viewer (i.e. Internet Explorer, RealPlayer, GIMP, OpenOffice,
>>> etc.)?
>>
>> Do `K e' from the summary buffer.  If the message has several parts,
>> you can use a prefix to select which part to operate on , e.g.
>>
>>       3 K e  = view the third part externally
>>
>> You can also `e' or `v' from the article buffer with point placed on
>> the MIME button.
>
> 'K e' from Subject buffer and 'e' from Article buffer both prompt in
> the minibuffer with "Save MIME part to: c:/some/default/here". Seems
> that there's some bad magic happening. In the past, if I was desperate
> enough, I'd specify a path, then go double click it from the "File
> Explorer". Not convenient, but it worked.
>
> 'v' from Article buffer prompts in the minibuffer with "Viewer?".  I
> don't know how to specify "OpenOffice" or "Quick Time" or "Internet
> Explorer".  Do you?
>
> Does this mean that I'm missing the .mailcap magic?  If so, is there a
> way to use the default WinDOS settings rather than reverse engineer
> them into a text form?
>

You are right - seems like your .mailcap is missing.  Assuming that your
internet explorer can deal with all these files correctly, you can add each
filetype into your ~/.mailcap as below. I have the following in there, and
these filetypes are shown in the "right" application. The .doc files go to
Word, .ppt goes to powerpoint etc. There might be a better way of doing
this, and if there is, hopefully someone else will chime in ..

Note that the path specified in .mailcap is DOS path, and not a Windows
path.

-p

text/common;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
application/msword;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
application/msexcel;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
image/jpeg;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
image/pjpeg;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
image/gif;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
image/bmp;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
application/pdf;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
application/ppt;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
application/vnd.ms-powerpoint;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
application/vnd.ms-excel;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
application/vnd.framemaker;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
application/x-frame;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
application/x-zip-compressed;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
application/octet-stream;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s
video/mpg;C:\PROGRA~1\INTERN~1\IEXPLORE.EXE %s


       reply	other threads:[~2003-05-08  6:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ufznq1skp.fsf@att.net>
     [not found] ` <m3smrq31tc.fsf@defun.localdomain>
     [not found]   ` <uhe86b1wk.fsf@att.net>
2003-05-08  6:14     ` Pranav K. Tiwari [this message]
     [not found] ` <ud6it9x0c.fsf@att.net>
     [not found]   ` <m3d6im3i0x.fsf@quimbies.gnus.org>
2003-05-14  4:40     ` Michael R. Wolf
     [not found]       ` <84y919hi5j.fsf@lucy.is.informatik.uni-duisburg.de>
     [not found]         ` <ud6ilv7j0.fsf@att.net>
     [not found]           ` <8765odscai.fsf@batman.everybody.org>
2003-05-14 17:27             ` Burton Samograd
2003-05-16 11:05       ` Jeffery B. Rancier
     [not found] ` <87d6i834h8.fsf@o2.s.fr>
     [not found]   ` <m3iss0tspb.fsf@h130n1fls31o965.telia.com>
     [not found]     ` <878yswfiwh.fsf@o2.s.fr>
2003-05-25 10:49       ` Michael R. Wolf
2003-05-26  4:53         ` Kai Großjohann
2003-05-25 17:52       ` Ichimusai

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=u7k9255io.fsf@cisco.com \
    --to=anti-spam-pranav@cisco.com \
    /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).