Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Gnus 5.10.6: attempts to use w3m even when there isn't any
Date: Mon, 24 May 2004 07:36:49 +0900	[thread overview]
Message-ID: <b9yn03ydb3y.fsf@jpl.org> (raw)
In-Reply-To: <m3ekpalr72.fsf@quimbies.gnus.org>

>>>>> In <m3ekpalr72.fsf@quimbies.gnus.org>
>>>>>	Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Miles Bader <miles@gnu.org> writes:

>> w3m-command is nil
>>
>> [Especially silly considering most people probably don't have w3m installed]

> [...]

>>      require(w3m)
>>      mm-setup-w3m()
>>      mm-inline-text-html-render-with-w3m((#<buffer  *mm*<3>> ("text/html" (charset . "us-ascii")) 7bit nil nil nil nil nil))

> This should only happen if `mm-inline-text-html-renderer' or
> `mm-text-html-renderer' are set to
> `mm-inline-text-html-render-with-w3m', which shouldn't happen unless
> one has set those to that.  I think.  :-)

It is hard to imagine there's emacs-w3m installed without w3m.
But that's okay.  Does the following patch help?

--- mm-decode.el~	2004-05-20 06:13:13 +0000
+++ mm-decode.el	2004-05-23 22:34:46 +0000
@@ -99,7 +99,7 @@
 
 (defcustom mm-text-html-renderer
   (cond ((locate-library "w3") 'w3)
-	((locate-library "w3m") 'w3m)
+	((and (locate-library "w3m") (executable-find "w3m") 'w3m))
 	((executable-find "w3m") 'w3m-standalone)
 	((executable-find "links") 'links)
 	((executable-find "lynx") 'lynx)
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



  reply	other threads:[~2004-05-23 22:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-23 22:15 Miles Bader
2004-05-23 22:22 ` Lars Magne Ingebrigtsen
2004-05-23 22:36   ` Katsumi Yamaoka [this message]
2004-05-23 22:56     ` Miles Bader
2004-05-23 23:18       ` Katsumi Yamaoka
2004-05-24  0:31         ` TSUCHIYA Masatoshi
2004-05-24  0:42           ` Katsumi Yamaoka

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=b9yn03ydb3y.fsf@jpl.org \
    --to=yamaoka@jpl.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).