Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ofv@wanadoo.es (Óscar Fuentes)
Cc: ding@gnus.org
Subject: Re: Searching for program: no such file or directory, w3m
Date: Mon, 12 May 2008 21:29:26 +0200	[thread overview]
Message-ID: <v9mymvwcbt.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <tzh3zgvm.fsf@telefonica.net> (=?iso-8859-1?Q?=22=D3scar?= Fuentes"'s message of "Mon, 12 May 2008 17:22:53 +0200")

On Mon, May 12 2008, Óscar Fuentes wrote:

> While displaying some e-mail messages, gnus shows
>
> Searching for program: no such file or directory, w3m
>
> and this on the *Messages* buffer:
>
> mm-inline-text-html-render-with-w3m-standalone: Searching for program:
> no such file or directory, w3m
>
> I'm using Gnus 5.13 on Emacs GNU Emacs 23.0.60.1 (i386-mingw-nt5.0.2195)
> of 2008-03-21
>
> I have no references to w3m on .emacs or .gnus.el.
>
> This only happens after some time of using Emacs. If I start a new Emacs
> session, Gnus shows the message correctly.

I don't have an idea why it happens only sometimes, unless your Emacs
can find the w3m binary when loading mm-decode, but not later when
displaying the article.

On 2008-03-02, I've changed `mm-text-html-renderer' to prefer w3m if
available:

	* mm-decode.el (mm-text-html-renderer): Prefer w3m over w3.  Fall back
	to nil, instead of html2text.

This was synced to Emacs on 2008-03-10, so your Emacs also contains
it:

(defcustom mm-text-html-renderer
  (cond ((executable-find "w3m")
	 (if (locate-library "w3m")
	     'w3m
	   'w3m-standalone))
	((executable-find "links") 'links)
	((executable-find "lynx") 'lynx)
	((locate-library "w3") 'w3)
	((locate-library "html2text") 'html2text)
	(t nil))
[...]

Maybe showing us the backtrace might help.  Set `debug-on-error' to t
(M-x toggle-debug-on-error RET), repeat the error and post the
backtrace.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



  reply	other threads:[~2008-05-12 19:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-12 15:22 Óscar Fuentes
2008-05-12 19:29 ` Reiner Steib [this message]
2008-05-12 20:15   ` Óscar Fuentes

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=v9mymvwcbt.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=ofv@wanadoo.es \
    /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).