Gnus development mailing list
 help / color / mirror / Atom feed
From: Fabrice Popineau <Fabrice.Popineau@supelec.fr>
Cc: reader@newsguy.com, ding@gnus.org
Subject: Re: Image view on winxp
Date: Wed, 01 Feb 2006 14:41:18 +0100	[thread overview]
Message-ID: <r76n5h8h.fsf@esemetz.metz.supelec.fr> (raw)
In-Reply-To: <x7wth8zs29.fsf@davestoy.homelinux.org> (Dave Goldberg's message of "Mon, 09 Jan 2006 22:21:18 -0500")

* Dave Goldberg <david.goldberg6@verizon.net> writes:

    > Anyway, assuming you can fire up viewers via the cygwin shell, the
    > easy solution is to start damn near all attachments with the
    > cygstart command, which will detect the file type (probably using
    > the extension) and start the right program for it.

Reading this a long time after. So Cygwin provides 'cygstart' ... in
what is it different from the 'start' command available from the command
line under Windows ? In fact, from the command line, you can even
specify :

c:\>foo.jpg

and your default viewer is lauched automagically.

For my self, using gnus under windows for eons, I have hacked this variable for a long time :

(setq mailcap-mime-data
      `(("application"
 	 ("vnd.ms-excel"
 	  (viewer . "\"%s\"")
 	  (type . "application/vnd.ms-excel"))
 	 ("msword"
 	  (viewer . "\"%s\"")
 	  (type . "application/msword"))
 	 ("pdf"
 	  (viewer . "\"%s\"")
 	  (type . "application/pdf"))
 	 ("zip"
 	  (viewer . "\"%s\"")
 	  (type   . "application/zip"))
 	 ;; Prefer free viewers.
 	 ("pdf"
 	  (viewer . "\"%s\"")
 	  (type . "application/pdf"))
          ...
)))

Best,

-- 
Fabrice Popineau
------------------------
e-mail:       Fabrice.Popineau@supelec.fr  |  The difference between theory 
voice-mail:   +33 (0) 387764715            |  and practice, is that
surface-mail: Supelec, 2 rue E. Belin,     |  theoretically,
	      F-57070 Metz 	           |  there is no difference !




  reply	other threads:[~2006-02-01 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-10  1:56 reader
2006-01-10  3:21 ` Dave Goldberg
2006-02-01 13:41   ` Fabrice Popineau [this message]
2006-02-02  3:28     ` Dave Goldberg

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=r76n5h8h.fsf@esemetz.metz.supelec.fr \
    --to=fabrice.popineau@supelec.fr \
    --cc=ding@gnus.org \
    --cc=reader@newsguy.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).