Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: Re: mailcap - caching "nil" failed test
Date: Tue, 31 Jan 2006 10:12:17 +0900	[thread overview]
Message-ID: <b4mk6chtd3i.fsf@jpl.org> (raw)
In-Reply-To: <87mzhhjp1e.fsf@zip.com.au>

>>>>> In <87mzhhjp1e.fsf@zip.com.au> Kevin Ryde wrote:

> If there's a mailcap-mime-data entry with no 'test clause, then I
> think mailcap-viewer-test-cache is getting an entry "(nil t)" which
> means that "nil" for failure comes back as "t" for success.

> I struck this with a silly mozilla entry in the debian /etc/mailcap,
> "text/html; false; x-mozilla-flags=internal" when viewing some html.
> It then makes failed tests like my pdf on a dumb tty example end up
> getting run.

> 2006-01-28  Kevin Ryde  <user42@zip.com.au>

> 	* mailcap.el (mailcap-viewer-passes-test): Don't put "(nil t)" into
> 	mailcap-viewer-test-cache when there's no 'test clause, since that
> 	will invert the meaning of a "nil" test previously determined by
> 	mailcap-mailcap-entry-passes-test.

> In the diff below I didn't reindent the second half of the func, so as
> to best show the actual bits changed.

I've applied your patch to the trunk and the v5-10 branch.
Thank you.



  reply	other threads:[~2006-01-31  1:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-27 22:15 Kevin Ryde
2006-01-31  1:12 ` Katsumi Yamaoka [this message]
2006-02-03 14:54   ` Zlatko Calusic
2006-02-03 21:09     ` Kevin Ryde

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=b4mk6chtd3i.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /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).