Gnus development mailing list
 help / color / mirror / Atom feed
From: Lloyd Zusman <ljz@asfast.com>
Subject: Unable to change mailcap entry.
Date: 23 Apr 2000 21:33:40 -0400	[thread overview]
Message-ID: <ltzoqkqo3v.fsf@asfast.com> (raw)

I'm using the latest (or near-latest) CVS gnus.

For the first time in a couple weeks or so, I tried to view a MIME
image (image/jpeg) that was sent to me ... but now, gnus is trying to
use `ee' as the viewer.  I don't have `ee' and have always used
`display' or `xv' for image viewing in the past.

I'd like to handle this from within `.gnus.el', and so I put the
following into that file:

  (require 'mailcap)

  (mailcap-add-mailcap-entry "image" "jpeg"
			     '((viewer . "xv %s")
			       (type . "image/jpeg")))

... but this has no effect.

The only `mailcap' file on my system is `/etc/mailcap' and it contains
the following entry:

  image/*; /usr/local/bin/display %s

There is no reference to `ee' anywhere on my system except within the
`mailcap.el' gnus source file (it's within an entry in the
`mailcap-mime-data' assoc).

What can I put into `.gnus.el' to force gnus to override `ee' as the
image viewer?

Thanks in advance.

-- 
 Lloyd Zusman
 ljz@asfast.com



             reply	other threads:[~2000-04-24  1:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-24  1:33 Lloyd Zusman [this message]
2000-04-24  5:37 ` Logic error found in mailcap.el (was: Unable to change mailcap entry.) Lloyd Zusman
2000-04-24  6:27   ` Shenghuo ZHU
2000-04-24 14:36     ` Lars Magne Ingebrigtsen
2000-04-24 19:47       ` Shenghuo ZHU
2000-04-24 20:04         ` Lloyd Zusman

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=ltzoqkqo3v.fsf@asfast.com \
    --to=ljz@asfast.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).